Subject: build -current fails
To: None <current-users@netbsd.org>
From: Ja'far Railton <ibn.richard@gmail.com>
List: current-users
Date: 07/05/2007 21:05:40
Hello
I've had no luck building -current currently.
o I have done make distclean in /usr/src/.
o I have started with an empty build directory (/usr/obj/usr)
o I have updated via cvs quite a few times.
o I am not using a mk.conf in /etc.
Here is the error:
CC=/usr/src/../tools/bin/i386--netbsdelf-gcc /usr/src/../tools/bin/nbmkdep -f wpa_ctrl.d -- -nostdinc -isystem /usr/src/../obj/usr/destdir.i386/usr/include -D_FORTIFY_SOURCE=2 /usr/src/usr.sbin/wpa/hostapd_cli/../../../dist/hostapd/wpa_ctrl.c
# create hostapd_cli/.depend
rm -f .depend
CC=/usr/src/../tools/bin/i386--netbsdelf-gcc /usr/src/../tools/bin/nbmkdep -d -f .depend -s .o\ .ln hostapd_cli.d wpa_ctrl.d
rm -f .gdbinit
echo "set solib-absolute-prefix /usr/src/../obj/usr/destdir.i386" > .gdbinit
# compile hostapd_cli/hostapd_cli.o
/usr/src/../tools/bin/i386--netbsdelf-gcc -O2 -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Werror -nostdinc -isystem /usr/src/../obj/usr/destdir.i386/usr/include -D_FORTIFY_SOURCE=2 -c /usr/src/usr.sbin/wpa/hostapd_cli/../../../dist/hostapd/hostapd_cli.c
cc1: warnings being treated as errors
/usr/src/usr.sbin/wpa/hostapd_cli/../../../dist/hostapd/hostapd_cli.c: In function 'hostapd_cli_interactive':
/usr/src/usr.sbin/wpa/hostapd_cli/../../../dist/hostapd/hostapd_cli.c:434: warning: not protecting local variables: variable length buffer
*** Failed target: hostapd_cli.o
*** Failed command: /usr/src/../tools/bin/i386--netbsdelf-gcc -O2 -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Werror -nostdinc -isystem /usr/src/../obj/usr/destdir.i386/usr/include -D_FORTIFY_SOURCE=2 -c /usr/src/usr.sbin/wpa/hostapd_cli/../../../dist/hostapd/hostapd_cli.c
*** Error code 1
Stop.
nbmake: stopped in /usr/src/usr.sbin/wpa/hostapd_cli
*** Failed target: dependall
*** Failed command: cd /usr/src/usr.sbin/wpa/hostapd_cli; /usr/src/../tools/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/usr.sbin/wpa/hostapd_cli
*** Failed target: dependall-hostapd_cli
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="usr.sbin/wpa/"; real="/usr/src/usr.sbin/wpa" ;; *) this="usr.sbin/wpa/${dir}/"; real="/usr/src/usr.sbin/wpa/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget hostapd_cli dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/usr.sbin/wpa
*** Failed target: dependall-wpa
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="usr.sbin/"; real="/usr/src/usr.sbin" ;; *) this="usr.sbin/${dir}/"; real="/usr/src/usr.sbin/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget wpa 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 /*) 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.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 /*) 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 ***
TIA
-jr