Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
HEAD building fails on ubuntu 9.10
hello,
I'm using an ubuntu 9.10 host to build NetBSD-current (which i plan to
install on the os... ehrr...).
Anyway, the build process fails:
i fetched the sources of the src module in /usr, so now i have an
/usr/src directory containing all the netbsd source code. Fine.
After building the tools and a kernel, i've given this command:
./build.sh -O obj/ -U -u -m i386 distribution
And here is part of the error i get:
------------------------------------------------------------
install ===> gnu/lib/libgcc4
install ===> gnu/lib/libgcc4/libgcc
install ===> gnu/lib/libgcc4/libgcc_eh
install ===> gnu/lib/libgcc4/libgcc_s
install ===> gnu/lib/libgcc4/libgcov
do-lib-libc ===> .
dependall ===> lib/libc
# compile libc/swab.ln
CC=/usr/src/obj/tooldir.Linux-2.6.31-20-generic-i686/bin/i486--netbsdelf-gcc
/usr/src/obj/tooldir.Linux-2.6.31-20-generic-i686/bin
/i486--netbsdelf-lint -chapbxzFS -w -X 272 -d
/usr/src/obj/destdir.i386/usr/include -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS
-D_REENTRA
NT -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc
-I/usr/src/sys -I/usr/src/lib/libc/compat/stdlib -I
/usr/src/lib/libc/compat/../stdlib
-I/usr/src/lib/libc/../../common/lib/libc/quad
-I/usr/src/lib/libc/../../common/lib/libc/string
-I/usr/src/lib/libc/../../common/lib/libc/arch/i386/string
-D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/li
bc/dlfcn -I/usr/src/lib/libc/gdtoa -DNO_FENV_H
-I/usr/src/lib/libc/arch/i386/gdtoa -DWITH_RUNE -I/usr/src/lib/libc
-DPOSIX_MISTAKE
-DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT
-D_FORTIFY_SOURCE=2 -i /usr/src/lib/libc/string/swab
.c
/usr/src/lib/libc/string/swab.c(69): warning: bitwise operation on signed value
possibly nonportable [117]
*** Failed target: swab.ln
*** Failed command:
CC=/usr/src/obj/tooldir.Linux-2.6.31-20-generic-i686/bin/i486--netbsdelf-gcc
/usr/src/obj/tooldir.Linux-2.6.31
-20-generic-i686/bin/i486--netbsdelf-lint -chapbxzFS -w -X 272 -d
/usr/src/obj/destdir.i386/usr/include -D_LIBC -DLIBC_SCCS -DSYSL
IBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include
-I/usr/src/lib/libc -I/usr/src/sys -I/usr/src/lib/li
bc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib
-I/usr/src/lib/libc/../../common/lib/libc/quad -I/usr/src/lib/libc/../../com
mon/lib/libc/string -I/usr/src/lib/libc/../../common/lib/libc/arch/i386/string
-D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_s
o -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/gdtoa -DNO_FENV_H
-I/usr/src/lib/libc/arch/i386/gdtoa -DWITH_RUNE -I/usr/src/lib/l
ibc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE
-DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -i /usr/src/lib/
libc/string/swab.c
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/libc
*** Failed target: dependall
*** Failed command: cd "/usr/src/lib/libc";
/usr/src/obj/tooldir.Linux-2.6.31-20-generic-i686/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/libc
*** Failed target: do-lib-libc
*** 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/obj/tooldir.Linux-2.6.31-20-generic-i686/bin/nbmake
_THISDIR_="${this}" "$@" ${target}
; }; _makedirtarget lib/libc dependall
*** 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/obj/tooldir.Linux-2.6.31-20-generic-i686/bin/nbmake
_THISDIR_="${this}" "$@" ${target}
; }; _makedirtarget . do-lib-libc
*** 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/obj/tooldir.Linux-2.6.31-20-generic-i686/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 ***
--------------------------------------------------------
So, now, how to solve this problem and build NetBSD-current ?
Thanks in advance,
--
Elric W.
Home |
Main Index |
Thread Index |
Old Index