[Bug 233735] Possible build race: genoffset.o /usr/src/sys/sys/types.h: error: machine/endian.h: No such file or directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 2 21:31:38 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233735

            Bug ID: 233735
           Summary: Possible build race: genoffset.o
                    /usr/src/sys/sys/types.h: error: machine/endian.h: No
                    such file or directory
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: lwhsu at FreeBSD.org

Failed runs:

https://ci.freebsd.org/job/FreeBSD-head-powerpc-build/8632/console
https://ci.freebsd.org/job/FreeBSD-stable-12-powerpc64-build/190/console
https://ci.freebsd.org/job/FreeBSD-head-riscv64-build/11547/console
https://ci.freebsd.org/job/FreeBSD-stable-12-aarch64-build/109/console
https://ci.freebsd.org/job/FreeBSD-head-armv6-build/2069/console
https://ci.freebsd.org/job/FreeBSD-head-armv7-build/1668/console

>From console output, it looks that machine/ is read before or very closed of
the time it is created:

00:07:35.870 --- genoffset.o ---
00:07:35.870 cc --sysroot=/usr/obj/usr/src/powerpc.powerpc/tmp
-B/usr/obj/usr/src/powerpc.powerpc/tmp/usr/bin -c -O -pipe -g -nostdinc -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -msoft-float -fPIC
-fno-omit-frame-pointer -MD -MF.depend.genoffset.o -MTgenoffset.o -mno-altivec
-msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-uninitialized -fms-extensions -finline-limit=15000 --param
inline-unit-growth=100 --param large-function-growth=1000 -fms-extensions
-Wa,-many -std=iso9899:1999 /usr/src/sys/kern/genoffset.c
00:07:35.870 In file included from /usr/src/sys/sys/param.h:97,
00:07:35.870                  from /usr/src/sys/kern/genoffset.c:35:
00:07:35.871 /usr/src/sys/sys/types.h:46:28: error: machine/endian.h: No such
file or directory
00:07:35.871 In file included from /usr/src/sys/sys/types.h:47,
00:07:35.871                  from /usr/src/sys/sys/param.h:97,
00:07:35.871                  from /usr/src/sys/kern/genoffset.c:35:
00:07:35.871 /usr/src/sys/sys/_types.h:35:28: error: machine/_types.h: No such
file or directory
00:07:35.871 In file included from /usr/src/sys/sys/types.h:47,
00:07:35.871                  from /usr/src/sys/sys/param.h:97,
00:07:35.871                  from /usr/src/sys/kern/genoffset.c:35:

...

00:07:35.871 --- machine ---
00:07:35.871 machine -> /usr/src/sys/powerpc/include

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list