Current-Users archive

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

Re: build.sh distribution failed on amd64



On Wed, Sep 30, 2009 at 10:19:47PM +0200, Kurt Schreiner wrote:
> Hi,
> 
> -current as of Sep 30 21:07 MEST fails to compile on amd64 in
> external/lib/../apache2/mDNSResponder/lib
> (mostly "just" warnings, but fails nonetheless)
> 
> Kurt
> 
> dependall ===> external/lib/../apache2/mDNSResponder/lib
>     compile  lib/dnssd_clientstub.ln
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_ipc.h(337):
>  warning: constant in conditional context [161]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_ipc.h(338):
>  warning: constant in conditional context [161]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_ipc.h(338):
>  negative array dimension (-1) [20]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(441):
>  warning: conversion from 'long' to 'int' may lose accuracy [132]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(467):
>  warning: conversion from 'long' to 'int' may lose accuracy [132]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(525):
>  warning: possible pointer alignment problem [135]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(525):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(554):
>  warning: conversion of 'unsigned int' to 'int' is out of range [119]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(664):
>  warning: constant in conditional context [161]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(666):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(666):
>  warning: conversion to 'unsigned int' due to prototype, arg #3 [259]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(756):
>  warning: statement not reached [193]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(756):
>  warning: constant in conditional context [161]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(790):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(790):
>  warning: conversion to 'int' due to prototype, arg #3 [259]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(790):
>  warning: conversion from 'unsigned long' to 'int' may lose accuracy, arg #3 
> [298]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(822):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(822):
>  warning: non-constant initializer [177]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(847):
>  warning: conversion from 'unsigned long' to 'unsigned int' may lose accuracy 
> [132]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(850):
>  warning: conversion from 'unsigned long' to 'unsigned int' may lose accuracy 
> [132]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(853):
>  warning: possible pointer alignment problem [135]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(853):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(891):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(972):
>  warning: conversion to 'int' due to prototype, arg #3 [259]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(998):
>  warning: conversion to 'int' due to prototype, arg #3 [259]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1060):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1060):
>  warning: conversion to 'int' due to prototype, arg #3 [259]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1060):
>  warning: conversion from 'unsigned long' to 'int' may lose accuracy, arg #3 
> [298]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1094):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1098):
>  warning: conversion to 'int' due to prototype, arg #3 [259]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1127):
>  warning: cast discards 'const' from pointer target type [275]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1259):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1259):
>  warning: pointer casts may be troublesome [247]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1428):
>  warning: non-constant initializer [177]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1515):
>  warning: expression has null effect [129]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1824):
>  warning: conversion to 'unsigned int' due to prototype, arg #6 [259]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1844):
>  warning: non-constant initializer [177]
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c(1845):
>  warning: non-constant initializer [177]
> 
> *** Failed target:  dnssd_clientstub.ln
> *** Failed command: CC=/u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc 
> /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-lint -chapbxzFS -d 
> /u/NetBSD/arch/amd64/dest/usr/include -DHAVE_IPV6=1 
> -DPID_FILE=\"/var/run/mdnsd/mdnsd.pid\" 
> -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd/mdnsd\" 
> -I/u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared -i 
> /u/NetBSD/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /u/NetBSD/src/external/apache2/mDNSResponder/lib
> 
> *** Failed target:  dependall
> *** Failed command: cd /u/NetBSD/src/external/apache2/mDNSResponder/lib; 
> /u/NetBSD/arch/amd64/TOOLS/bin/nbmake realall
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /u/NetBSD/src/external/apache2/mDNSResponder/lib
> 
> *** Failed target:  dependall-../apache2/mDNSResponder/lib
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
> case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
> this="external/lib/"; real="/u/NetBSD/src/external/lib" ;; *) 
> this="external/lib/${dir}/"; real="/u/NetBSD/src/external/lib/${dir}" ;; 
> esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
> "${real}" && /u/NetBSD/arch/amd64/TOOLS/bin/nbmake _THISDIR_="${this}" "$@" 
> ${target}; }; _makedirtarget ../apache2/mDNSResponder/lib dependall
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /u/NetBSD/src/external/lib
> 
> *** Failed target:  do-external-lib
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
> case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
> real="/u/NetBSD/src" ;; *) this="${dir}/"; real="/u/NetBSD/src/${dir}" ;; 
> esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
> "${real}" && /u/NetBSD/arch/amd64/TOOLS/bin/nbmake _THISDIR_="${this}" "$@" 
> ${target}; }; _makedirtarget external/lib dependall
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /u/NetBSD/src
> 
> *** Failed target:  build
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
> case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
> real="/u/NetBSD/src" ;; *) this="${dir}/"; real="/u/NetBSD/src/${dir}" ;; 
> esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
> "${real}" && /u/NetBSD/arch/amd64/TOOLS/bin/nbmake _THISDIR_="${this}" "$@" 
> ${target}; }; _makedirtarget . do-external-lib
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /u/NetBSD/src
> 
> *** Failed target:  distribution
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
> case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
> real="/u/NetBSD/src" ;; *) this="${dir}/"; real="/u/NetBSD/src/${dir}" ;; 
> esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
> "${real}" && /u/NetBSD/arch/amd64/TOOLS/bin/nbmake _THISDIR_="${this}" "$@" 
> ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /u/NetBSD/src
> 
> ERROR: Failed to make distribution
> *** BUILD ABORTED ***
> 
> 

