Subject: Problem with rump - 'sverrno' is used uninitialized in this
To: None <current-users@netbsd.org>
From: Lukasz <pickman@wp.pl>
List: current-users
Date: 11/01/2007 23:11:12
Hello all,
I've encountered following problem with building distribution on
current sources (updated today):
alef: {55} uname -a
NetBSD alef.XXXXX.XXX 4.99.34 NetBSD 4.99.34 (MARTINA-$Revision: 1.839
$) #3: Wed Oct 31 01:10:33 CET 2007
ktulu@alef.XXXXX.XXX:/usr/dest/obj/sys/arch/i386/compile/MARTINA_C
i386
alef: {56} ./build.sh -D /usr/dest/build/ -O /usr/dest/obj
-T /usr/dest/tools/ -u -U -X /usr/xsrc -x distribution
<--------------------------------------------------------->
dependall ===> sys/rump/fs/lib/libtmpfs
dependall ===> sys/rump/fs/lib/libudf
dependall ===> sys/rump/fs/lib/libp2k
#    create  libp2k/p2k.d
CC=/usr/dest/tools/bin/i386--netbsdelf-gcc /usr/dest/tools/bin/nbmkdep
-f p2k.d --      -I/usr/src/sys/rump/librump/rumpkern
-I/usr/src/sys/rump/fs/lib/libukfs
-I/usr/dest/obj/sys/rump/librump/rumpkern
-I/usr/src/sys/rump/fs/lib/libp2k -I. -I/usr/src/sys/rump/fs/lib/libp2k
-I.   -nostdinc
-isystem /usr/dest/build/usr/include  /usr/src/sys/rump/fs/lib/libp2k/p2k.c
#    create  libp2k/.depend rm -f .depend
CC=/usr/dest/tools/bin/i386--netbsdelf-gcc /usr/dest/tools/bin/nbmkdep
-d -f .depend -s .o\ .po\ .so\ .ln p2k.d #   compile
libp2k/p2k.o /usr/dest/tools/bin/i386--netbsdelf-gcc -O0 -g
-march=pentium3 -O2 -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
-Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
-Wno-unused-parameter -std=gnu99  -Werror
-I/usr/src/sys/rump/librump/rumpkern
-I/usr/src/sys/rump/fs/lib/libukfs
-I/usr/dest/obj/sys/rump/librump/rumpkern
-I/usr/src/sys/rump/fs/lib/libp2k -I. -I/usr/src/sys/rump/fs/lib/libp2k
-I.   -nostdinc -isystem /usr/dest/build/usr/include
-c    /usr/src/sys/rump/fs/lib/libp2k/p2k.c -o p2k.o cc1: warnings
being treated as errors /usr/src/sys/rump/fs/lib/libp2k/p2k.c: In
function 'p2k_run_fs': /usr/src/sys/rump/fs/lib/libp2k/p2k.c:181:
warning: 'sverrno' is used uninitialized in this function

*** Failed target:  p2k.o
*** Failed command: /usr/dest/tools/bin/i386--netbsdelf-gcc -O0 -g
-march=pentium3 -O2 -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
-Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
-Wno-unused-parameter -std=gnu99 -Werror
-I/usr/src/sys/rump/librump/rumpkern -I/usr/src/sys/rump/fs/lib/libukfs
-I/usr/dest/obj/sys/rump/librump/rumpkern
-I/usr/src/sys/rump/fs/lib/libp2k -I. -I/usr/src/sys/rump/fs/lib/libp2k
-I. -nostdinc -isystem /usr/dest/build/usr/include
-c /usr/src/sys/rump/fs/lib/libp2k/p2k.c -o p2k.o *** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/rump/fs/lib/libp2k

*** Failed target:  dependall
*** Failed command:
cd /usr/src/sys/rump/fs/lib/libp2k; /usr/dest/tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/rump/fs/lib/libp2k

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

Stop.
nbmake: stopped in /usr/src/sys/rump/fs/lib

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

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

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

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

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

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
<--------------------------------------------------------->

Does anyone could help?
--
Regards
Lukasz