Subject: Attempt at building corss compiler with build.sh fails at groff
To: None <tech-toolchain@NetBSD.org>
From: Anthony de Almeida Lopes <guerrilla_thought@gmx.de>
List: tech-toolchain
Date: 02/25/2005 23:01:28
I hope that this is the appropriate place to post this. I've checked
google for similar errors and didn't find much. I'm not sure if this is
my fault or a bug.=20
I'm attempting to build a cross-compiler to compile NetBSD/macppc
binaries on a Linux/IA-32 machine. The command I issued was
"./build.sh -m macppc -T /usr/cross -D /usr/crpss tools"
(I just used -D the second time, same results without it)
I'll paste the _some_ of the output at the end of this e-mail.=20
What I noticed though is that it cannot find "gnu.eps" before any of the
other problems occur.=20
% find . | grep gnu.eps
./gnu/dist/groff/doc/gnu.eps
This should be easily reproducible. I'm using Fedora Core 3, all
development tools installed by default (i.e. no from source or forced
rpms)
% uname -a
Linux modulus 2.6.10-1.766_FC3 #1 Wed Feb 9 23:06:42 EST 2005 i686 i686
i386 GNU/Linux
I'm using the tarballs from "ftp://ftp.netbsd.org./pub/NetBSD/NetBSD-
release-2-0/tar_files/src/" retrieved roughly two hours before "Fri Feb
25 22:58:10 PST 2005"
If you need any more information please let me know.=20
<standard input>:35: can't open `gnu.eps': No such file or directory
GROFF_COMMAND_PREFIX=3D''; export GROFF_COMMAND_PREFIX;
GROFF_BIN_PATH=3D`echo /mnt/newold/tmp/tar_files/src/tools/groff/
obj/build/src/roff/groff /mnt/newold/tmp/tar_files/src/tools/groff/obj/bui=
ld/src/roff/troff /mnt/newold/tmp/tar_files /src/tools/groff/obj/build/src=
/preproc/pic /mnt/newold/tmp/tar_files/src/tools/groff/obj/build/src/prepr=
oc/eqn /mnt/n ewold/tmp/tar_files/src/tools/groff/obj/build/src/preproc/tb=
l /mnt/newold/tmp/tar_files/src/tools/groff/obj/build/src/ preproc/grn /m=
nt/newold/tmp/tar_files/src/tools/groff/obj/build/src/preproc/refer /mnt/n=
ewold/tmp/tar_files/src/tools /groff/obj/build/src/preproc/soelim /mnt/new=
old/tmp/tar_files/src/tools/groff/obj/build/src/preproc/html /mnt/newold/ =
tmp/tar_files/src/tools/groff/obj/build/src/devices/grops /mnt/newold/tmp/=
tar_files/src/tools/groff/obj/build/src/devi ces/grohtml | sed -e 's| *|:|=
g'`; export GROFF_BIN_PATH; sed -e "s;@VERSION@;1.19;" /mnt/newold/tmp/ta=
r_files/src/gn u/dist/groff/doc/grnexmpl.me | /mnt/newold/tmp/tar_files/sr=
c/tools/groff/obj/build/src/roff/groff/groff -M/mnt/newold/ tmp/tar_files/s=
rc/tools/groff/obj/build/tmac -M/mnt/newold/tmp/tar_files/src/gnu/dist/grof=
f/tmac -F/mnt/newold/tmp/tar_ files/src/tools/groff/obj/build/font -F/mnt/n=
ewold/tmp/tar_files/src/gnu/dist/groff/font -Upet -ww -Tps -ge -me >grnexm =
pl.ps
*** glibc detected *** double free or corruption (!prev): 0x0819d698 ***
/mnt/newold/tmp/tar_files/src/tools/groff/obj/build/src/roff/groff/groff: g=
rn: Aborted
Line -- Unclosed block, footnote, or other diversion (|k)
*** Failed target: grnexmpl.ps
*** Failed command: GROFF_COMMAND_PREFIX=3D''; export
GROFF_COMMAND_PREFIX; GROFF_BIN_PATH=3D`echo /mnt/newold/tmp/tar_file
s/src/tools/groff/obj/build/src/roff/groff /mnt/newold/tmp/tar_files/src/to=
ols/groff/obj/build/src/roff/troff /mnt/newo ld/tmp/tar_files/src/tools/gro=
ff/obj/build/src/preproc/pic /mnt/newold/tmp/tar_files/src/tools/groff/obj/=
build/src/prep roc/eqn /mnt/newold/tmp/tar_files/src/tools/groff/obj/build/=
src/preproc/tbl /mnt/newold/tmp/tar_files/src/tools/groff/o bj/build/src/pr=
eproc/grn /mnt/newold/tmp/tar_files/src/tools/groff/obj/build/src/preproc/r=
efer /mnt/newold/tmp/tar_file s/src/tools/groff/obj/build/src/preproc/soeli=
m /mnt/newold/tmp/tar_files/src/tools/groff/obj/build/src/preproc/html /mn =
t/newold/tmp/tar_files/src/tools/groff/obj/build/src/devices/grops /mnt/new=
old/tmp/tar_files/src/tools/groff/obj/build/ src/devices/grohtml | sed -e '=
s| *|:|g'`; export GROFF_BIN_PATH; sed -e "s;@VERSION@;1.19;" /mnt/newold/t=
mp/tar_files/s rc/gnu/dist/groff/doc/grnexmpl.me | /mnt/newold/tmp/tar_file=
s/src/tools/groff/obj/build/src/roff/groff/groff -M/mnt/new old/tmp/tar_fil=
es/src/tools/groff/obj/build/tmac -M/mnt/newold/tmp/tar_files/src/gnu/dist/=
groff/tmac -F/mnt/newold/tmp/ tar_files/src/tools/groff/obj/build/font -F/m=
nt/newold/tmp/tar_files/src/gnu/dist/groff/font -Upet -ww -Tps -ge -me >gr =
nexmpl.ps
*** Error code 2
Stop.
nbmake: stopped
in /mnt/newold/tmp/tar_files/src/tools/groff/obj/build/doc
<..... SNIP ....>
Stop.
nbmake: stopped in /mnt/newold/tmp/tar_files/src/tools/groff/obj/build
*** Failed target: .build_done
*** Failed command: (cd build && /usr/cross/bin/nbmake
bindir=3D/usr/cross/lib/groff MAKEINFO=3D/usr/cross/bin/nbmakeinfo I
NSTALL_INFO=3D/usr/cross/bin/nbinstall-info _NOWRAPPER=3D1 BISON=3Dtrue
DESTDIR=3D INSTALL=3D/usr/cross/bin/nbinstall\ -c\ \ -r s rc/include all)
*** Error code 1
Stop.
nbmake: stopped in /mnt/newold/tmp/tar_files/src/tools/groff
*** Failed target: dependall
*** Failed command:
cd /mnt/newold/tmp/tar_files/src/tools/groff; /usr/cross/bin/nbmake
realall
*** Error code 1
Stop.
nbmake: stopped in /mnt/newold/tmp/tar_files/src/tools/groff
*** Failed target: dependall-groff
*** Failed command: targ=3Ddependall;dir=3Dgroff; case "$dir" in /*) echo
"$targ =3D=3D=3D> $dir"; cd "$dir"; /usr/cross/bin/nbma ke "_THISDIR_=3D$di=
r/"
$targ; ;; *) echo "$targ =3D=3D=3D> $dir"; cd
"/mnt/newold/tmp/tar_files/src/tools/$dir"; /usr/cross/bin /nbmake
"_THISDIR_=3D$dir/" $targ; ;; esac
*** Error code 1
Stop.
nbmake: stopped in /mnt/newold/tmp/tar_files/src/tools
ERROR: Failed to make tools
*** BUILD ABORTED ***