Subject: NetBSD 3 crossbuild problem
To: None <current-users@netbsd.org>
From: Jens =?iso-8859-15?q?Wei=DFe?= <jens.weisse@bsd-crew.de>
List: current-users
Date: 07/06/2005 14:18:08
Hi,
i tried today a NetBSD-3 crossbuild (i386) on an Linux Box. But it failed=20
with an error related to bzip2.
nbmake: don't know how to
make /btmpl/NetBSD/destdir/usr/share/info:/usr/local/info/bzip2.info.=20
Crossbuildsystem: SuSe 9.0; 32 bit
commands for cvs update and crossbuild:
# bash
# mkdir /btmpl/NetBSD
# mkdir /btmpl/NetBSD/usr
# mkdir /btmpl/NetBSD/usr/obj
# mkdir /btmpl/NetBSD/destdir
# mkdir /btmpl/NetBSD/releasedir
# export X11SRCDIR=3D/btmpl/NetBSD/usr/xsrc
# export RELEASEDIR=3D/btmpl/NetBSD/releasedir
# export DESTDIR=3D/btmpl/NetBSD/destdir
# export MACHINE=3Di386
# cd /btmpl/NetBSD/usr
# export CVSROOT=3D:pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot
# cvs login
# cvs checkout -rnetbsd-3 -PA src
# cvs checkout -rnetbsd-3 -PA xsrc
# cd /btmpl/NetBSD/usr/src/
# ./build.sh -U tools
"tools" build without any problem.
# ./build.sh -U -x release
Error messages:
<------------------ ><8 ------------------->
# install /btmpl/NetBSD/destdir/usr/libdata/lint/llib-lbsdmalloc.ln
STRIP=3D/export/btmpl/btmpl/NetBSD/usr/src/obj/tooldir.Linux-2.4.21-291-ath=
lon-athlon/bin/i386--netbsdelf-strip /export/btmpl/btmpl/NetBSD/usr/src/obj=
/tooldir.Linux-2.4.21-291-athlon-athlon/bin/nbinstall=20
=2DU -M /btmpl/NetBSD/destdir/METALOG -D /btmpl/NetBSD/destdir -h sha1=20
=2DN /export/btmpl/btmpl/NetBSD/usr/src/etc -c -r -o root -g wheel -m 444 =
=20
llib-lbsdmalloc.ln /btmpl/NetBSD/destdir/usr/libdata/lint
install =3D=3D=3D> lib/libbz2
nbmake: don't know how to=20
make /btmpl/NetBSD/destdir/usr/share/info:/usr/local/info/bzip2.info. Stop
nbmake: stopped in /export/btmpl/btmpl/NetBSD/usr/src/lib/libbz2
*** Failed target: install-libbz2
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift;=20
case "${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;;.) this=3D"lib/";=
=20
real=3D"/export/btmpl/btmpl/NetBSD/usr/src/lib" ;; *) this=3D"lib/${dir}/";=
=20
real=3D"/export/btmpl/btmpl/NetBSD/usr/src/lib/${dir}" ;; esac;=20
show=3D${this:-.}; echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; =
cd=20
"${real}"=20
&& /export/btmpl/btmpl/NetBSD/usr/src/obj/tooldir.Linux-2.4.21-291-athlon-a=
thlon/bin/nbmake=20
_THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget libbz2 install
*** Error code 2
Stop.
nbmake: stopped in /export/btmpl/btmpl/NetBSD/usr/src/lib
*** Failed target: do-lib
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift;=20
case "${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;;.) this=3D"";=20
real=3D"/export/btmpl/btmpl/NetBSD/usr/src" ;; *) this=3D"${dir}/";=20
real=3D"/export/btmpl/btmpl/NetBSD/usr/src/${dir}" ;; esac; show=3D${this:-=
=2E};=20
echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "${real}"=20
&& /export/btmpl/btmpl/NetBSD/usr/src/obj/tooldir.Linux-2.4.21-291-athlon-a=
thlon/bin/nbmake=20
_THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget lib install
*** Error code 1
Stop.
nbmake: stopped in /export/btmpl/btmpl/NetBSD/usr/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift;=20
case "${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;;.) this=3D"";=20
real=3D"/export/btmpl/btmpl/NetBSD/usr/src" ;; *) this=3D"${dir}/";=20
real=3D"/export/btmpl/btmpl/NetBSD/usr/src/${dir}" ;; esac; show=3D${this:-=
=2E};=20
echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "${real}"=20
&& /export/btmpl/btmpl/NetBSD/usr/src/obj/tooldir.Linux-2.4.21-291-athlon-a=
thlon/bin/nbmake=20
_THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget . do-lib
*** Error code 1
Stop.
nbmake: stopped in /export/btmpl/btmpl/NetBSD/usr/src
*** Failed target: release
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift;=20
case "${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;;.) this=3D"";=20
real=3D"/export/btmpl/btmpl/NetBSD/usr/src" ;; *) this=3D"${dir}/";=20
real=3D"/export/btmpl/btmpl/NetBSD/usr/src/${dir}" ;; esac; show=3D${this:-=
=2E};=20
echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "${real}"=20
&& /export/btmpl/btmpl/NetBSD/usr/src/obj/tooldir.Linux-2.4.21-291-athlon-a=
thlon/bin/nbmake=20
_THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget . build=20
NOPOSTINSTALL=3D1
*** Error code 1
Stop.
nbmake: stopped in /export/btmpl/btmpl/NetBSD/usr/src
ERROR: Failed to make release
*** BUILD ABORTED ***
<------------------ ><8 ------------------->
Thank you for your help.
Jens Wei=DFe