Subject: build.sh distribution fails on linux compat
To: None <current-users@netbsd.org>
From: Marcin Michal Jessa <m.jessa@gmail.com>
List: current-users
Date: 04/30/2007 21:33:04
# compile linux/linux_misc_notalpha.o
/usr/tools/bin/i386--netbsdelf-gcc -O2 -ffreestanding
-fno-strict-aliasing -Wno-pointer-sign -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional -Werror -I/usr/src/common/include -DNWSDISPLAY=1
-DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_LINUX -nostdinc -DKTRACE
-DNSEQUENCER=1 -DINET6 -nostdinc -I. -I/usr/src/sys/lkm/compat/linux
-isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem
/usr/src/sys/../common/include -D_KERNEL -D_LKM -c
/usr/src/sys/compat/linux/common/linux_misc_notalpha.c
cc1: warnings being treated as errors
/usr/src/sys/compat/linux/common/linux_misc_notalpha.c: In function
'linux_sys_statfs64':
/usr/src/sys/compat/linux/common/linux_misc_notalpha.c:478: warning:
implicit declaration of function 'do_sys_pstatvfs'
/usr/src/sys/compat/linux/common/linux_misc_notalpha.c: In function
'linux_sys_fstatfs64':
/usr/src/sys/compat/linux/common/linux_misc_notalpha.c:506: warning:
implicit declaration of function 'do_sys_fstatvfs'
*** Failed target: linux_misc_notalpha.o
*** Failed command: /usr/tools/bin/i386--netbsdelf-gcc -O2
-ffreestanding -fno-strict-aliasing -Wno-pointer-sign -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Werror -I/usr/src/common/include
-DNWSDISPLAY=1 -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_LINUX -nostdinc
-DKTRACE -DNSEQUENCER=1 -DINET6 -nostdinc -I.
-I/usr/src/sys/lkm/compat/linux -isystem /usr/src/sys -isystem
/usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL
-D_LKM -c /usr/src/sys/compat/linux/common/linux_misc_notalpha.c
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/lkm/compat/linux
*** Failed target: dependall
*** Failed command: cd /usr/src/sys/lkm/compat/linux;
/usr/tools/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/lkm/compat/linux
*** Failed target: dependall-linux
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="sys/lkm/compat/"; real="/usr/src/sys/lkm/compat" ;; *)
this="sys/lkm/compat/${dir}/"; real="/usr/src/sys/lkm/compat/${dir}"
;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" && /usr/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget linux dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/lkm/compat
*** Failed target: dependall-compat
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; 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/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget compat 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="${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/tools/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="${dir}/"; real="${dir}" ;; .)
this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}"
;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" && /usr/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/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/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/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 ***