* deterministic OE builds - multiple providers @ 2007-04-11 8:32 Leon Woestenberg 2007-04-11 8:39 ` Richard Purdie 0 siblings, 1 reply; 4+ messages in thread From: Leon Woestenberg @ 2007-04-11 8:32 UTC (permalink / raw) To: openembedded-devel Hello, in trying to build my OE snapshot with a small extra bitbake collection to keep mildly customized .bb files across different Linux hosts. In tracking down a host dependency I found that in cases where multiple providers are present, the behaviour is undeterministic, i.e. a provider is picked more or less randomly. Can someone confirm this? If this is the case, can we make it obiligatory to demand that in this case one single provider must be explicitly and unambiguously defined, and otherwise fail the build? Regards, -- Leon ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: deterministic OE builds - multiple providers 2007-04-11 8:32 deterministic OE builds - multiple providers Leon Woestenberg @ 2007-04-11 8:39 ` Richard Purdie 2007-04-11 9:00 ` Leon Woestenberg 0 siblings, 1 reply; 4+ messages in thread From: Richard Purdie @ 2007-04-11 8:39 UTC (permalink / raw) To: openembedded-devel On Wed, 2007-04-11 at 10:32 +0200, Leon Woestenberg wrote: > in trying to build my OE snapshot with a small extra bitbake > collection to keep mildly customized .bb files across different Linux > hosts. > > In tracking down a host dependency I found that in cases where > multiple providers are present, the behaviour is undeterministic, i.e. > a provider is picked more or less randomly. > > Can someone confirm this? > > If this is the case, can we make it obiligatory to demand that in this > case one single provider must be explicitly and unambiguously defined, > and otherwise fail the build? Which bitbake version is this with? Later versions should have more deterministic handling that older versions. Regards, Richard ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: deterministic OE builds - multiple providers 2007-04-11 8:39 ` Richard Purdie @ 2007-04-11 9:00 ` Leon Woestenberg 2007-04-11 9:33 ` Leon Woestenberg 0 siblings, 1 reply; 4+ messages in thread From: Leon Woestenberg @ 2007-04-11 9:00 UTC (permalink / raw) To: openembedded-devel Richard, On 4/11/07, Richard Purdie <rpurdie@rpsys.net> wrote: > On Wed, 2007-04-11 at 10:32 +0200, Leon Woestenberg wrote: > > ... > > In tracking down a host dependency I found that in cases where > > multiple providers are present, the behaviour is undeterministic, i.e. > > a provider is picked more or less randomly. > > ... > > Which bitbake version is this with? Later versions should have more > deterministic handling that older versions. > URL: svn://svn.berlios.de/bitbake/branches/bitbake-1.8 Revision: 812 I tried multiple, also 1.6, same issues remain. Some issues: My private bitbake collection has customized copies of upstream .bb. Although my private bitbake collection has a higher priority, I noticed bitbake "randomly" selecting either the upstream or local collection for packages which have multiple providers left. In one case (ixp4xx-kernel) if I run "bitbake ixp4xx-kernel -c patch", then "bitbake ixp4xx-kernel" it selects my private .bb for the first bitbake, and then selects the upstream .bb for the second bitbake build. One machine notes about multiple providers for kernel-image-, whereas the other does not. They run the exact same copies of the upstream sources, local collection and the bitbake tool. Regards, -- Leon ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: deterministic OE builds - multiple providers 2007-04-11 9:00 ` Leon Woestenberg @ 2007-04-11 9:33 ` Leon Woestenberg 0 siblings, 0 replies; 4+ messages in thread From: Leon Woestenberg @ 2007-04-11 9:33 UTC (permalink / raw) To: openembedded-devel To illustrate the undeterministic points, this is what happens on one machine: leon@axonnl-092 ~/sandbox/ixp4xx/openembedded $ bitbake -vvv ixp4xx-kernel -c patch | grep Running NOTE: Running task 1 of 3 (ID: 2, /home/leon/sandbox/openembedded/tv.axon.openembedded/packages/linux/ixp4xx-kernel_2.6.19.bb, do_fetch) NOTE: Running task 1 of 3 (ID: 2, /home/leon/sandbox/openembedded/tv.axon.openembedded/packages/linux/ixp4xx-kernel_2.6.19.bb, do_fetch) NOTE: Running task 2 of 3 (ID: 0, /home/leon/sandbox/openembedded/tv.axon.openembedded/packages/linux/ixp4xx-kernel_2.6.19.bb, do_unpack) NOTE: Running task 1 of 3 (ID: 2, /home/leon/sandbox/openembedded/tv.axon.openembedded/packages/linux/ixp4xx-kernel_2.6.19.bb, do_fetch) NOTE: Running task 2 of 3 (ID: 0, /home/leon/sandbox/openembedded/tv.axon.openembedded/packages/linux/ixp4xx-kernel_2.6.19.bb, do_unpack) NOTE: Running task 3 of 3 (ID: 1, /home/leon/sandbox/openembedded/tv.axon.openembedded/packages/linux/ixp4xx-kernel_2.6.19.bb, do_patch) NOTE: Running task 1 of 3 (ID: 2, /home/leon/sandbox/openembedded/tv.axon.openembedded/packages/linux/ixp4xx-kernel_2.6.19.bb, do_fetch) NOTE: Running task 2 of 3 (ID: 0, /home/leon/sandbox/openembedded/tv.axon.openembedded/packages/linux/ixp4xx-kernel_2.6.19.bb, do_unpack) NOTE: Running task 3 of 3 (ID: 1, /home/leon/sandbox/openembedded/tv.axon.openembedded/packages/linux/ixp4xx-kernel_2.6.19.bb, do_patch) leon@axonnl-092 ~/sandbox/ixp4xx/openembedded $ bitbake -vvv ixp4xx-kernel | grep Running cp: cannot stat `/home/leon/sandbox/openembedded/org.openembedded.dev/packages/linux/linux/defconfig': No such file or directory NOTE: Running task 218 of 234 (ID: 96, /home/leon/sandbox/openembedded/org.openembedded.dev/packages/linux/linux_2.6.19.bb, do_unpack) NOTE: Running task 218 of 234 (ID: 96, /home/leon/sandbox/openembedded/org.openembedded.dev/packages/linux/linux_2.6.19.bb, do_unpack) ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-11 9:33 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-04-11 8:32 deterministic OE builds - multiple providers Leon Woestenberg 2007-04-11 8:39 ` Richard Purdie 2007-04-11 9:00 ` Leon Woestenberg 2007-04-11 9:33 ` Leon Woestenberg
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.