Also with USE_SSP=yes and USE_FORT=yes,

#   compile  libatf-c/error.po
/usr/tools/bin/i486--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes
#   -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
/-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual
#   -Wwrite-strings -Wextra -Wno-unused-parameter -Wsign-compare -std=gnu99
/-Werror  -fstack-protector -Wstack-protector --param ssp-buffer-size=1
#   -I/usr/src/external/bsd/atf/lib/libatf-c -I. -DHAVE_CONFIG_H
/-DATF_ARCH=\"i386\" -DATF_CONFDIR=\"/etc/atf\"
#   -DATF_LIBEXECDIR=\"/usr/libexec\" -DATF_MACHINE=\"i386\"
/-DATF_PKGDATADIR=\"/usr/share/atf\" -DATF_SHELL=\"/bin/sh\"
#   -DATF_WORKDIR=\"/tmp\"  -D_FORTIFY_SOURCE=2  -nostdinc -isystem
//usr/obj/destdir.i386/usr/include -c -DGPROF -DPROF    -pg
///usr/src/external/bsd/atf/dist/atf-c/error.c -o error.po
--- dependall-../apache2/mDNSResponder/lib ---
/usr/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c:
In function 'deliver_request':
/usr/src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c:687:
warning: not protecting local variables: variable length buffer
*** [dnssd_clientstub.o] Error code 1
1 error
nbmake: stopped in /usr/src/external/apache2/mDNSResponder/lib
*** [dependall] Error code 2
1 error
nbmake: stopped in /usr/src/external/apache2/mDNSResponder/lib
*** [dependall-../apache2/mDNSResponder/lib] Error code 2
--- dependall-../bsd/atf/lib ---
/usr/tools/bin/i486--netbsdelf-objcopy -X error.po
A failure has been detected in another branch of the parallel make
nbmake: stopped in /usr/src/external/bsd/atf/lib/libatf-c
*** [dependall] Error code 2
1 error
nbmake: stopped in /usr/src/external/bsd/atf/lib/libatf-c
*** [dependall-libatf-c] Error code 2
1 error
nbmake: stopped in /usr/src/external/bsd/atf/lib
*** [dependall-../bsd/atf/lib] Error code 2
--- dependall-../../crypto/external/lib ---
A failure has been detected in another branch of the parallel make
nbmake: stopped in /usr/src/crypto/external/bsd/openssl/lib/libcrypto
*** [dependall-libcrypto] Error code 2
1 error
nbmake: stopped in /usr/src/crypto/external/bsd/openssl/lib
*** [dependall-../bsd/openssl/lib] Error code 2
1 error
nbmake: stopped in /usr/src/crypto/external/lib
*** [dependall-../../crypto/external/lib] Error code 2
3 errors
nbmake: stopped in /usr/src/external/lib
*** [do-external-lib] Error code 2
1 error
nbmake: stopped in /usr/src
*** [build] Error code 2
1 error

nbmake: stopped in /usr/src
*** [distribution] Error code 2
1 error

nbmake: stopped in /usr/src

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


- Jukka.


Home | Main Index | Thread Index | Old Index