Hey all,
I've done some digging with this myself, but have not found a root
cause, fix, or workaround. Google shows me that a number of other
users have encountered this problem as well with Yocto, but I have not
found a solution with those either.
Native targets are stuck in the do_install phase and can literally
hang for days.
Currently 2 running tasks (2004 of 2078) 96%
...
0: nativesdk-dtc-1.6.0-r0 do_install - 1h17m52s (pid 2572369)
1: nativesdk-kmod-27-r0 do_install - 1h16m2s (pid 2656202)
Does anyone have any debugging suggestions?
$ strace -p 2572369
strace: Process 2572369 attached
pselect6(15, [12 14], [], [], {tv_sec=0, tv_nsec=526887424}, NULL) = 0 (Timeout)
wait4(2572898, 0x7ffd153a439c, WNOHANG, NULL) = 0
pselect6(15, [12 14], [], [], {tv_sec=0, tv_nsec=526887424}, NULL) = 0 (Timeout)
wait4(2572898, 0x7ffd153a439c, WNOHANG, NULL) = 0
pselect6(15, [12 14], [], [], {tv_sec=0, tv_nsec=526887424}, NULL) = 0 (Timeout)
wait4(2572898, 0x7ffd153a439c, WNOHANG, NULL) = 0
...
$ ps -fw 2572368
... /bin/sh ... temp/run.do_install.2572369
I can send a signal to the parent process (e.g. kill -USR1 2572368)
but then the process fails. I can do a clean on the targets, but the
exact same problem repeats itself.
Manually stepping through build phases also does not work, as
do_install simply hangs again when I get there.
It seems to be a pretty serious problem and not an isolated issue.
Complete showstopper, as the Yocto build cannot proceed beyond this
point without manual hacks.
I've encountered this while building the Zephyr SDK [1] on a company
machine (where it actually matters) but am unable to reproduce the
issue inside of a
centos-stream-9 docker container [2] (where it doesn't matter).
I've tried rebooting, completely wiping all of the build directories,
standing on one foot, trying to forget about it, sleeping on it, etc.
Nothing seems to fix the issue.
So yea, the fun continues!
Any ideas?
[1] https://github.com/zephyrproject-rtos/sdk-ng
[2] https://github.com/cfriedt/zephyr-sdk-builder/tree/using-centos-stream-9
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58740): https://lists.yoctoproject.org/g/yocto/message/58740
Mute This Topic: https://lists.yoctoproject.org/mt/95499663/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-