All of lore.kernel.org
 help / color / mirror / Atom feed
* wireguard-module broken in dunfell
@ 2020-09-21  6:33 Marek Belisko
  2020-10-06 17:19 ` veilleux.cedric
  0 siblings, 1 reply; 11+ messages in thread
From: Marek Belisko @ 2020-09-21  6:33 UTC (permalink / raw)
  To: OpenEmbedded Development mailing list

Hi,

I'm facing an issue when added wireguard-tools package to my final image.
wireguard-tools depends on wireguard-module and both seem to be built
fine. I'm hitting an issue during do_rootfs stage when got this error:
Collected errors:
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - package wireguard-tools-1.0.20200319-r0.armv7vet2hf-neon
requires wireguard-module, but none of the providers can be installed
 *
 * Solution 1:
 *   - do not ask to install a package providing wireguard-tools

When checked build directory for wireguard module there exists  files:

-rw-r--r-- 3 marek marek   882 sep 18 11:25
kernel-module-wireguard_1.0.20200401-r0_orange_pi_zero.ipk
-rw-r--r-- 3 marek marek 51472 sep 18 11:25
kernel-module-wireguard-5.4.18_1.0.20200401-r0_orange_pi_zero.ipk
-rw-r--r-- 3 marek marek   898 sep 18 11:25
wireguard-module-dbg_1.0.20200401-r0_orange_pi_zero.ipk
-rw-r--r-- 3 marek marek   978 sep 18 11:25
wireguard-module-dev_1.0.20200401-r0_orange_pi_zero.ipk
and there seems to be conflict that kernel-module-wireguard exists 2
times with different version (5.4.18 is kernel version from
meta-sunxi). Ideas?

Thanks and BR,

marek
-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: wireguard-module broken in dunfell
  2020-09-21  6:33 wireguard-module broken in dunfell Marek Belisko
@ 2020-10-06 17:19 ` veilleux.cedric
  2020-10-06 17:56   ` [oe] " Khem Raj
  2020-10-06 18:20   ` akuster
  0 siblings, 2 replies; 11+ messages in thread
From: veilleux.cedric @ 2020-10-06 17:19 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

I had the same issue and could not figure out what broke the wireguard-module package.

I had to resort to bissecting changes in meta-yocto.

I finally isolated the change that breaks wireguard-module:

87c9d29635 package: get_package_mapping: avoid dependency mapping if renamed package provides original name

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=87c9d296357638082f5a7131a87365285fc813c4

It seems the package renaming that wireguard-module does (PKG_${PN} = "kernel-module-${MODULE_NAME}") no longer works after the above commit.

At this point I do not understand the change regarding renamed package names and dependencies enough to recommend the appropriate fix to wireguard-module. I have been able to workaround the issue by renaming the package kernel-module-wireguard and thus avoiding the rename altogether.

