Subject: build disribution failing
To: None <current-users@netbsd.org>
From: Ja'far Railton <ibn.richard@gmail.com>
List: current-users
Date: 01/25/2006 03:58:01
Hello

I have had problems building from fresh cvs updated -current sources
using

	./build.sh -T../tools -O../obj -R../rel -X../xsrc -xuU
	distribution sets kernel=GENERIC_LAPTOP
	releasekernel=GENERIC_LAPTOP

on

NetBSD think.makhraj.net 3.99.14 NetBSD 3.99.14 (DEBUG) #1: Sat Dec 17 20:21:02 UTC 2005  jr0@think.netbsd.bsd:/usr/obj/sys/arch/i386/compile/DEBUG i386

It fails with

#   compile  telnet/commands.o
/usr/src/../tools/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional  -Werror   -DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -I/usr/src/usr.bin/telnet -I/usr/src/lib -DIPSEC -DINET6 -I/usr/src/../obj/destdir.i386/usr/include/krb5 -DKRB5 -DFORWARD -DAUTHENTICATION -DENCRYPTION -DKRB4  -nostdinc -isystem /usr/src/../obj/destdir.i386/usr/include  -c    /usr/src/usr.bin/telnet/commands.c
/usr/src/usr.bin/telnet/commands.c: In function `send_tncmd':
/usr/src/usr.bin/telnet/commands.c:456: error: conflicting types for `telopts'
/usr/obj/destdir.i386/usr/include/arpa/telnet.h:150: error: previous declaration of `telopts'

*** Failed target:  commands.o
*** Failed command: /usr/src/../tools/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Werror -DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -I/usr/src/usr.bin/telnet -I/usr/src/lib -DIPSEC -DINET6 -I/usr/src/../obj/destdir.i386/usr/include/krb5 -DKRB5 -DFORWARD -DAUTHENTICATION -DENCRYPTION -DKRB4 -nostdinc -isystem /usr/src/../obj/destdir.i386/usr/include -c /usr/src/usr.bin/telnet/commands.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.bin/telnet

*** Failed target:  dependall
*** Failed command: cd /usr/src/usr.bin/telnet; /usr/src/../tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.bin/telnet

*** Failed target:  dependall-telnet
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="usr.bin/"; real="/usr/src/usr.bin" ;; *) this="usr.bin/${dir}/"; real="/usr/src/usr.bin/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget telnet dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.bin

*** Failed target:  dependall-usr.bin
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget usr.bin dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

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

Stop.
nbmake: stopped in /usr/src

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

Stop.
nbmake: stopped in /usr/src

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

Stop.
nbmake: stopped in /usr/src

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

I have tried with fresh cvs updates three times over the last 24 hours
and have used a fresh obj build directory each time. mk.conf is empty
too.

??

-- 
Ja'far ibn Richard Railton