Skip to contentSkip to conversation

Behaviour when bitbaking a specific version with DEFAULT_PREFERENCE = "-1"

DISCUSSION Leon Woestenberg 3 participants 4 messages Mar 30, 2008 – Apr 1, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

when I perform a bitbake package-version.bb, whilst that package has DEFAULT_PREFERENCE -1, weird things happen.

In my case, two versions get built concurrently and the output doesn't make sense.

Can the bitbake guru's think about catching this case (and probably do something more senseful)?

Thanks, regards,

Signature · 1 line
Leon
#1 lore raw
Quoted 2 lines · Leon Woestenberg

when I perform a bitbake package-version.bb, whilst that package has DEFAULT_PREFERENCE -1, weird things happen.

example?

#2 lore raw
Quoted 6 lines · Rolf Leggewie
Quoted 2 lines · Leon Woestenberg

when I perform a bitbake package-version.bb, whilst that package has DEFAULT_PREFERENCE -1, weird things happen.

example?

Sure. (Revision numbers might be off, I do not have access to the build machine right now.)

I had built console-image for MACHINE=efika, with madwifi-ng as an extra package.
madwifi-ng-r2072 gets built, because newers have DEFAULT_PREFERENCE -1 (at least for MACHINE "efika").

Good so far.

I then cleaned madwifi-ng. If I then build a specific newer version (which has DEFAULT_PREFERENCE = -1", bitbake madwifi-ng-r3367, bitbake starts to build both revisions, and concurrently in my case.

I.e both the one I specified, and the one which has DEFAULT_PREFERENCE set to 1.

Not a common case, but it took me a while to see what caused it.

Regards,

Signature · 1 line
Leon
#3 lore raw

you can generate the dependencies (bitbake -vvvv option) and see who is pulling the second one.

-Khem

Quoted 37 lines · Leon Woestenberg
Quoted 6 lines · Rolf Leggewie
Quoted 2 lines · Leon Woestenberg

when I perform a bitbake package-version.bb, whilst that package has DEFAULT_PREFERENCE -1, weird things happen.

example?

Sure. (Revision numbers might be off, I do not have access to the build machine right now.)

I had built console-image for MACHINE=efika, with madwifi-ng as an extra package.
madwifi-ng-r2072 gets built, because newers have DEFAULT_PREFERENCE -1 (at least for MACHINE "efika").

Good so far.

I then cleaned madwifi-ng. If I then build a specific newer version (which has DEFAULT_PREFERENCE = -1", bitbake madwifi-ng-r3367, bitbake starts to build both revisions, and concurrently in my case.

I.e both the one I specified, and the one which has DEFAULT_PREFERENCE set to 1.

Not a common case, but it took me a while to see what caused it.

Regards,
--
Leon

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel