Bug 13737 - race in glibc makefile
Summary: race in glibc makefile
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 3.1
Assignee: Nathan Rossi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-01-15 12:52 UTC by Richard Purdie
Modified: 2020-02-19 23:39 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2020-01-15 12:52:54 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/1439

| /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/hosttools/install -c -m 644 /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-glibc-testsuite/2.30-r0/build-i686-pokymllib32-linux/gnu/lib-names-32.h /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-glibc-testsuite/2.30-r0/image/usr/include/gnu/lib-names-32.h
| make -f /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-glibc-testsuite/2.30-r0/build-i686-pokymllib32-linux/elf/librtld.mk -f rtld-Rules
| make[2]: *** No rule to make target '/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-glibc-testsuite/2.30-', needed by '/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-glibc-testsuite/2.30-r0/build-i686-pokymllib32-linux/elf/pldd.o'.  Stop.
| make[2]: *** Waiting for unfinished jobs....
| make[3]: Entering directory '/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-glibc-testsuite/2.30-r0/git/elf'
| make subdir=csu -C ../csu ..=../ objdir=/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-glibc-testsuite/2.30-r0/build-i686-pokymllib32-linux -f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-sysdep.os rtld-check_fds.os rtld-errno.os rtld-divdi3.os'
Comment 1 Nathan Rossi 2020-02-14 06:07:48 UTC
The issue at least from the log appears to be related to the do_install task. This task does not need to be run (and probably does not work correctly anyway) for the glibc-testsuite recipe. I have sent out a patch to oe-core to remove the task, such that the recipe is similar to the binutils-cross-testsuite recipe.

https://patchwork.openembedded.org/patch/170025/

Also I noticed that this recipe is included in world builds, which is unnecessary, additional patch sent to exclude it (since it is a target recipe vs binutils-cross-testsuite being cross).

https://patchwork.openembedded.org/patch/170026/
Comment 2 Richard Purdie 2020-02-14 15:01:40 UTC
Well spotted, thanks Nathan!