Subject: Failed to build -current - problems with ntp-keygen
To: None <current-users@netbsd.org>
From: Ian Zagorskih <ianzag@mail.ru>
List: current-users
Date: 11/15/2006 13:11:19
# uname -a
NetBSD NBSD1 4.99.3 NetBSD 4.99.3 (NBSD1) #0: Fri Nov 10 15:54:37 NOVT 
2006  toor@NBSD1:/usr/src/sys/arch/i386/compile/NBSD1 i386

/usr/src was completely updated from yesterday's CVS

--- cut ---
#    create  ntp-keygen/.depend
rm -f .depend
CC=/usr/build/tools/bin/i386--netbsdelf-gcc /usr/build/tools/bin/nbmkdep 
-d -f .depend -s .o\ .ln nt
p-keygen.d version.d
rm -f .gdbinit
echo "set solib-absolute-prefix /usr/build/dest" > .gdbinit
#   compile  ntp-keygen/ntp-keygen.o
/usr/build/tools/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wpoint
er-arith -Wno-sign-compare -Wno-traditional  -Werror 
-I/usr/src/usr.sbin/ntp/ntp-keygen/../include
  -I/usr/src/dist/ntp/include -DHAVE_CONFIG_H -DOPENSSL -DWANT_IPV6 
-nostdinc -isystem /usr/build/de
st/usr/include  -c    /usr/src/dist/ntp/util/ntp-keygen.c
cc1: warnings being treated as errors
/usr/src/dist/ntp/util/ntp-keygen.c: In function 'main':
/usr/src/dist/ntp/util/ntp-keygen.c:269: warning: format '%lx' expects 
type 'long unsigned int', but
  argument 3 has type 'int'

*** Failed target:  ntp-keygen.o
*** Failed command: /usr/build/tools/bin/i386--netbsdelf-gcc -O2 -Wall 
-Wstrict-prototypes -Wmissing
-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Werror 
-I/usr/src/usr.sbin/ntp/ntp-k
eygen/../include -I/usr/src/dist/ntp/include -DHAVE_CONFIG_H -DOPENSSL 
-DWANT_IPV6 -nostdinc -isyste
m /usr/build/dest/usr/include -c /usr/src/dist/ntp/util/ntp-keygen.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.sbin/ntp/ntp-keygen

*** Failed target:  dependall
*** Failed command: cd /usr/src/usr.sbin/ntp/ntp-keygen; 
/usr/build/tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.sbin/ntp/ntp-keygen

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

Stop.
nbmake: stopped in /usr/src/usr.sbin/ntp

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

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

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

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make release
--- cut ---

// wbr