* Re: Multiple .bb files are due to be built which each provide udev
[not found] <CAMBWrQnMQtEs78=OtkSR1mjctfet8ArQ_XE43wDB6-6NKiDShA@mail.gmail.com>
@ 2012-12-21 20:58 ` Stan Hu
2012-12-21 21:11 ` Martin Jansa
0 siblings, 1 reply; 15+ messages in thread
From: Stan Hu @ 2012-12-21 20:58 UTC (permalink / raw)
To: Eric Bénard; +Cc: openembedded-devel
> My automated build system updated to the latest master of
> meta-openembedded, and now I'm getting theis error message:
>
> ERROR: Multiple .bb files are due to be built which each provide udev
> (/var/lib/jenkins/jobs/systemd-image/workspace/setup-scripts/sources/meta-openembedded/meta-oe/recipes-core/udev/
> udev_182.bb/var/lib/jenkins/jobs/systemd-image/workspace/setup-scripts/sources/meta-openembedded/meta-oe/recipes-core/systemd/
> systemd_git.bb).
>
> I think I have recipes that depend upon libudev, so BitBake pulls in both
> these recipes. I'm not quite sure why I didn't get these warnings before I
> updated. What's the best way to resolve this?
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-21 20:58 ` Multiple .bb files are due to be built which each provide udev Stan Hu
@ 2012-12-21 21:11 ` Martin Jansa
2012-12-21 21:18 ` Stan Hu
0 siblings, 1 reply; 15+ messages in thread
From: Martin Jansa @ 2012-12-21 21:11 UTC (permalink / raw)
To: openembedded-devel; +Cc: Eric Bénard
On Fri, Dec 21, 2012 at 9:58 PM, Stan Hu <stanhu@gmail.com> wrote:
>> My automated build system updated to the latest master of
>> meta-openembedded, and now I'm getting theis error message:
I'm sure this isn't latest master.
http://git.openembedded.org/meta-openembedded/commit/?id=f95109e3e04ee167fd0ceb80e62f7cfec81802de
and see bug referenced in
http://git.openembedded.org/meta-openembedded/commit/?id=2b4ec7cd91de4620abe5694d5aac6407bb143835
>> ERROR: Multiple .bb files are due to be built which each provide udev
>> (/var/lib/jenkins/jobs/systemd-image/workspace/setup-scripts/sources/meta-openembedded/meta-oe/recipes-core/udev/
>> udev_182.bb/var/lib/jenkins/jobs/systemd-image/workspace/setup-scripts/sources/meta-openembedded/meta-oe/recipes-core/systemd/
>> systemd_git.bb).
>>
>> I think I have recipes that depend upon libudev, so BitBake pulls in both
>> these recipes. I'm not quite sure why I didn't get these warnings before I
>> updated. What's the best way to resolve this?
>>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-21 21:11 ` Martin Jansa
@ 2012-12-21 21:18 ` Stan Hu
2012-12-22 9:03 ` Eric Bénard
0 siblings, 1 reply; 15+ messages in thread
From: Stan Hu @ 2012-12-21 21:18 UTC (permalink / raw)
To: openembedded-devel; +Cc: Eric Bénard
Thanks. Oops, I meant the denzil branch. It was updated today and has
this bug you reference.
On Fri, Dec 21, 2012 at 1:11 PM, Martin Jansa <martin.jansa@gmail.com>wrote:
> On Fri, Dec 21, 2012 at 9:58 PM, Stan Hu <stanhu@gmail.com> wrote:
> >> My automated build system updated to the latest master of
> >> meta-openembedded, and now I'm getting theis error message:
>
> I'm sure this isn't latest master.
>
> http://git.openembedded.org/meta-openembedded/commit/?id=f95109e3e04ee167fd0ceb80e62f7cfec81802de
>
> and see bug referenced in
>
> http://git.openembedded.org/meta-openembedded/commit/?id=2b4ec7cd91de4620abe5694d5aac6407bb143835
>
> >> ERROR: Multiple .bb files are due to be built which each provide udev
> >>
> (/var/lib/jenkins/jobs/systemd-image/workspace/setup-scripts/sources/meta-openembedded/meta-oe/recipes-core/udev/
> >>
> udev_182.bb/var/lib/jenkins/jobs/systemd-image/workspace/setup-scripts/sources/meta-openembedded/meta-oe/recipes-core/systemd/
> >> systemd_git.bb).
> >>
> >> I think I have recipes that depend upon libudev, so BitBake pulls in
> both
> >> these recipes. I'm not quite sure why I didn't get these warnings
> before I
> >> updated. What's the best way to resolve this?
> >>
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-21 21:18 ` Stan Hu
@ 2012-12-22 9:03 ` Eric Bénard
2012-12-22 10:10 ` Koen Kooi
0 siblings, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2012-12-22 9:03 UTC (permalink / raw)
To: openembedded-devel
Hi Stan,
Le Fri, 21 Dec 2012 13:18:26 -0800,
Stan Hu <stanhu@gmail.com> a écrit :
> Thanks. Oops, I meant the denzil branch. It was updated today and has
> this bug you reference.
>
OK I now also reproduce this (my default images don't have udev so I
didn't saw that when testing denzil-next) in meta-toolchain-qte.
Here setting PREFERRED_PROVIDER_udev = "systemd"
workaround the problem (at least for meta-toolchain-qte but I'm
not using udev nor systemd so I can't really test if a rootfs using udev
still works this way) ?
The problem seems to come from :
6e0ddd4526f3e0005babe9381c17c06c22a9eda3
wheere commit log says "systemd: update to v189" but in reallity it also
adds udev packages in systemd recipe.
At first sight, I think I'll revert this patch as it will break denzil
builds which is not what we should expect from a stable branch.
Eric
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-22 9:03 ` Eric Bénard
@ 2012-12-22 10:10 ` Koen Kooi
2012-12-22 11:05 ` Eric Bénard
0 siblings, 1 reply; 15+ messages in thread
From: Koen Kooi @ 2012-12-22 10:10 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 22-12-12 10:03, Eric Bénard schreef:
> Hi Stan,
>
> Le Fri, 21 Dec 2012 13:18:26 -0800, Stan Hu <stanhu@gmail.com> a écrit :
>
>> Thanks. Oops, I meant the denzil branch. It was updated today and
>> has this bug you reference.
>>
> OK I now also reproduce this (my default images don't have udev so I
> didn't saw that when testing denzil-next) in meta-toolchain-qte.
>
> Here setting PREFERRED_PROVIDER_udev = "systemd" workaround the problem
> (at least for meta-toolchain-qte but I'm not using udev nor systemd so I
> can't really test if a rootfs using udev still works this way) ?
>
> The problem seems to come from :
> 6e0ddd4526f3e0005babe9381c17c06c22a9eda3 wheere commit log says "systemd:
> update to v189" but in reallity it also adds udev packages in systemd
> recipe.
>
> At first sight, I think I'll revert this patch as it will break denzil
> builds which is not what we should expect from a stable branch.
Please don't revert it, I really need those updates in denzil. Setting
PREFERRED_PROVIDER_udev is easy enough
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQ1YcBMkyGM64RGpERArmIAJ9GMjzNj/qB3HQZiT72K3FF8wENggCfZ4Wk
jMcK4E7b7S/TNJrPRK0llQc=
=U+7o
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-22 10:10 ` Koen Kooi
@ 2012-12-22 11:05 ` Eric Bénard
2012-12-23 14:47 ` Eric Bénard
0 siblings, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2012-12-22 11:05 UTC (permalink / raw)
To: openembedded-devel; +Cc: koen
Hi Koen,
Le Sat, 22 Dec 2012 11:10:09 +0100,
Koen Kooi <koen@dominion.thruhere.net> a écrit :
> Please don't revert it, I really need those updates in denzil. Setting
> PREFERRED_PROVIDER_udev is easy enough
>
next time please tell this kind of "detail" in the commit log. IMHO we
shouldn't ask stable branch users to change their build settings like
this as they don't expect their build to break.
In the present case, the patch is not only upgrading systemd : it's
also changing systemd's recipe to build and provide udev.
For example with meta-toolchain-qte even setting
PREFERRED_PROVIDER_udev = "udev" does't fix the build as systemd is
built and udev-182 is superceeded in deploy/ipk by udev-v189 and in the
end meta-toolchain-qte fails as it is looking for udev-182 ... so only
PREFERRED_PROVIDER_udev = "systemd" works but that means user will get
a newer version of udev and not the one that had for months in their
stable release).
Do you have an idea to fix that so that the default stays udev 182 and
users which need 189 can select it (and not the reverse) ?
Thanks,
Eric
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-22 11:05 ` Eric Bénard
@ 2012-12-23 14:47 ` Eric Bénard
2012-12-23 18:10 ` Koen Kooi
0 siblings, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2012-12-23 14:47 UTC (permalink / raw)
To: openembedded-devel; +Cc: koen
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]
Hi Koen,
I need your help concerning denzil if you need to keep systemd 189
there :
with PREFERRED_PROVIDER_udev = "udev"
systemd fails to package here
(extract of systemd-git-r6/temp/log.do_package_write_ipk.20773
attached : there are references to udev-182 in this log !).
reverting 6e0ddd4526f3e0005babe9381c17c06c22a9eda3
fix this problem.
OE Build Configuration:
BB_VERSION = "1.15.2"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "mx35"
DISTRO = "defaultsetup"
DISTRO_VERSION = "oe-core.0"
TUNE_FEATURES = "armv6 vfp arm1136jfs"
TARGET_FPU = "vfp"
meta-oe
toolchain-layer
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs = "denzil:a6f56d7eabe50dc55198aa8b8b349dbbb40757b1"
meta-fsl-arm = "denzil:debea1a3c80227b33a3bbaa21c51435db1b3f5d7"
meta-eukrea =
"denzil-yocto1.2:71ac1e8bfd09e726ed813b62aa5288a21873108a"
meta = "denzil:d35560f33f257bd12a07c7c0be770319086d6ad9"
Do you have any idea on how to fix that ?
Thanks,
Eric
[-- Attachment #2: udev_error.txt --]
[-- Type: text/plain, Size: 1695 bytes --]
Packaged contents of udev-systemd into /scratch/eb/kr/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/work/arm
v6-vfp-oe-linux-gnueabi/udev-182-r0/deploy-ipks/armv6-vfp/udev-systemd_182-r0_armv6-vfp.ipk
ERROR: Error executing a python function in /scratch/eb/kr/setup-scripts/sources/meta-openembedded/meta-oe/recipe
s-core/systemd/systemd_git.bb:
OSError: [Errno 2] No such file or directory: '/scratch/eb/kr/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/
work/armv6-vfp-oe-linux-gnueabi/udev-182-r0/packages-split/systemd-gui'
ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR: File "do_package_ipk", line 173, in <module>
ERROR:
ERROR: File "do_package_ipk", line 44, in do_package_ipk
ERROR:
ERROR: The code that was being executed was:
ERROR: 0169: bb.utils.unlockfile(lf)
ERROR: 0170:
ERROR: 0171:
ERROR: 0172:
ERROR: *** 0173:do_package_ipk(d)
ERROR: 0174:
ERROR: (file: 'do_package_ipk', lineno: 173, function: <module>)
ERROR: 0040: basedir = os.path.join(os.path.dirname(root))
ERROR: 0041: arch = localdata.getVar('PACKAGE_ARCH', True)
ERROR: 0042: pkgoutdir = "%s/%s" % (outdir, arch)
ERROR: 0043: bb.mkdirhier(pkgoutdir)
ERROR: *** 0044: os.chdir(root)
ERROR: 0045: from glob import glob
ERROR: 0046: g = glob('*')
ERROR: 0047: try:
ERROR: 0048: del g[g.index('CONTROL')]
ERROR: (file: 'do_package_ipk', lineno: 44, function: do_package_ipk)
ERROR: Function failed: do_package_ipk
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-23 14:47 ` Eric Bénard
@ 2012-12-23 18:10 ` Koen Kooi
2012-12-23 18:15 ` Eric Bénard
2012-12-23 18:53 ` Eric Bénard
0 siblings, 2 replies; 15+ messages in thread
From: Koen Kooi @ 2012-12-23 18:10 UTC (permalink / raw)
To: Eric Bénard; +Cc: openembedded-devel
Op 23 dec. 2012, om 15:47 heeft Eric Bénard <eric@eukrea.com> het volgende geschreven:
> Hi Koen,
>
> I need your help concerning denzil if you need to keep systemd 189
> there :
>
> with PREFERRED_PROVIDER_udev = "udev"
> systemd fails to package here
If you're going to use systemd then you'll need to use the matching udev version. New systemd with old udev won't work.
regards,
Koen
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-23 18:10 ` Koen Kooi
@ 2012-12-23 18:15 ` Eric Bénard
2012-12-23 18:53 ` Eric Bénard
1 sibling, 0 replies; 15+ messages in thread
From: Eric Bénard @ 2012-12-23 18:15 UTC (permalink / raw)
To: Koen Kooi; +Cc: openembedded-devel
Hi Koen,
Le Sun, 23 Dec 2012 19:10:54 +0100,
Koen Kooi <koen@dominion.thruhere.net> a écrit :
> Op 23 dec. 2012, om 15:47 heeft Eric Bénard <eric@eukrea.com> het volgende geschreven:
> > I need your help concerning denzil if you need to keep systemd 189
> > there :
> >
> > with PREFERRED_PROVIDER_udev = "udev"
> > systemd fails to package here
>
> If you're going to use systemd then you'll need to use the matching udev version. New systemd with old udev won't work.
>
I'm not trying to use systemd but systemd gets built as a dependency
of other packages and fails to build as you can see.
If I understand well, the only solution to fix denzil is to revert
the patch which upgrades systemd else systemd and udev are not in sync
so builds are failing unless we force DEFAULT_PROVIDER_udev to systemd
(as setting it to udev doesn't work).
Eric
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-23 18:10 ` Koen Kooi
2012-12-23 18:15 ` Eric Bénard
@ 2012-12-23 18:53 ` Eric Bénard
2012-12-23 19:36 ` Koen Kooi
1 sibling, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2012-12-23 18:53 UTC (permalink / raw)
To: openembedded-devel; +Cc: koen
Le Sun, 23 Dec 2012 19:10:54 +0100,
Koen Kooi <koen@dominion.thruhere.net> a écrit :
> If you're going to use systemd then you'll need to use the matching udev version. New systemd with old udev won't work.
>
same problem for someone using angstrom + setup-scripts + beaglebone :
https://groups.google.com/forum/?fromgroups#!topic/beagleboard/DC3nJjdJCMo
I'll revert the patch tomorrow (monday)
Eric
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-23 18:53 ` Eric Bénard
@ 2012-12-23 19:36 ` Koen Kooi
2012-12-23 21:21 ` Eric Bénard
0 siblings, 1 reply; 15+ messages in thread
From: Koen Kooi @ 2012-12-23 19:36 UTC (permalink / raw)
To: Eric Bénard; +Cc: openembedded-devel
Op 23 dec. 2012, om 19:53 heeft Eric Bénard <eric@eukrea.com> het volgende geschreven:
> Le Sun, 23 Dec 2012 19:10:54 +0100,
> Koen Kooi <koen@dominion.thruhere.net> a écrit :
>> If you're going to use systemd then you'll need to use the matching udev version. New systemd with old udev won't work.
>>
> same problem for someone using angstrom + setup-scripts + beaglebone :
> https://groups.google.com/forum/?fromgroups#!topic/beagleboard/DC3nJjdJCMo
That's because I haven't pushed the matching meta-angstrom change yet :)
> I'll revert the patch tomorrow (monday)
So how are you going to fix the upgrade paths? Version downgrades are a serious regression as well.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-23 19:36 ` Koen Kooi
@ 2012-12-23 21:21 ` Eric Bénard
2012-12-23 22:16 ` Koen Kooi
0 siblings, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2012-12-23 21:21 UTC (permalink / raw)
To: Koen Kooi; +Cc: openembedded-devel
Le Sun, 23 Dec 2012 20:36:29 +0100,
Koen Kooi <koen@dominion.thruhere.net> a écrit :
> > I'll revert the patch tomorrow (monday)
>
> So how are you going to fix the upgrade paths? Version downgrades are a serious regression as well.
upgrade path is not a problem here as builds are borken if we don't
change a setting in the conf files so I'll revert it so that users
don't need to change anything to their settings (and that won't
even break angstrom as the fix is not yet pushed as you stated in your
answer).
Eric
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-23 21:21 ` Eric Bénard
@ 2012-12-23 22:16 ` Koen Kooi
2012-12-24 8:06 ` Eric Bénard
0 siblings, 1 reply; 15+ messages in thread
From: Koen Kooi @ 2012-12-23 22:16 UTC (permalink / raw)
To: Eric Bénard; +Cc: openembedded-devel
Op 23 dec. 2012, om 22:21 heeft Eric Bénard <eric@eukrea.com> het volgende geschreven:
> Le Sun, 23 Dec 2012 20:36:29 +0100,
> Koen Kooi <koen@dominion.thruhere.net> a écrit :
>>> I'll revert the patch tomorrow (monday)
>>
>> So how are you going to fix the upgrade paths? Version downgrades are a serious regression as well.
>
> upgrade path is not a problem here as builds are borken if we don't
> change a setting in the conf files so I'll revert it so that users
> don't need to change anything to their settings (and that won't
> even break angstrom as the fix is not yet pushed as you stated in your
> answer).
It does break angstrom since the autobuilder does have that change and the updated systemd was pushed into the feeds already after meta-oe gained the commit.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-23 22:16 ` Koen Kooi
@ 2012-12-24 8:06 ` Eric Bénard
2012-12-24 8:39 ` Koen Kooi
0 siblings, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2012-12-24 8:06 UTC (permalink / raw)
To: openembedded-devel; +Cc: koen
Hi Koen,
Le Sun, 23 Dec 2012 23:16:31 +0100,
Koen Kooi <koen@dominion.thruhere.net> a écrit :
> It does break angstrom since the autobuilder does have that change and the updated systemd was pushed into the feeds already after meta-oe gained the commit.
>
strange, I checked there and systemd is not at v189 :
http://www.angstrom-distribution.org/feeds/v2012.05/ipk/eglibc/armv5te/base/
may you please point me to the right feed ?
Thanks
Eric
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Multiple .bb files are due to be built which each provide udev
2012-12-24 8:06 ` Eric Bénard
@ 2012-12-24 8:39 ` Koen Kooi
0 siblings, 0 replies; 15+ messages in thread
From: Koen Kooi @ 2012-12-24 8:39 UTC (permalink / raw)
To: Eric Bénard; +Cc: openembedded-devel
Op 24 dec. 2012, om 09:06 heeft Eric Bénard <eric@eukrea.com> het volgende geschreven:
> Hi Koen,
>
> Le Sun, 23 Dec 2012 23:16:31 +0100,
> Koen Kooi <koen@dominion.thruhere.net> a écrit :
>> It does break angstrom since the autobuilder does have that change and the updated systemd was pushed into the feeds already after meta-oe gained the commit.
>>
> strange, I checked there and systemd is not at v189 :
> http://www.angstrom-distribution.org/feeds/v2012.05/ipk/eglibc/armv5te/base/
> may you please point me to the right feed ?
eu.feeds.angstrom-distribution.org/feeds/v2012.05/ipk/eglibc/armv7a/base/ would be one
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2012-12-24 8:54 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAMBWrQnMQtEs78=OtkSR1mjctfet8ArQ_XE43wDB6-6NKiDShA@mail.gmail.com>
2012-12-21 20:58 ` Multiple .bb files are due to be built which each provide udev Stan Hu
2012-12-21 21:11 ` Martin Jansa
2012-12-21 21:18 ` Stan Hu
2012-12-22 9:03 ` Eric Bénard
2012-12-22 10:10 ` Koen Kooi
2012-12-22 11:05 ` Eric Bénard
2012-12-23 14:47 ` Eric Bénard
2012-12-23 18:10 ` Koen Kooi
2012-12-23 18:15 ` Eric Bénard
2012-12-23 18:53 ` Eric Bénard
2012-12-23 19:36 ` Koen Kooi
2012-12-23 21:21 ` Eric Bénard
2012-12-23 22:16 ` Koen Kooi
2012-12-24 8:06 ` Eric Bénard
2012-12-24 8:39 ` Koen Kooi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox