Subject: Can't build wesnoth
To: None <>
From: Sylvester F <>
List: tech-pkg
Date: 05/09/2005 18:12:25

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

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\"  
-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&, 
   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:> for instructions.
*** Error code 1

make: stopped in /usr/pkgsrc/games/wesnoth/work/wesnoth-0.9.0/src
*** Error code 1

Does anyone else have any problems?

A snip from config.log:
configure:2644: cc -v </dev/null >&5
Using built-in specs.
Configured with: 
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)


Express yourself instantly with MSN Messenger! Download today it's FREE!