On 3/2/22 08:20, Richard Purdie wrote:
On Tue, 2022-03-01 at 16:12 +0800, Chen Qi wrote:
Currently the TRANSLATED_TARGET_ARCH is not changed when trying
to set preferred version for canadian recipes.
e.g.
```
bitbake core-image-minimal -c populate_sdk -e > env
grep ^PREFERRED_VERSION_gcc-cross-canadian env
```
The result is:
"""
PREFERRED_VERSION_gcc-cross-canadian-x86-64="11.%"
"""
We need to explictly change DEFAULTTUNE to ensure TRANSLATED_TARGET_ARCH is
changed when trying to set the preferred version for multilib version of
the canadian recipes.
e.g.
```
bitbake core-image-minimal -c populate_sdk -e > env
grep ^PREFERRED_VERSION_gcc-cross-canadian env
```
The result is:
"""
PREFERRED_VERSION_gcc-cross-canadian-i686="11.%"
PREFERRED_VERSION_gcc-cross-canadian-x86-64="11.%"
"""
Signed-off-by: Chen Qi <[email protected]>
---
meta/classes/multilib_global.bbclass | 3 +++
1 file changed, 3 insertions(+)
This seems to break multilib builds:
https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/4844
Cheers,
Richard
Hi Richard and Ross,
I looked at the above failure. It's not caused by this patch. It's
caused by the one below.
package: do_package should depend on binutils
I could reproduce this problem by cherry-picking this commit to latest
master branch. See detailed console output below.
chenqi@pek-lpg-core3:~/builds/build-poky-rm [2][0] $ bitbake
lib32-core-image-minimal
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100%
|#########################################################################################################################|
Time: 0:00:26
Parsing of 843 .bb files complete (0 cached, 843 parsed). 2357 targets,
116 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/i686-pokymllib32-linux-binutils'. Close
matches:
virtual/lib32-i686-pokymllib32-linux-binutils
virtual/lib32-i686-pokymllib32-linux-rust
virtual/x86_64-poky-linux-binutils
ERROR: Required build target 'lib32-core-image-minimal' has no buildable
providers.
Missing or unbuildable dependency chain was:
['lib32-core-image-minimal', 'lib32-qemuwrapper-cross',
'virtual/i686-pokymllib32-linux-binutils']
Summary: There were 2 ERROR messages, returning a non-zero exit code.
chenqi@pek-lpg-core3:~/builds/build-poky-rm [2][0] $ cd -
/buildarea2/chenqi/poky
chenqi@pek-lpg-core3:~/poky [2][0] $ git log --oneline origin/master..HEAD
45d7a9a750 (HEAD -> master) package: do_package should depend on binutils
Regards,
Qi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162588):
https://lists.openembedded.org/g/openembedded-core/message/162588
Mute This Topic: https://lists.openembedded.org/mt/89471636/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-