Current-Users archive

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

Re: build failure, amd64



On Tue, Apr 12, 2011 at 05:03:38PM +0000, bch%methodlogic.net@localhost wrote:
> 
> I've been having a terrible time getting -current to build in the
> last few days. The failures seem to be migrating around the source
> tree. I usually build w/ "./build.sh -u ...", but have omitted the -u
> occasionally so that "clearndir" is run, but no success. I've also run
> "make clean" from /usr/src, again with no success. I'm posting below as
> a data-point. I'll keep on updating and hope this gets skaken-out.


new datapoint. I did run a "make clean" from toplevel, and rebuild, which 
failed as follows with latest src:


dependall ===> external/bsd/pcc/libexec
dependall ===> external/bsd/pcc/libexec/ccom
#      yacc  ccom/cgram.c
/usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/nbyacc     -d -o cgram.c 
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/cgram.y
/usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/nbyacc: 3 shift/reduce conflicts.
cc -O2 -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -
Wshadow  -Werror   -DGCC_COMPAT -DVERSSTR=PACKAGE_STRING\ \"\ for\ 
netbsd-amd64\" -DLIBEXECDIR=\"/usr/libexec/\" -DINCLUDEDIR=\"/usr/include/\" 
-Dos_netbsd -Dmach_amd64 -I/usr/src/external/bsd/pcc/libexec/ccom/..
/../include -DHOST_LITTLE_ENDIAN -DTARGET_LITTLE_ENDIAN  
--sysroot=/usr/src/obj/destdir.amd64  -DPCC_DEBUG 
-I/usr/src/external/bsd/pcc/libexec/ccom/obj 
-I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip
-I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/os/netbsd 
-I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64 
-I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom  -D_FORTIFY_SOU
RCE=2 -DMKEXT -o /usr/src/external/bsd/pcc/libexec/ccom/obj/mkext 
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/mkext.c 
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64/table.c /usr/sr
c/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/common.c
ld: this linker was not configured to use sysroots

*** Failed target:  external.h
*** Failed command: cc -O2 -fstack-protector -Wstack-protector --param 
ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wre
turn-type -Wswitch -Wshadow -Werror -DGCC_COMPAT -DVERSSTR=PACKAGE_STRING\ \"\ 
for\ netbsd-amd64\" -DLIBEXECDIR=\"/usr/libexec/\" 
-DINCLUDEDIR=\"/usr/include/\" -Dos_netbsd -Dmach_amd64 
-I/usr/src/external/bsd/pc
c/libexec/ccom/../../include -DHOST_LITTLE_ENDIAN -DTARGET_LITTLE_ENDIAN 
--sysroot=/usr/src/obj/destdir.amd64 -DPCC_DEBUG 
-I/usr/src/external/bsd/pcc/libexec/ccom/obj 
-I/usr/src/external/bsd/pcc/libexec/ccom/../.
./dist/pcc/mip 
-I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/os/netbsd 
-I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64 
-I/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom
-D_FORTIFY_SOURCE=2 -DMKEXT -o /usr/src/external/bsd/pcc/libexec/ccom/obj/mkext 
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/mkext.c 
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64/t
able.c /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/common.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/external/bsd/pcc/libexec/ccom

*** Failed target:  dependall-ccom
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
this="external/bsd/pcc/libexec/"; real="/usr/src/external/bsd/pcc/libexec" ;; *
) this="external/bsd/pcc/libexec/${dir}/"; 
real="/usr/src/external/bsd/pcc/libexec/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/usr/src/obj/tooldir.NetBSD-5
.99.49-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget 
ccom dependall
*** Error code 1 

Stop.
nbmake: stopped in /usr/src/external/bsd/pcc/libexec

*** Failed target:  dependall-libexec
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
this="external/bsd/pcc/"; real="/usr/src/external/bsd/pcc" ;; *) this="external
/bsd/pcc/${dir}/"; real="/usr/src/external/bsd/pcc/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" 
&& /usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/nbmake _THISDIR
_="${this}" "$@" ${target}; }; _makedirtarget libexec dependall
*** Error code 1 

Stop.
nbmake: stopped in /usr/src/external/bsd/pcc




> ....build transcript:
> 
> 
> ...
> #   compile  bin/ca.o
> /usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/x86_64--netbsd-gcc -O2 
> -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
> -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow  
> -Werror    --sysroot=/usr/src/obj/destdir.amd64  -DMONOLITH -DUSE_SSL 
> -I/usr/src/crypto/external/bsd/openssl/dist -DOPENSSL_NO_IDEA -DOPENSSL
> _NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSLDIR=\"/etc/openssl\" 
> -DENGINESDIR=\"/usr/lib/openssl\" -DDSO_DLFCN -DHAVE_DLFCN_H  
> -D_FORTIFY_SOURCE=2 -c    /usr/src/crypto/external/bsd/openssl/dist/apps/ca.c
> --- dependall-usr.sbin ---
> In file included from /usr/src/usr.sbin/crash/obj/machine/cpu.h:42,
>                  from /usr/src/usr.sbin/crash/../../sys/sys/cpu.h:34,
>                  from /usr/src/usr.sbin/crash/../../sys/ddb/db_print.c:41:
> /usr/src/usr.sbin/crash/obj/x86/cpu.h:292: error: expected declaration 
> specifiers or '...' before 'bool'
> /usr/src/usr.sbin/crash/obj/x86/cpu.h:406: error: expected declaration 
> specifiers or '...' before 'bool'
> cc1: warnings being treated as errors
> /usr/src/usr.sbin/crash/obj/x86/cpu.h:407: warning: parameter names (without 
> types) in function declaration
> *** [db_print.o] Error code 1
> nbmake: stopped in /usr/src/usr.sbin/crash
> 1 error
> nbmake: stopped in /usr/src/usr.sbin/crash
> *** [dependall] Error code 2
> nbmake: stopped in /usr/src/usr.sbin/crash
> 1 error
> nbmake: stopped in /usr/src/usr.sbin/crash
> *** [dependall-crash] Error code 2
> 
> nbmake: stopped in /usr/src/usr.sbin
> 1 error
> 
> nbmake: stopped in /usr/src/usr.sbin
> *** [dependall-usr.sbin] Error code 2
> 
> nbmake: stopped in /usr/src
> --- dependall-usr.bin ---
> A failure has been detected in another branch of the parallel make
> nbmake: stopped in /usr/src/usr.bin/mklocale
> *** [dependall] Error code 2
> 
> ...
> 
> 
> 
> 
> -- 
> Brad Harder
> Method Logic Digital Consulting
> http://methodlogic.net/
> http://twitter.com/bcharder
> 

-- 
Brad Harder
Method Logic Digital Consulting
http://methodlogic.net/
http://twitter.com/bcharder



Home | Main Index | Thread Index | Old Index