Bug 14004 - cross-localedef-native build race failure
Summary: cross-localedef-native build race failure
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.2 M3
Assignee: akuster
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2020-08-12 02:47 UTC by Richard Purdie
Modified: 2020-08-20 08:02 UTC (History)
7 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-08-12 02:47:39 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1151

debian9-ty-2

 gcc  -isystem/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/include -isystem/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/include -O2 -pipe -fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0' -DNO_SYSCONF -DNO_UNCOMPRESS -DLOCALE_PATH='"/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/lib/locale:/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/share/i18n"' -DLOCALEDIR='"/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/lib/locale"' -DCOMPLOCALEDIR='"/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/share/locale"' -DCHARMAP_PATH='"/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/share/i18n/charmaps"' -DREPERTOIREMAP_PATH='"/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/share/i18n/repertoiremaps"' -DLOCSRCDIR='"/home/pokybuild/yocto-worker/oe-selftest/build/build-st-57136/reproducibleB/tmp/work/x86_64-linux/cross-localedef-native/2.32-r0/recipe-sysroot-native/usr/share/i18n/locales"' -DNOT_IN_libc -DIN_GLIBC_LOCALEDEF -Iglibc/locale/programs -I../git/localedef/include -Iglibc/locale -I../git/localedef -I. -include ../git/localedef/include/always.h -Wall -Wno-format -c -o localedef.o glibc/locale/programs/localedef.c
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/locfile.h:27,
|                  from glibc/locale/programs/ld-paper.c:31:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/ld-monetary.c:33:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/ld-collate.c:31:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/locfile.h:27,
|                  from glibc/locale/programs/ld-address.c:32:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| compilation terminated.
| compilation terminated.
| compilation terminated.
| In file included from ../git/localedef/include/argp.h:1:0,
|                  from glibc/locale/programs/localedef.c:22:
| ./glibc/argp/argp.h:557:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/locfile.h:27,
|                  from glibc/locale/programs/ld-identification.c:32:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.c:33:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/locfile.h:27,
|                  from glibc/locale/programs/ld-name.c:31:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/locfile.h:27,
|                  from glibc/locale/programs/ld-measurement.c:31:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/charmap.c:32:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/locfile.h:27,
|                  from glibc/locale/programs/ld-telephone.c:31:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| compilation terminated.
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/ld-messages.c:32:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/ld-numeric.c:30:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/ld-time.c:33:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| compilation terminated.
| In file included from ../git/localedef/include/error.h:1:0,
|                  from glibc/locale/programs/linereader.h:27,
|                  from glibc/locale/programs/ld-ctype.c:39:
| ./glibc/misc/error.h:50:25: fatal error: bits/floatn.h: No such file or directory
|  #include <bits/floatn.h>
|                          ^
| compilation terminated.
| Makefile:72: recipe for target 'ld-collate.o' failed
| make: *** [ld-collate.o] Error 1
| make: *** Waiting for unfinished jobs....
| Makefile:72: recipe for target 'ld-identification.o' failed
| make: *** [ld-identification.o] Error 1
| Makefile:72: recipe for target 'ld-messages.o' failed
| make: *** [ld-messages.o] Error 1
| Makefile:72: recipe for target 'ld-monetary.o' failed
| make: *** [ld-monetary.o] Error 1
| Makefile:72: recipe for target 'ld-name.o' failed
| make: *** [ld-name.o] Error 1
| Makefile:72: recipe for target 'ld-paper.o' failed
| make: *** [ld-paper.o] Error 1
| Makefile:72: recipe for target 'ld-time.o' failed
| make: *** [ld-time.o] Error 1
| Makefile:72: recipe for target 'linereader.o' failed
| make: *** [linereader.o] Error 1
| Makefile:72: recipe for target 'ld-address.o' failed
| make: *** [ld-address.o] Error 1
| Makefile:72: recipe for target 'ld-ctype.o' failed
| make: *** [ld-ctype.o] Error 1
| Makefile:72: recipe for target 'ld-numeric.o' failed
| make: *** [ld-numeric.o] Error 1
| Makefile:72: recipe for target 'localedef.o' failed
| make: *** [localedef.o] Error 1
| Makefile:72: recipe for target 'ld-measurement.o' failed
| make: *** [ld-measurement.o] Error 1
| Makefile:72: recipe for target 'charmap.o' failed
| make: *** [charmap.o] Error 1
| Makefile:72: recipe for target 'ld-telephone.o' failed
| make: *** [ld-telephone.o] Error 1
| WARNING: exit code 1 from a shell command.
| 
NOTE: recipe cross-localedef-native-2.32-r0: task do_compile: Failed
ERROR: Task (/home/pokybuild/yocto-worker/oe-selftest/build/meta/recipes-core/glibc/cross-localedef-native_2.32.bb:do_compile) failed with exit code '1'
Comment 1 akuster 2020-08-13 07:15:50 UTC
I saw this when trying to reproduce the mips testimage issue in another bug.
Comment 2 Denys Dmytriyenko 2020-08-16 13:45:08 UTC
100% reproducible for me on Ubuntu 16.04.7 LTS with upgraded host gcc 8.4 from ppa:ubuntu-toolchain-r - own distro, poky or nodistro, uninative doesn't help
Comment 3 Phlip Balister 2020-08-16 14:30:58 UTC
I'm seeing this on a F26 box (yeah I know). Fixed with:

touch ./tmp-glibc/work/x86_64-linux/cross-localedef-native/2.32-r0/git/localedef/include/bits/floatn.h


Per Khem. Yeah I know this isn't likely a real fix.
Comment 4 Richard Purdie 2020-08-17 01:01:32 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1240 debina9-ty-2