On Fri, 24 Feb 2023 at 11:34, Zoltan Boszormenyi <zbos...@gmail.com> wrote: > Problem is, now the configure stage fails with: > > | ../mesa-23.0.0/meson.build:964: WARNING: add_languages is missing native:, > assuming > languages are wanted for both host and build. > | Compiler for language rust for the build machine not found. > | > | ../mesa-23.0.0/meson.build:964:2: ERROR: Rust compiler rustc -C > linker=x86_64-oe-linux-gcc -C link-arg=-m64 -C link-arg=-march=nehalem -C > link-arg=-mtune=generic -C link-arg=-mfpmath=sse -C link-arg=-msse4.2 -C > link-arg=-fstack-protector-strong -C link-arg=-O2 -C > link-arg=-D_FORTIFY_SOURCE=2 -C > link-arg=-Wformat -C link-arg=-Wformat-security -C > link-arg=-Werror=format-security -C > link-arg=--sysroot=/data2/dtd-yocto-4.0/tmp-sicom-glibc/work/corei7-64-oe-linux/mesa/2_23.0.0-r0/recipe-sysroot > can not compile programs. > | > | error: Error loading target specification: Could not find specification for > target > "x86_64-linux". Run `rustc --print target-list` for a list of built-in targets > > I also tried it with moving the conditionally set rust > between or before the already inherited classes. > > It succeeds when inherit rust is not conditional.
It also succeeds when there is no inherit rust at all, in the current master branch recipe. If inherit rust is conditional, and condition is false, then there is some other change that triggers the failure, and that change should be conditional as well. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#177678): https://lists.openembedded.org/g/openembedded-core/message/177678 Mute This Topic: https://lists.openembedded.org/mt/97202946/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-