[-- Attachment #2: Type: text/html, Size: 1014 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [oe] wireguard-module broken in dunfell
  2020-10-06 17:19 ` veilleux.cedric
@ 2020-10-06 17:56   ` Khem Raj
  2020-10-06 18:20   ` akuster
  1 sibling, 0 replies; 11+ messages in thread
From: Khem Raj @ 2020-10-06 17:56 UTC (permalink / raw)
  To: veilleux.cedric; +Cc: openembeded-devel

does adding

RPROVIDES_kernel-module-${MODULE_NAME} = "${PN}"

help ?

On Tue, Oct 6, 2020 at 10:19 AM <veilleux.cedric@gmail.com> wrote:
>
> I had the same issue and could not figure out what broke the wireguard-module package.
>
> I had to resort to bissecting changes in meta-yocto.
>
> I finally isolated the change that breaks wireguard-module:
>
> 87c9d29635 package: get_package_mapping: avoid dependency mapping if renamed package provides original name
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=87c9d296357638082f5a7131a87365285fc813c4
>
> It seems the package renaming that wireguard-module does (PKG_${PN} = "kernel-module-${MODULE_NAME}") no longer works after the above commit.
>
> At this point I do not understand the change regarding renamed package names and dependencies enough to recommend the appropriate fix to wireguard-module. I have been able to workaround the issue by renaming the package kernel-module-wireguard and thus avoiding the rename altogether.
> 
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [oe] wireguard-module broken in dunfell
  2020-10-06 17:19 ` veilleux.cedric
  2020-10-06 17:56   ` [oe] " Khem Raj
@ 2020-10-06 18:20   ` akuster
  2020-10-06 18:22     ` Khem Raj
  1 sibling, 1 reply; 11+ messages in thread
From: akuster @ 2020-10-06 18:20 UTC (permalink / raw)
  To: veilleux.cedric, openembedded-devel



On 10/6/20 10:19 AM, veilleux.cedric@gmail.com wrote:
> I had the same issue and could not figure out what broke the
> wireguard-module package.
>
> I had to resort to bissecting changes in meta-yocto.
>
> I finally isolated the change that breaks wireguard-module:
>
> 87c9d29635 package: get_package_mapping: avoid dependency mapping if
> renamed package provides original name
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=87c9d296357638082f5a7131a87365285fc813c4
>
> It seems the package renaming that wireguard-module does (PKG_${PN} =
> "kernel-module-${MODULE_NAME}") no longer works after the above commit.

I have not seen this on any of my dunfell world builds.

Do you mind providing a reproducer e.g local.conf ?

-armin
>
> At this point I do not understand the change regarding renamed package
> names and dependencies enough to recommend the appropriate fix to
> wireguard-module. I have been able to workaround the issue by renaming
> the package kernel-module-wireguard and thus avoiding the rename
> altogether.
>
> 
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [oe] wireguard-module broken in dunfell
  2020-10-06 18:20   ` akuster
@ 2020-10-06 18:22     ` Khem Raj
  2020-10-06 19:04       ` Marek Belisko
  0 siblings, 1 reply; 11+ messages in thread
From: Khem Raj @ 2020-10-06 18:22 UTC (permalink / raw)
  To: akuster; +Cc: veilleux.cedric, openembeded-devel

On Tue, Oct 6, 2020 at 11:20 AM akuster <akuster808@gmail.com> wrote:
>
>
>
> On 10/6/20 10:19 AM, veilleux.cedric@gmail.com wrote:
> > I had the same issue and could not figure out what broke the
> > wireguard-module package.
> >
> > I had to resort to bissecting changes in meta-yocto.
> >
> > I finally isolated the change that breaks wireguard-module:
> >
> > 87c9d29635 package: get_package_mapping: avoid dependency mapping if
> > renamed package provides original name
> >
> > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=87c9d296357638082f5a7131a87365285fc813c4
> >
> > It seems the package renaming that wireguard-module does (PKG_${PN} =
> > "kernel-module-${MODULE_NAME}") no longer works after the above commit.
>
> I have not seen this on any of my dunfell world builds.

it only happens with master.

>
> Do you mind providing a reproducer e.g local.conf ?
>
> -armin
> >
> > At this point I do not understand the change regarding renamed package
> > names and dependencies enough to recommend the appropriate fix to
> > wireguard-module. I have been able to workaround the issue by renaming
> > the package kernel-module-wireguard and thus avoiding the rename
> > altogether.
> >
> >
> >
>
>
> 
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [oe] wireguard-module broken in dunfell
  2020-10-06 18:22     ` Khem Raj
@ 2020-10-06 19:04       ` Marek Belisko
  2020-10-06 19:20         ` Khem Raj
  0 siblings, 1 reply; 11+ messages in thread
From: Marek Belisko @ 2020-10-06 19:04 UTC (permalink / raw)
  To: Khem Raj; +Cc: akuster, veilleux.cedric, openembeded-devel

On Tue, Oct 6, 2020 at 8:25 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Tue, Oct 6, 2020 at 11:20 AM akuster <akuster808@gmail.com> wrote:
> >
> >
> >
> > On 10/6/20 10:19 AM, veilleux.cedric@gmail.com wrote:
> > > I had the same issue and could not figure out what broke the
> > > wireguard-module package.
> > >
> > > I had to resort to bissecting changes in meta-yocto.
> > >
> > > I finally isolated the change that breaks wireguard-module:
> > >
> > > 87c9d29635 package: get_package_mapping: avoid dependency mapping if
> > > renamed package provides original name
> > >
> > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=87c9d296357638082f5a7131a87365285fc813c4
> > >
> > > It seems the package renaming that wireguard-module does (PKG_${PN} =
> > > "kernel-module-${MODULE_NAME}") no longer works after the above commit.
> >
> > I have not seen this on any of my dunfell world builds.
>
> it only happens with master.
hmm nope. I have it on dunfell also.
>
> >
> > Do you mind providing a reproducer e.g local.conf ?
> >
> > -armin
> > >
> > > At this point I do not understand the change regarding renamed package
> > > names and dependencies enough to recommend the appropriate fix to
> > > wireguard-module. I have been able to workaround the issue by renaming
> > > the package kernel-module-wireguard and thus avoiding the rename
> > > altogether.
> > >
> > >
> > >
> >
> >
> >
> >
>
> 
>


-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [oe] wireguard-module broken in dunfell
  2020-10-06 19:04       ` Marek Belisko
@ 2020-10-06 19:20         ` Khem Raj
  2020-10-09 18:19           ` Marek Belisko
  0 siblings, 1 reply; 11+ messages in thread
From: Khem Raj @ 2020-10-06 19:20 UTC (permalink / raw)
  To: Belisko Marek; +Cc: akuster, veilleux.cedric, openembeded-devel

On Tue, Oct 6, 2020 at 12:04 PM Belisko Marek <marek.belisko@gmail.com> wrote:
>
> On Tue, Oct 6, 2020 at 8:25 PM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Tue, Oct 6, 2020 at 11:20 AM akuster <akuster808@gmail.com> wrote:
> > >
> > >
> > >
> > > On 10/6/20 10:19 AM, veilleux.cedric@gmail.com wrote:
> > > > I had the same issue and could not figure out what broke the
> > > > wireguard-module package.
> > > >
> > > > I had to resort to bissecting changes in meta-yocto.
> > > >
> > > > I finally isolated the change that breaks wireguard-module:
> > > >
> > > > 87c9d29635 package: get_package_mapping: avoid dependency mapping if
> > > > renamed package provides original name
> > > >
> > > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=87c9d296357638082f5a7131a87365285fc813c4
> > > >
> > > > It seems the package renaming that wireguard-module does (PKG_${PN} =
> > > > "kernel-module-${MODULE_NAME}") no longer works after the above commit.
> > >
> > > I have not seen this on any of my dunfell world builds.
> >
> > it only happens with master.
> hmm nope. I have it on dunfell also.

Oh right, it got backported it dunfell recently hmm

> >
> > >
> > > Do you mind providing a reproducer e.g local.conf ?
> > >
> > > -armin
> > > >
> > > > At this point I do not understand the change regarding renamed package
> > > > names and dependencies enough to recommend the appropriate fix to
> > > > wireguard-module. I have been able to workaround the issue by renaming
> > > > the package kernel-module-wireguard and thus avoiding the rename
> > > > altogether.
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> > 
> >
>
>
> --
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
>
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [oe] wireguard-module broken in dunfell
  2020-10-06 19:20         ` Khem Raj
@ 2020-10-09 18:19           ` Marek Belisko
  2020-10-09 19:14             ` Steve Sakoman
  0 siblings, 1 reply; 11+ messages in thread
From: Marek Belisko @ 2020-10-09 18:19 UTC (permalink / raw)
  To: Khem Raj; +Cc: akuster, veilleux.cedric, openembeded-devel

On Tue, Oct 6, 2020 at 9:21 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Tue, Oct 6, 2020 at 12:04 PM Belisko Marek <marek.belisko@gmail.com> wrote:
> >
> > On Tue, Oct 6, 2020 at 8:25 PM Khem Raj <raj.khem@gmail.com> wrote:
> > >
> > > On Tue, Oct 6, 2020 at 11:20 AM akuster <akuster808@gmail.com> wrote:
> > > >
> > > >
> > > >
> > > > On 10/6/20 10:19 AM, veilleux.cedric@gmail.com wrote:
> > > > > I had the same issue and could not figure out what broke the
> > > > > wireguard-module package.
> > > > >
> > > > > I had to resort to bissecting changes in meta-yocto.
> > > > >
> > > > > I finally isolated the change that breaks wireguard-module:
> > > > >
> > > > > 87c9d29635 package: get_package_mapping: avoid dependency mapping if
> > > > > renamed package provides original name
> > > > >
> > > > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=87c9d296357638082f5a7131a87365285fc813c4
> > > > >
> > > > > It seems the package renaming that wireguard-module does (PKG_${PN} =
> > > > > "kernel-module-${MODULE_NAME}") no longer works after the above commit.
> > > >
> > > > I have not seen this on any of my dunfell world builds.
> > >
> > > it only happens with master.
> > hmm nope. I have it on dunfell also.
>
> Oh right, it got backported it dunfell recently hmm
Can we please revert backport so we have working wireguard again? Thanks.
>
> > >
> > > >
> > > > Do you mind providing a reproducer e.g local.conf ?
> > > >
> > > > -armin
> > > > >
> > > > > At this point I do not understand the change regarding renamed package
> > > > > names and dependencies enough to recommend the appropriate fix to
> > > > > wireguard-module. I have been able to workaround the issue by renaming
> > > > > the package kernel-module-wireguard and thus avoiding the rename
> > > > > altogether.
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > > 
> > >
> >
> >
> > --
> > as simple and primitive as possible
> > -------------------------------------------------
> > Marek Belisko - OPEN-NANDRA
> > Freelance Developer
> >
> > Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> > Tel: +421 915 052 184
> > skype: marekwhite
> > twitter: #opennandra
> > web: http://open-nandra.com



-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [oe] wireguard-module broken in dunfell
  2020-10-09 18:19           ` Marek Belisko
@ 2020-10-09 19:14             ` Steve Sakoman
  2020-10-09 19:40               ` veilleux.cedric
  2020-10-13  6:06               ` c.finck
  0 siblings, 2 replies; 11+ messages in thread
From: Steve Sakoman @ 2020-10-09 19:14 UTC (permalink / raw)
  To: Marek Belisko; +Cc: Khem Raj, akuster, veilleux.cedric, openembeded-devel

On Fri, Oct 9, 2020 at 8:22 AM Marek Belisko <marek.belisko@gmail.com> wrote:
>
> On Tue, Oct 6, 2020 at 9:21 PM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Tue, Oct 6, 2020 at 12:04 PM Belisko Marek <marek.belisko@gmail.com> wrote:
> > >
> > > On Tue, Oct 6, 2020 at 8:25 PM Khem Raj <raj.khem@gmail.com> wrote:
> > > >
> > > > On Tue, Oct 6, 2020 at 11:20 AM akuster <akuster808@gmail.com> wrote:
> > > > >
> > > > >
> > > > >
> > > > > On 10/6/20 10:19 AM, veilleux.cedric@gmail.com wrote:
> > > > > > I had the same issue and could not figure out what broke the
> > > > > > wireguard-module package.
> > > > > >
> > > > > > I had to resort to bissecting changes in meta-yocto.
> > > > > >
> > > > > > I finally isolated the change that breaks wireguard-module:
> > > > > >
> > > > > > 87c9d29635 package: get_package_mapping: avoid dependency mapping if
> > > > > > renamed package provides original name
> > > > > >
> > > > > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=87c9d296357638082f5a7131a87365285fc813c4
> > > > > >
> > > > > > It seems the package renaming that wireguard-module does (PKG_${PN} =
> > > > > > "kernel-module-${MODULE_NAME}") no longer works after the above commit.
> > > > >
> > > > > I have not seen this on any of my dunfell world builds.
> > > >
> > > > it only happens with master.
> > > hmm nope. I have it on dunfell also.
> >
> > Oh right, it got backported it dunfell recently hmm
> Can we please revert backport so we have working wireguard again? Thanks.

I'll revert this in oe-core dunfell.

To be sure I see requests like this in the future it would be best to
copy the oe-core list and/or myself.

Thanks for reporting the issue!

Steve



> > > > > Do you mind providing a reproducer e.g local.conf ?
> > > > >
> > > > > -armin
> > > > > >
> > > > > > At this point I do not understand the change regarding renamed package
> > > > > > names and dependencies enough to recommend the appropriate fix to
> > > > > > wireguard-module. I have been able to workaround the issue by renaming
> > > > > > the package kernel-module-wireguard and thus avoiding the rename
> > > > > > altogether.
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > as simple and primitive as possible
> > > -------------------------------------------------
> > > Marek Belisko - OPEN-NANDRA
> > > Freelance Developer
> > >
> > > Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> > > Tel: +421 915 052 184
> > > skype: marekwhite
> > > twitter: #opennandra
> > > web: http://open-nandra.com
>
>
>
> --
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
>
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com
>
> 
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [oe] wireguard-module broken in dunfell
  2020-10-09 19:14             ` Steve Sakoman
@ 2020-10-09 19:40               ` veilleux.cedric
  2020-10-13  6:06               ` c.finck
  1 sibling, 0 replies; 11+ messages in thread
From: veilleux.cedric @ 2020-10-09 19:40 UTC (permalink / raw)
  To: Steve Sakoman; +Cc: Marek Belisko, Khem Raj, akuster, openembeded-devel

> > > Oh right, it got backported it dunfell recently hmm
> > Can we please revert backport so we have working wireguard again? Thanks.
>
> I'll revert this in oe-core dunfell.
>
> To be sure I see requests like this in the future it would be best to
> copy the oe-core list and/or myself.

My understanding is that the change that causes the problem is in poky
/ package.bbclass

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=87c9d296357638082f5a7131a87365285fc813c4

If I revert this commit wireguard builds fine.

I don't understand why though.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: wireguard-module broken in dunfell
  2020-10-09 19:14             ` Steve Sakoman
  2020-10-09 19:40               ` veilleux.cedric
@ 2020-10-13  6:06               ` c.finck
  1 sibling, 0 replies; 11+ messages in thread
From: c.finck @ 2020-10-13  6:06 UTC (permalink / raw)
  To: openembedded-devel

Hi Steve,

On Fri, Oct  9, 2020 at 09:14 PM, Steve Sakoman wrote:
> I'll revert this in oe-core dunfell.

I'm also affected by this problem and it's currently blocking the entire upgrade to Dunfell for us.
I've already reported it on the meta-openembedded bug tracker: https://github.com/openembedded/meta-openembedded/issues/285

Please revert as soon as possible :)

Thank you,

Colin

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-10-13  6:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21  6:33 wireguard-module broken in dunfell Marek Belisko
2020-10-06 17:19 ` veilleux.cedric
2020-10-06 17:56   ` [oe] " Khem Raj
2020-10-06 18:20   ` akuster
2020-10-06 18:22     ` Khem Raj
2020-10-06 19:04       ` Marek Belisko
2020-10-06 19:20         ` Khem Raj
2020-10-09 18:19           ` Marek Belisko
2020-10-09 19:14             ` Steve Sakoman
2020-10-09 19:40               ` veilleux.cedric
2020-10-13  6:06               ` c.finck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.