tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

very strange build failure in external/gpl3/gcc/lib/libstdc++-v3/include/bits



I had a parallel build fail as follows yesterday.

This same source tree has been built in the same way on the same machine
multiple times without these errors ever appearing.  An rsync'ed copy of
the source tree has been successfully built on another machine multiple
times without these errors ever appearing.

Given /usr/src/external/gpl3/gcc/lib/libstdc++-v3/include/bits/Makefile
(which is where I think the 'mv' commands that failed are from) I don't
see how these errors could have been possible in any way.

Even more mysterious the target files for the 'mv' commands do exist in
the object directory as if the 'mv's had succeeded.  They appear to be
approximately two seconds older than the log file the excerpt below is
taken from.

The build started with a clean objdir and destdir.

Source is on NFS and objects are on a local disk.  Source is somewhat
near current, with no differences in anything related to these errors.

It appears that restarting the build will have it continue on as if
nothing had failed.

Can anyone help explain what happened here?

$ pwd
/build/woods/xentastic/current-amd64-amd64-obj/usr/src/external/gpl3/gcc/lib/libstdc++-v3/include/bits
$ ll -T
total 152
 8 drwxr-xr-x  4 woods  wheel    512 Oct  6 12:43:09 2021 arch
 8 -rw-r--r--  1 woods  wheel   3575 Mar  7 16:29:03 2021 basic_file.h
 8 -rw-r--r--  1 woods  wheel   1979 Mar  7 16:29:01 2021 c++allocator.h
 8 -rw-r--r--  1 woods  wheel   1608 Mar  7 16:29:03 2021 c++io.h
 8 -rw-r--r--  1 woods  wheel   2768 Mar  7 16:29:03 2021 c++locale.h
48 -rw-r--r--  1 woods  wheel  24422 Oct  6 12:51:52 2021 gthr-posix.h
16 -rw-r--r--  1 woods  wheel   6808 Oct  6 12:51:52 2021 gthr-single.h
16 -rw-r--r--  1 woods  wheel   5608 Oct  6 12:51:52 2021 gthr.h
 8 -rw-r--r--  1 woods  wheel   3069 Mar  7 16:29:04 2021 messages_members.h
16 -rw-r--r--  1 woods  wheel   6194 Mar  7 16:29:02 2021 opt_random.h
 8 -rw-r--r--  1 woods  wheel   3067 Mar  7 16:29:04 2021 time_members.h
$ ll -T /build/woods/xentastic/current-amd64.log
6976 -rw-r--r--  1 woods  wheel  3538603 Oct  6 12:51:54 2021 /build/woods/xentastic/current-amd64.log

Here's the tail of the log file starting one line before the first error:

    install  /build/woods/xentastic/current-amd64-destdir/usr/include/g++/bits/messages_members.h
mv: rename gthr-single.h.tmp to gthr-single.h: No such file or directory
mv: rename gthr-posix.h.tmp to gthr-posix.h: No such file or directory
--- gthr-single.h ---
*** [gthr-single.h] Error code 1
nbmake[7]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3/include/bits
--- gthr-posix.h ---
*** [gthr-posix.h] Error code 1
nbmake[7]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3/include/bits
mv: rename gthr.h.tmp to gthr.h: No such file or directory
--- gthr.h ---
*** [gthr.h] Error code 1
nbmake[7]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3/include/bits
--- includes-bits ---
nbmake[9]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3/include
--- includes-arch ---
*** [includes-arch] Error code 6
nbmake[7]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3/include/bits
4 errors
nbmake[7]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3/include/bits
--- includes-bits ---
nbmake[6]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3/include
--- includes-libX11 ---
nbmake[7]: stopped in /more/work/woods/m-NetBSD-current/external/mit/xorg/lib
--- includes-lib ---
nbmake[6]: stopped in /more/work/woods/m-NetBSD-current/external/mit/xorg
--- includes-xorg ---
nbmake[5]: stopped in /more/work/woods/m-NetBSD-current/external/mit
--- includes-mit ---
nbmake[4]: stopped in /more/work/woods/m-NetBSD-current/external
--- includes-pb ---
--- includes-pb ---
nbmake[9]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3/include
nbmake[6]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3/include
--- includes-include ---
nbmake[8]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3
--- includes-include ---
nbmake[5]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib/libstdc++-v3
--- includes-libstdc++-v3 ---
--- includes-../external/gpl3/gcc/lib/libstdc++-v3 ---
nbmake[4]: stopped in /more/work/woods/m-NetBSD-current/lib
nbmake[7]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc/lib
--- includes-lib ---
nbmake[6]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3/gcc
--- includes-gcc ---
nbmake[5]: stopped in /more/work/woods/m-NetBSD-current/external/gpl3
--- includes-lib ---
nbmake[3]: stopped in /more/work/woods/m-NetBSD-current
--- includes-gpl3 ---
nbmake[4]: stopped in /more/work/woods/m-NetBSD-current/external
--- includes-external ---
nbmake[3]: stopped in /more/work/woods/m-NetBSD-current
--- build ---
nbmake[2]: stopped in /more/work/woods/m-NetBSD-current
--- distribution ---
nbmake[1]: stopped in /more/work/woods/m-NetBSD-current
--- release ---

nbmake: stopped in /more/work/woods/m-NetBSD-current

ERROR: Failed to make release
*** BUILD ABORTED ***


--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpRvkas3pMT5.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index