Subject: bin/30211: netbsd-3 fails to build at src/crypto/dist/ipsec-tools/src/racoon/isakmp.c
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <ndehne@gmail.com>
List: netbsd-bugs
Date: 05/12/2005 05:53:00
>Number:         30211
>Category:       bin
>Synopsis:       netbsd-3 fails to build at src/crypto/dist/ipsec-tools/src/racoon/isakmp.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 12 05:53:00 +0000 2005
>Originator:     Nino Dehne
>Release:        3.0_BETA
>Organization:
>Environment:
build host:
NetBSD [...] 2.0.2_STABLE NetBSD 2.0.2_STABLE (STRATO) #0: Tue Apr 12 15:38:27 CEST 2005  build@h82010.serverkompetenz.net:/usr/home/build/obj/usr/src/sys/arch/i386/compile/STRATO i386

>Description:
BASE=/usr/home/build/wrap
${BASE}/src/build.sh -D ${BASE}/dest -M ${BASE}/obj distribution

with netbsd-3 sources as of today fails with:

#   compile  racoon/isakmp.o
/usr/home/build/wrap/obj/usr/home/build/wrap/src/tooldir.NetBSD-2.0.2_STABLE-i386/bin/i386--netbsdelf-gcc -pipe   -Werror   -I/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon -I/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/libipsec -I/usr/home/build/wrap/src/lib/libipsec -I. -I/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/missing -DIPSEC_DEBUG -DHAVE_CONFIG_H -DADMINPORTDIR=\"/var/run\" -DSYSCONFDIR=\"/etc/racoon\" -DSADB_X_EALG_AESCBC=SADB_X_EALG_AES -DHAVE_LIBRADIUS -DHAVE_LIBPAM -DHAVE_GSSAPI -DINET6  -nostdinc -isystem /usr/home/build/wrap/dest/usr/include  -c    /usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/isakmp.c
/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/isakmp.c:3104: warning: type mismatch with previous implicit declaration
/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/isakmp.c:3074: warning: previous implicit declaration of `delete_spd'
/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/isakmp.c:3104: warning: `delete_spd' was previously implicitly declared to return `int'
/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/isakmp.c:3339: warning: type mismatch with previous implicit declaration
/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/isakmp.c:3224: warning: previous implicit declaration of `setscopeid'
/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/isakmp.c:3339: warning: `setscopeid' was previously implicitly declared to return `int'

*** Failed target:  isakmp.o
*** Failed command: /usr/home/build/wrap/obj/usr/home/build/wrap/src/tooldir.NetBSD-2.0.2_STABLE-i386/bin/i386--netbsdelf-gcc -pipe -Werror -I/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon -I/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/libipsec -I/usr/home/build/wrap/src/lib/libipsec -I. -I/usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/missing -DIPSEC_DEBUG -DHAVE_CONFIG_H -DADMINPORTDIR=\"/var/run\" -DSYSCONFDIR=\"/etc/racoon\" -DSADB_X_EALG_AESCBC=SADB_X_EALG_AES -DHAVE_LIBRADIUS -DHAVE_LIBPAM -DHAVE_GSSAPI -DINET6 -nostdinc -isystem /usr/home/build/wrap/dest/usr/include -c /usr/home/build/wrap/src/crypto/dist/ipsec-tools/src/racoon/isakmp.c
*** Error code 1

Stop.
nbmake: stopped in /usr/home/build/wrap/src/usr.sbin/racoon

*** Failed target:  dependall
*** Failed command: cd /usr/home/build/wrap/src/usr.sbin/racoon; /usr/home/build/wrap/obj/usr/home/build/wrap/src/tooldir.NetBSD-2.0.2_STABLE-i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/home/build/wrap/src/usr.sbin/racoon

*** Failed target:  dependall-racoon
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="usr.sbin/"; real="/usr/home/build/wrap/src/usr.sbin" ;; *) this="usr.sbin/${dir}/"; real="/usr/home/build/wrap/src/usr.sbin/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/home/build/wrap/obj/usr/home/build/wrap/src/tooldir.NetBSD-2.0.2_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget racoon dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/home/build/wrap/src/usr.sbin

*** Failed target:  dependall-usr.sbin
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/home/build/wrap/src" ;; *) this="${dir}/"; real="/usr/home/build/wrap/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/home/build/wrap/obj/usr/home/build/wrap/src/tooldir.NetBSD-2.0.2_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget usr.sbin dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/home/build/wrap/src

*** Failed target:  do-build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/home/build/wrap/src" ;; *) this="${dir}/"; real="/usr/home/build/wrap/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/home/build/wrap/obj/usr/home/build/wrap/src/tooldir.NetBSD-2.0.2_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** Error code 1

Stop.
nbmake: stopped in /usr/home/build/wrap/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/home/build/wrap/src" ;; *) this="${dir}/"; real="/usr/home/build/wrap/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/home/build/wrap/obj/usr/home/build/wrap/src/tooldir.NetBSD-2.0.2_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-build
*** Error code 1

Stop.
nbmake: stopped in /usr/home/build/wrap/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/home/build/wrap/src" ;; *) this="${dir}/"; real="/usr/home/build/wrap/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/home/build/wrap/obj/usr/home/build/wrap/src/tooldir.NetBSD-2.0.2_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/home/build/wrap/src

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

>How-To-Repeat:
build.sh distribution with netbsd-3 sources
>Fix: