Subject: build failure: /usr/src/bin/ps
To: NetBSD/current <current-users@netbsd.org>
From: Avram Cristian <cavram@gmail.com>
List: current-users
Date: 11/02/2006 14:42:47
Hi, im getting this error on today's sources:


 ./build.sh -T ../tooldir -D ../destdir -R ../releasedir -O ../objdir
-X ../xsrc -U -x -r release


#   compile  ps/print.o
/usr/src/../tooldir/bin/i386--netbsdelf-gcc -O2  -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter
-Wno-format-y2k -Werror    -nostdinc -isystem
/usr/src/../destdir/usr/include  -c    /usr/src/bin/ps/print.c
/usr/src/bin/ps/print.c: In function 'emul':
/usr/src/bin/ps/print.c:466: error: 'struct kinfo_proc2' has no member
named 'p_ename'

*** Failed target:  print.o
*** Failed command: /usr/src/../tooldir/bin/i386--netbsdelf-gcc -O2
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter
-Wno-format-y2k -Werror -nostdinc -isystem
/usr/src/../destdir/usr/include -c /usr/src/bin/ps/print.c
*** Error code 1

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

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

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

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

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

*** Failed target:  dependall-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/../tooldir/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget 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/../tooldir/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/../tooldir/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/../tooldir/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build
NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  release
*** 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/../tooldir/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . distribution
*** Error code 1

Stop.
nbmake: stopped in /usr/src

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

uname -a
NetBSD stilgar.local 4.99.3 NetBSD 4.99.3 (GENERIC.MPACPI) #1: Thu Oct
19 02:02:52 EEST 2006

Am I doing something wrong? Or is just a bad day for cvs-ing the sources :) ?

Thank you!