Current-Users archive

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

Build failure for gdb on amd64



With sources updated just a short time ago...  (following log is after
mailer mangling!  original log attached to avoid mangling)

Note that, as usual for me, this build includes all three of
MKDEBUG{,LIB,KERNEL}

===> build.sh command:    ./build.sh -T /build/netbsd-current/tools/x86_64/amd64 -D /build/netbsd-current/dest/amd64 -O /build/netbsd-current/obj/amd64 -R /build/netbsd-current/release -V RELEASEMACHINEDIR=amd64 -V MKDEBUG=yes -V MKDEBUGKERNEL=yes -V MKDEBUGLIB=yes -V KERNEL_DIR=no -U -N2 -m amd64 -j1 release
===> build.sh started:    Sun Aug  6 22:03:27 UTC 2023
===> NetBSD version:      10.99.7
===> MACHINE:             amd64
===> MACHINE_ARCH:        x86_64
===> Build platform:      NetBSD 10.99.6 amd64
===> HOST_SH:             /bin/sh
===> share/mk MAKECONF:   /etc/mk.conf
===> MAKECONF file:       /etc/mk.conf
===> TOOLDIR path:        /build/netbsd-current/tools/x86_64/amd64
===> DESTDIR path:        /build/netbsd-current/dest/amd64
===> RELEASEDIR path:     /build/netbsd-current/release
===> Updated makewrapper: /build/netbsd-current/tools/x86_64/amd64/bin/nbmake-amd64
distribution ===> .
build ===> .	(with: NOPOSTINSTALL=1)
Build started at: Sun Aug  6 22:03:28 UTC 2023
...
#   compile  gdb/gdb.o
/build/netbsd-current/tools/x86_64/amd64/bin/x86_64--netbsd-c++ -O2 -Werror   -fPIE -fcommon -fcommon -fcommon -g -g1 -g1 -g1   -std=gnu++11 -Wno-error=stack-protector   --sysroot=/build/netbsd-current/dest/amd64 -D_KERNTYPES -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb  -I/libgnulib/arch/x86_64/gnulib  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdbsupport  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb/config  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gnulib/import  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/include/opcode  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/readline  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/libdecnumber  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libbfd/arch/x86_64  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libgdbsupport/arch/x86_64  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libgnulib/arch/x86_64  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libgnulib/arch/x86_64/gnulib/import  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/bfd  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/include   -D_KERNTYPES -D_KERNTYPES  -c    /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb/gdb.c -o gdb.o
In file included from /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb/defs.h:36,
                 from /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb/gdb.c:19:
/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libbfd/arch/x86_64/config.h:331: error: "VERSION" redefined [-Werror]
  331 | #define VERSION "2.39.50"
| In file included from /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdbsupport/common-defs.h:23,
                 from /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb/defs.h:28,
                 from /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb/gdb.c:19:
/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libgdbsupport/arch/x86_64/gdbsupport/config.h:400: note: this is the location of the previous definition
  400 | #define VERSION "1.0"
| cc1plus: all warnings being treated as errors
*** Failed target: gdb.o
*** Failed commands:
	${_MKTARGET_COMPILE}
	=> @echo '#  ' "compile " gdb/gdb.o
	${COMPILE.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${.IMPSRC} ${OBJECT_TARGET}
	=> /build/netbsd-current/tools/x86_64/amd64/bin/x86_64--netbsd-c++ -O2 -Werror   -fPIE -fcommon -fcommon -fcommon -g -g1 -g1 -g1   -std=gnu++11 -Wno-error=stack-protector   --sysroot=/build/netbsd-current/dest/amd64 -D_KERNTYPES -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb  -I/libgnulib/arch/x86_64/gnulib  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdbsupport  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb/config  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gnulib/import  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/include/opcode  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/readline  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/libdecnumber  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libbfd/arch/x86_64  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libgdbsupport/arch/x86_64  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libgnulib/arch/x86_64  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../lib/libgnulib/arch/x86_64/gnulib/import  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/bfd  -I/build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/include   -D_KERNTYPES -D_KERNTYPES  -c    /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb/../../dist/gdb/gdb.c -o gdb.o
	${CTFCONVERT_RUN}
=> *** [gdb.o] Error code 1
nbmake[10]: stopped in /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb
1 error
nbmake[10]: stopped in /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb
nbmake[9]: stopped in /build/netbsd-current/src_ro/external/gpl3/gdb/bin/gdb
nbmake[8]: stopped in /build/netbsd-current/src_ro/external/gpl3/gdb/bin
nbmake[7]: stopped in /build/netbsd-current/src_ro/external/gpl3/gdb
nbmake[6]: stopped in /build/netbsd-current/src_ro/external/gpl3
nbmake[5]: stopped in /build/netbsd-current/src_ro/external
nbmake[4]: stopped in /build/netbsd-current/src_ro
nbmake[3]: stopped in /build/netbsd-current/src_ro
nbmake[2]: stopped in /build/netbsd-current/src_ro

nbmake[1]: stopped in /build/netbsd-current/src_ro

nbmake: stopped in /build/netbsd-current/src_ro

+--------------------+--------------------------+----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
| & Network Engineer |                          | pgoyette99%gmail.com@localhost |
+--------------------+--------------------------+----------------------+

Attachment: X.log
Description: Binary data



Home | Main Index | Thread Index | Old Index