Is it specifically make processes that are hanging? Alex
On Thu 8. Dec 2022 at 18.54, Christopher Friedt <chrisfri...@gmail.com> wrote: > On Wed, Dec 7, 2022 at 8:37 AM Bruce Ashfield <bruce.ashfi...@gmail.com> > wrote: > > I don't have anything super helpful to add, but when that git command > > is hung, are you seeing any stalled network connections or processes > > in D state ? > > The hung commands are in the S state (sleeping). > > > It wasn't clear from your first message. Are all native processes hanging > > at do_install ? or is it a subset ? > > The build gets hung on bitbake hosttools-tarball and it seems to be > all of the native targets > > Currently 4 running tasks (1519 of 2078) 73% > 0: nativesdk-kmod-27-r0 do_install - 5s (pid 3450165) > 1: nativesdk-xilinx-qemu-git-r0 do_install - 5s (pid 3450167) > 2: nativesdk-zephyr-qemu-git-r0 do_install - 5s (pid 3450169) > 3: nativesdk-arc-qemu-git-r0 do_install - 5s (pid 3450172) > > If I pass in -vvv -DDD to bitbake I get this output > > + make -j 32 > DESTDIR=/home/cfriedt/build-zephyr-sdk/sdk-ng/poky/build-zephyr-tools/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-kmod/27-r0/image > install > ... > + make -j 32 > DESTDIR=/home/cfriedt/build-zephyr-sdk/sdk-ng/poky/build-zephyr-tools/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-xilinx-qemu/git-r0/image > install > ... > + make -j 32 > DESTDIR=/home/cfriedt/build-zephyr-sdk/sdk-ng/poky/build-zephyr-tools/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-zephyr-qemu/git-r0/image > install > ... > + make -j 32 > DESTDIR=/home/cfriedt/build-zephyr-sdk/sdk-ng/poky/build-zephyr-tools/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-arc-qemu/git-r0/image > install > > The exact commands that are hanging are > kmod: /bin/bash -c git describe 2>/dev/null > nativesdk-xilinx-qemu: /bin/bash -c git describe 2>/dev/null > > In the kmod case, if I go to the build directory and do what the > Makefile does, it's obvious that git will fail since there is no .git > subdirectory. > > $ git describe > fatal: No names found, cannot describe anything. > > If I swap out the Makefile for something utterly trivial like this, it > still hangs > > .PHONY: all install bar > > foo-%: > touch $@ > > bar: foo-$(shell git describe 2>/dev/null) > > all: bar > > install: bar > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58767): https://lists.yoctoproject.org/g/yocto/message/58767 Mute This Topic: https://lists.yoctoproject.org/mt/95499663/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-