Hi Jose, On Thu, 2022-06-09 at 18:53 +0100, Jose Quaresma wrote: > The same test using the same TMPDIR will be useful as there are some > layers doing that. > AFAIK the archiver and the rm_works don't like it very much.
Note that the same TMPDIR is only supported if you're only changing MACHINE. If you're changing distro config, all bets are off and you shouldn't be sharing TMPDIR. I wish we had warning messages when users did that but we currently don't. It should be possible to add but isn't straightforward. > The OE-core rm_work bbclass doesn't like multiconfig with the same > TMPDIR. > This issue with the rm_works is because the native packages use the > same directory and bitbake > will run the native tasks twice, one for each machine. I need to > exclude them to get a green build: > RM_WORK_EXCLUDE:append = " texinfo-dummy-native gettext-minimal- > native gnu-config" > Another interesting detail is that these recipes that have the source > dir in > the working dir: $S == $WORKDIR If they're building twice, the configuration is differing and they probably shouldn't be sharing TMPDIR. If there is a configuration you think should work I'd be interested in the two configs to see why it builds twice. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#166788): https://lists.openembedded.org/g/openembedded-core/message/166788 Mute This Topic: https://lists.openembedded.org/mt/91641952/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-