NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xsrc/48863: build.sh fails to build.
>Number: 48863
>Category: xsrc
>Synopsis: build.sh fails to build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 01 23:40:01 +0000 2014
>Originator: Sandro Millien
>Release: NetBSD 6.0.1
>Organization:
>Environment:
System: NetBSD phoenix.lloedy.com 6.0.1 NetBSD 6.0.1 (GENERIC) #0: Fri Feb 15
13:59:02 CET 2013
netbsd%phoenix.lloedy.com@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC
amd64
Architecture: x86_64
Machine: amd64
>Description:
Build fails.
=$=> cat /etc/mk.conf
MKDEBUG= yes
MKDEBUGLIB= yes
MKTTINTERP= yes
NOCLEANDIR= yes
=$=> cd /usr/src && cvs update -r netbsd-6-1
=$=> cd /usr/xsrc && cvs update -r netbsd-6-1
=$=> Following is a log of the build process
===> build.sh command: ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc -U
-u -x -j2 tools
===> build.sh started: Mon Jun 2 00:10:35 CEST 2014
===> NetBSD version: 6.1.4_PATCH
===> MACHINE: amd64
===> MACHINE_ARCH: x86_64
===> Build platform: NetBSD 6.0.1 amd64
===> HOST_SH: /bin/sh
===> TOOLDIR path: /usr/tools
===> DESTDIR path: /usr/obj/destdir.amd64
===> RELEASEDIR path: /usr/obj/releasedir
===> Updated makewrapper: /usr/tools/bin/nbmake-amd64
--- obj-tools ---
obj ===> tools
--- obj-host-mkdep ---
obj ===> tools/host-mkdep
[ ... ]
--- /usr/tools/share/groff/site-tmac/mdoc.local ---
===> Tools built to /usr/tools
===> build.sh ended: Mon Jun 2 00:10:55 CEST 2014
===> Summary of results:
build.sh command: ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc
-U -u -x -j2 tools
build.sh started: Mon Jun 2 00:10:35 CEST 2014
NetBSD version: 6.1.4_PATCH
MACHINE: amd64
MACHINE_ARCH: x86_64
Build platform: NetBSD 6.0.1 amd64
HOST_SH: /bin/sh
TOOLDIR path: /usr/tools
DESTDIR path: /usr/obj/destdir.amd64
RELEASEDIR path: /usr/obj/releasedir
Updated makewrapper: /usr/tools/bin/nbmake-amd64
Tools built to /usr/tools
build.sh ended: Mon Jun 2 00:10:55 CEST 2014
===> .
===> build.sh command: ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc -U
-u -x -j2 kernel=GENERIC
===> build.sh started: Mon Jun 2 00:11:04 CEST 2014
===> NetBSD version: 6.1.4_PATCH
===> MACHINE: amd64
===> MACHINE_ARCH: x86_64
===> Build platform: NetBSD 6.0.1 amd64
===> HOST_SH: /bin/sh
===> TOOLDIR path: /usr/tools
===> DESTDIR path: /usr/obj/destdir.amd64
===> RELEASEDIR path: /usr/obj/releasedir
===> Updated makewrapper: /usr/tools/bin/nbmake-amd64
===> Building kernel without building new tools
--- obj ---
===> Building kernel: GENERIC
===> Build directory: /usr/obj/sys/arch/amd64/compile/GENERIC
Build directory is /usr/obj/sys/arch/amd64/compile/GENERIC
Don't forget to run "make depend"
--- __always_make_kernlib ---
--- __always_make_compatlib ---
--- dependkernlib ---
--- dependcompatlib ---
[ ... ]
===> Kernels built from GENERIC:
/usr/obj/sys/arch/amd64/compile/GENERIC/netbsd
===> build.sh ended: Mon Jun 2 00:11:06 CEST 2014
===> Summary of results:
build.sh command: ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc
-U -u -x -j2 kernel=GENERIC
build.sh started: Mon Jun 2 00:11:04 CEST 2014
NetBSD version: 6.1.4_PATCH
MACHINE: amd64
MACHINE_ARCH: x86_64
Build platform: NetBSD 6.0.1 amd64
HOST_SH: /bin/sh
TOOLDIR path: /usr/tools
DESTDIR path: /usr/obj/destdir.amd64
RELEASEDIR path: /usr/obj/releasedir
Updated makewrapper: /usr/tools/bin/nbmake-amd64
Building kernel without building new tools
Building kernel: GENERIC
Build directory: /usr/obj/sys/arch/amd64/compile/GENERIC
Kernels built from GENERIC:
/usr/obj/sys/arch/amd64/compile/GENERIC/netbsd
build.sh ended: Mon Jun 2 00:11:06 CEST 2014
===> .
===> build.sh command: ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc -U
-u -x -j2 distribution
===> build.sh started: Mon Jun 2 00:11:15 CEST 2014
===> NetBSD version: 6.1.4_PATCH
===> MACHINE: amd64
===> MACHINE_ARCH: x86_64
===> Build platform: NetBSD 6.0.1 amd64
===> HOST_SH: /bin/sh
===> TOOLDIR path: /usr/tools
===> DESTDIR path: /usr/obj/destdir.amd64
===> RELEASEDIR path: /usr/obj/releasedir
===> Updated makewrapper: /usr/tools/bin/nbmake-amd64
--- distribution ---
build ===> . (with: NOPOSTINSTALL=1)
--- build ---
Build started at: Mon Jun 2 00:11:15 CEST 2014
check-tools ===> .
do-top-obj ===> .
--- do-top-obj ---
obj ===> . (with: NOSUBDIR=)
--- obj ---
do-tools-obj ===> .
[ ... ]
dependall ===> external/mit/xorg/lib/libxkbfile
--- dependall ---
--- dependall-libXt ---
--- ResConfig.go ---
--- ResConfig.po ---
--- ResConfig.go ---
# compile libXt/ResConfig.go
/usr/tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Werror -fno-strict-aliasing
--sysroot=/usr/obj/destdir.amd64
-I/usr/obj/destdir.amd64/usr/X11R7/include/X11 -DUSE_POLL -DUSE_SNPRINTF
-DLIBXT -I. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO
-I/usr/obj/destdir.amd64/usr/X11R7/include -D__AMD64__ -c -DDEBUG -g
/usr/xsrc/external/mit/libXt/dist/src/ResConfig.c -o ResConfig.go
/usr/xsrc/external/mit/libXt/dist/src/ResConfig.c: In function
'_XtResourceConfigurationEH':
/usr/xsrc/external/mit/libXt/dist/src/ResConfig.c:992:7: error: expected ')'
before 'resource_len'
*** [ResConfig.go] Error code 1
nbmake: stopped in /usr/src/external/mit/xorg/lib/libXt
--- ResConfig.po ---
# compile libXt/ResConfig.po
/usr/tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Werror -fno-strict-aliasing
--sysroot=/usr/obj/destdir.amd64
-I/usr/obj/destdir.amd64/usr/X11R7/include/X11 -DUSE_POLL -DUSE_SNPRINTF
-DLIBXT -I. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO
-I/usr/obj/destdir.amd64/usr/X11R7/include -D__AMD64__ -c -DGPROF -DPROF -pg
/usr/xsrc/external/mit/libXt/dist/src/ResConfig.c -o ResConfig.po
/usr/tools/bin/x86_64--netbsd-objcopy -X ResConfig.po
1 error
nbmake: stopped in /usr/src/external/mit/xorg/lib/libXt
*** [dependall] Error code 2
nbmake: stopped in /usr/src/external/mit/xorg/lib/libXt
1 error
nbmake: stopped in /usr/src/external/mit/xorg/lib/libXt
*** [dependall-libXt] Error code 2
nbmake: stopped in /usr/src/external/mit/xorg/lib
1 error
nbmake: stopped in /usr/src/external/mit/xorg/lib
*** [do-lib] Error code 2
nbmake: stopped in /usr/src/external/mit/xorg
1 error
nbmake: stopped in /usr/src/external/mit/xorg
*** [build] Error code 2
nbmake: stopped in /usr/src/external/mit/xorg
1 error
nbmake: stopped in /usr/src/external/mit/xorg
*** [do-x11] Error code 2
nbmake: stopped in /usr/src
1 error
nbmake: stopped in /usr/src
*** [build] Error code 2
nbmake: stopped in /usr/src
1 error
nbmake: stopped in /usr/src
*** [distribution] Error code 2
nbmake: stopped in /usr/src
nbmake: stopped in /usr/src
>How-To-Repeat:
cat /etc/mk.conf
cd /usr/src
./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc -U -u -x distribution
>Fix:
Index: ResConfig.c
===================================================================
RCS file: /cvsroot/xsrc/external/mit/libXt/dist/src/ResConfig.c,v
retrieving revision 1.1.1.4.6.1
diff -r1.1.1.4.6.1 ResConfig.c
991c991
< fprintf (stderr, "resource_len=%d\n"
---
> fprintf (stderr, "resource_len=%d\n",
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index