Subject: ./build.sh -u -U build fails
To: None <netbsd-users@netbsd.org>
From: Kosta Kilim <kopno@sdf.lonestar.org>
List: netbsd-users
Date: 02/10/2005 16:33:25
Hello,

I'm following these steps:

http://mail-index.netbsd.org/netbsd-users/2005/02/08/0023.html

and when I get to: "/build.sh -u -U build" I get the following 
error:

#   compile  if_ipl/ip_fil_netbsd.o
/usr/src/obj/tooldir.NetBSD-2.0-i386/bin/i386--netbsdelf-gcc -O2 -ffreestanding  -Wall 
-Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror   
-DIPF
ILTER_LOG -I/usr/src/sys/dist/ipf -DUSE_INET6 -DIPFILTER_LKM -nostdinc -I. 
-I/usr/src/sys/lkm/netinet/if_ip
l -isystem /usr/src/sys -isystem /usr/src/sys/arch -D_KERNEL -D_LKM  -c    
/usr/src/sys/dist/ipf/netinet/ip
_fil_netbsd.c

*** Failed target:  ip_fil_netbsd.o
*** Failed command: /usr/src/obj/tooldir.NetBSD-2.0-i386/bin/i386--netbsdelf-gcc -O2 -ffreestanding 
-Wall -
Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional 
-Wno-uninitializ
ed -Werror -DIPFILTER_LOG -I/usr/src/sys/dist/ipf -DUSE_INET6 -DIPFILTER_LKM -nostdinc -I. 
-I/usr/src/sys/l
km/netinet/if_ipl -isystem /usr/src/sys -isystem /usr/src/sys/arch -D_KERNEL -D_LKM -c 
/usr/src/sys/dist/ip
f/netinet/ip_fil_netbsd.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/lkm/netinet/if_ipl

*** Failed target:  dependall
*** Failed command: cd /usr/src/sys/lkm/netinet/if_ipl; 
/usr/src/obj/tooldir.NetBSD-2.0-i386/bin/nbmake rea
lall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/lkm/netinet/if_ipl

*** Failed target:  dependall-if_ipl
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) 
this="${di
r}/"; real="${dir}" ;; .) this="sys/lkm/netinet/"; real="/usr/src/sys/lkm/netinet" ;; *) 
this="sys/lkm/neti
net/${dir}/"; real="/usr/src/sys/lkm/netinet/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> 
${show%
/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-2.0-i386/bin/nbmake 
_THISDIR_="${this}" "
$@" ${target}; }; _makedirtarget if_ipl dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/lkm/netinet

*** Failed target:  dependall-netinet
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) 
this="${di
r}/"; real="${dir}" ;; .) this="sys/lkm/"; real="/usr/src/sys/lkm" ;; *) this="sys/lkm/${dir}/"; 
real="/usr
/src/sys/lkm/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
"${real
}" && /usr/src/obj/tooldir.NetBSD-2.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
_makedirtarget
 netinet dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/lkm

*** Failed target:  dependall-lkm
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) 
this="${di
r}/"; real="${dir}" ;; .) this="sys/"; real="/usr/src/sys" ;; *) this="sys/${dir}/"; 
real="/usr/src/sys/${d
ir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/usr/src/o
bj/tooldir.NetBSD-2.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lkm 
dependall
*** Error code 1

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

*** Failed target:  dependall-sys
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) 
this="${di
r}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; 
esac; sh
ow=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/usr/src/obj/tooldir.NetBS
D-2.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget sys 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="${di
r}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; 
esac; sh
ow=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/usr/src/obj/tooldir.NetBS
D-2.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall 
BUILD_tools=no BUIL
D_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="${di
r}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; 
esac; sh
ow=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/usr/src/obj/tooldir.NetBS
D-2.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-build
*** Error code 1

Stop.
nbmake: stopped in /usr/src


Why ?

Thank you