Subject: games/craft-3.5 won't build
To: None <tech-pkg@netbsd.org>
From: Reinoud Zandijk <zandijk@cs.utwente.nl>
List: port-arm32
Date: 07/23/1999 01:19:13
Hi y'all,
I'm trying to build games/craft-3.5 on a NetBSD/arm32 machine, but it
stops in the compilation. The report it gave me is :
"
Script started on Fri Jul 23 01:17:45 1999
ismaelda# make clean
===> Cleaning for craft-3.5
ismaelda# make
===> Validating dependencies for craft-3.5
>> Checksum OK for craftcc35.tar.Z.
===> Extracting for craft-3.5
===> craft-3.5 depends on executable: gmake - /usr/pkg/bin/gmake found
===> Patching for craft-3.5
===> Applying NetBSD patches for craft-3.5
/bin/rm -f /usr/pkgsrc/games/craft/work/hcc/hcc
/bin/cp /usr/pkgsrc/games/craft/work/.windefaults.params /usr/pkgsrc/games/craft/work/foo
/usr/bin/sed -e 's+buttons+/usr/X11R6/share/craft/buttons+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/.windefaults.params
/bin/cp /usr/pkgsrc/games/craft/work/win.hc /usr/pkgsrc/games/craft/work/foo
/usr/bin/sed -e 's+@PREFIX@+/usr/X11R6+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/win.hc
/bin/cp /usr/pkgsrc/games/craft/work/setupedit.hc /usr/pkgsrc/games/craft/work/foo
/usr/bin/sed -e 's+@PREFIX@+/usr/X11R6+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/setupedit.hc
/bin/cp /usr/pkgsrc/games/craft/work/option_menu.hc /usr/pkgsrc/games/craft/work/foo
/usr/bin/sed -e 's+@PREFIX@+/usr/X11R6+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/option_menu.hc
/bin/cp /usr/pkgsrc/games/craft/work/craft_def.h /usr/pkgsrc/games/craft/work/foo
/usr/bin/sed -e 's+@PREFIX@+/usr/X11R6+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/craft_def.h
/bin/rm -f /usr/pkgsrc/games/craft/work/foo
===> Configuring for craft-3.5
===> Building for craft-3.5
g++ -I/usr/X11R6/include -DCRAFT_DIR=\"/usr/X11R6/share/craft/\" -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib hcc/hcc.cc -o hcc/hcc
hcc/hcc.cc:1: bool.h: No such file or directory
hcc/hcc.cc:3: std.h: No such file or directory
gmake: *** [hcc/hcc] Error 1
*** Error code 2
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
ismaelda# exit
Script done on Fri Jul 23 01:24:58 1999
"
looking at the code in hcc/hcc.cc, it looks like it had to be "../bool.h"
and "stdlib.h", and then it compiles with tons of warnings about a
comparison always being 1. After that, at least 'hcc' builds, but the next
line, running `hcc' dumps core. Why?? What is a `.hc' file? YASTFL? It
looks like `hcc' itself is broken. Gdb tells me it's in the processing of
a comment, or it's including the first headerfile.
Could this be a dreaded compiler bug? Or just a buggy `hcc'. I'll try to
compile it on my Sun tomorrow, but that's gonna take a while :-)
Any Idea's?
Reinoud