Subject: Can't build wesnoth
To: None <tech-pkg@netbsd.org>
From: Sylvester F <sylvester_f@hotmail.com>
List: tech-pkg
Date: 05/09/2005 18:12:25
Hi

I'm having trouble building wesnoth with pkgsrc.  I have NetBSD 2.0.2 on 
i386.  The building stops with the following error:

<snip>
depbase=`echo reports.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;  if c++ 
-DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -I/usr/pkg/include 
-I/usr/pkg/include/SDL -I/usr/include -I/usr/pkg/include/freetype2 
-DGLX_GLXEXT_LEGACY -I ./sdl_ttf -I../intl -I../intl -I/usr/pkg/include/SDL 
-D_REENTRANT -DWESNOTH_PATH=\"/usr/pkg/share/wesnoth\"  
-DLOCALEDIR=\"translations\" -DHAS_RELATIVE_LOCALEDIR=1 
-DFIFODIR=\"/usr/pkg/var/run/wesnothd\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/SDL -I/usr/include -I/usr/pkg/include/freetype2 
-DGLX_GLXEXT_LEGACY -D_X11  -I/usr/X11R6/include  -MT reports.o -MD -MP -MF 
"$depbase.Tpo" -c -o reports.o reports.cpp;  then mv -f "$depbase.Tpo" 
"$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
reports.cpp: In function `reports::report
   reports::generate_report(reports::TYPE, const gamemap&, const unit_map&,
   const std::vector<team, std::allocator<team> >&, const team&, int, int,
   const gamemap::location&, const gamemap::location&, const gamestatus&, 
const
   std::set<std::string, std::less<std::string>, std::allocator<std::string>
   >&)':
reports.cpp:407: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/wesnoth/work/wesnoth-0.9.0/src
*** Error code 1
</snip>

Does anyone else have any problems?

A snip from config.log:
<snip>
configure:2644: cc -v </dev/null >&5
Using built-in specs.
Configured with: 
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure 
--enable-long-lon
g --disable-multilib --enable-threads --disable-symvers 
--build=i386-unknown-netbsdelf --host=i386--
netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)
</snip>

-S

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/