Hi Joel,
On 2022-09-11 03:00, Joel Winarske wrote:
I'm putting together a recipe that requires two passes, native, then
target. I'm hitting a python error only in the native pass. I can
cross compile the tool without error, so the problem is isolated to
native. Any ideas?
Recipe is progress:
https://github.com/meta-flutter/meta-flutter/blob/jw/membrane/recipes-devtools/membrane/membrane-example_git.bb
Thanks,
Joel
| error: linking with
`/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/wrapper/target-rust-ccld`
failed: exit status: 1
528
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:529>|
|
529
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:530>|
= note:
"/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/wrapper/target-rust-ccld"
"/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/build/target/debug/build/parking_lot_core-e7575e9f22c0f65d/build_script_build-e7575e9f22c0f65d.build_script_build.c34fd75e-cgu.0.rcgu.o"
"/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/build/target/debug/build/parking_lot_core-e7575e9f22c0f65d/build_script_build-e7575e9f22c0f65d.build_script_build.c34fd75e-cgu.1.rcgu.o"
"/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/build/target/debug/build/parking_lot_core-e7575e9f22c0f65d/build_script_build-e7575e9f22c0f65d.build_script_build.c34fd75e-cgu.10.rcgu.o"
"/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/build/tar...
530
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:531>|
= note: Traceback (most recent call last):
531
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:532>|
File
"/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/wrapper/target-rust-ccld",
line 6, in <module>
532
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:533>|
os.execvp(binary, args)
533
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:534>|
File
"/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/recipe-sysroot-native/usr/lib/python3.10/os.py",
line 574, in execvp
534
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:535>|
_execvpe(file, args)
535
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:536>|
File
"/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/recipe-sysroot-native/usr/lib/python3.10/os.py",
line 616, in _execvpe
536
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:537>|
raise last_exc
537
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:538>|
File
"/__w/meta-flutter/yocto-kirkstone/build/tmp/work/x86_64-linux/membrane-example-native/git.AUTOINC+4e788100fc-r0/recipe-sysroot-native/usr/lib/python3.10/os.py",
line 607, in _execvpe
538
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:539>|
exec_func(fullname, *argrest)
539
<https://github.com/meta-flutter/meta-flutter/runs/8288580694?check_suite_focus=true#step:9:540>|
FileNotFoundError: [Errno 2] No such file or directory
Just looking at the last line and the error it looks similar to what I
hunted for in this thread.
https://lists.openembedded.org/g/openembedded-core/topic/93200332#169698
Could probably be something similar. In that case the build used wrong
interpreter. I hope it can help you somewhere.
/Peter
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#170535):
https://lists.openembedded.org/g/openembedded-core/message/170535
Mute This Topic: https://lists.openembedded.org/mt/93604678/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-