Bug#667379: spring: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:12:36 UTC 2012


Package: spring
Version: 85.0+dfsg1-3
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

PolyTools.h:56:31: error: 'GetArea2D' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/spring_85.0+dfsg1-3_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
cd /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/tools/unitsync && /usr/bin/g++   -Dunitsync_EXPORTS -DSYNCCHECK -DSPRING_DATADIR=\"/usr/share/games/spring:/usr/lib/spring\" -DSTREFLOP_SSE -DBOOST_NO_FENV_H -DUNITSYNC -DNOT_USING_CREG -DHEADLESS -DNO_SOUND -DBITMAP_NO_OPENGL -msse -mfpmath=sse            -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread  -O2      -Wno-unknown-pragmas -DNDEBUG -g -fPIC -I/usr/include/SDL -I/«BUILDDIR»/spring-85.0+dfsg1/rts/lib -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts/lib/lua/include -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts/lib/7zip -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts -I/«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/src-generated/engine    -fpic -o CMakeFiles/unitsync.dir/__/__/rts/Rendering/Textures/Bitmap.cpp.o -c /«BUILDDIR»/spring-85.0+dfsg1/rts/Rendering/Textures/Bitmap.cpp
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/CMakeFiles 
[ 29%] Building CXX object tools/unitsync/CMakeFiles/unitsync.dir/unitsync.cpp.o
cd /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/tools/unitsync && /usr/bin/g++   -Dunitsync_EXPORTS -DSYNCCHECK -DSPRING_DATADIR=\"/usr/share/games/spring:/usr/lib/spring\" -DSTREFLOP_SSE -DBOOST_NO_FENV_H -DUNITSYNC -DNOT_USING_CREG -DHEADLESS -DNO_SOUND -DBITMAP_NO_OPENGL -msse -mfpmath=sse            -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread  -O2      -Wno-unknown-pragmas -DNDEBUG -g -fPIC -I/usr/include/SDL -I/«BUILDDIR»/spring-85.0+dfsg1/rts/lib -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts/lib/lua/include -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts/lib/7zip -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts -I/«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/src-generated/engine    -fpic -o CMakeFiles/unitsync.dir/unitsync.cpp.o -c /«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/unitsync.cpp
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/CMakeFiles 
[ 29%] Building CXX object tools/unitsync/CMakeFiles/unitsync.dir/LuaParserAPI.cpp.o
cd /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/tools/unitsync && /usr/bin/g++   -Dunitsync_EXPORTS -DSYNCCHECK -DSPRING_DATADIR=\"/usr/share/games/spring:/usr/lib/spring\" -DSTREFLOP_SSE -DBOOST_NO_FENV_H -DUNITSYNC -DNOT_USING_CREG -DHEADLESS -DNO_SOUND -DBITMAP_NO_OPENGL -msse -mfpmath=sse            -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread  -O2      -Wno-unknown-pragmas -DNDEBUG -g -fPIC -I/usr/include/SDL -I/«BUILDDIR»/spring-85.0+dfsg1/rts/lib -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts/lib/lua/include -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts/lib/7zip -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts -I/«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/src-generated/engine    -fpic -o CMakeFiles/unitsync.dir/LuaParserAPI.cpp.o -c /«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/LuaParserAPI.cpp
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/CMakeFiles 
[ 29%] Building CXX object tools/unitsync/CMakeFiles/unitsync.dir/Syncer.cpp.o
cd /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/tools/unitsync && /usr/bin/g++   -Dunitsync_EXPORTS -DSYNCCHECK -DSPRING_DATADIR=\"/usr/share/games/spring:/usr/lib/spring\" -DSTREFLOP_SSE -DBOOST_NO_FENV_H -DUNITSYNC -DNOT_USING_CREG -DHEADLESS -DNO_SOUND -DBITMAP_NO_OPENGL -msse -mfpmath=sse            -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread  -O2      -Wno-unknown-pragmas -DNDEBUG -g -fPIC -I/usr/include/SDL -I/«BUILDDIR»/spring-85.0+dfsg1/rts/lib -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts/lib/lua/include -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts/lib/7zip -I/«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/../../rts -I/«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/src-generated/engine    -fpic -o CMakeFiles/unitsync.dir/Syncer.cpp.o -c /«BUILDDIR»/spring-85.0+dfsg1/tools/unitsync/Syncer.cpp
Linking CXX shared module ../../libunitsync.so
cd /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/tools/unitsync && /usr/bin/cmake -E cmake_link_script CMakeFiles/unitsync.dir/link.txt --verbose=1
/usr/bin/g++  -fPIC  -msse -mfpmath=sse            -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread  -O2      -Wno-unknown-pragmas -DNDEBUG -g    -shared -Wl,-soname,libunitsync.so -o ../../libunitsync.so CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/IArchive.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/ArchiveLoader.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/ArchiveScanner.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/BufferedArchive.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/CacheDir.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/DataDirLocater.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/DataDirsAccess.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/DirArchive.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/FileFilter.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/FileHandler.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/FileSystem.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/FileSystemAbstraction.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/FileSystemInitializer.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/PoolArchive.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/SevenZipArchive.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/SimpleParser.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/VFSHandler.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/FileSystem/ZipArchive.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Log/Backend.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Log/DefaultFilter.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Log/DefaultFormatter.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Log/FramePrefixer.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Log/LogSinkHandler.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Log/LogUtil.c.o CMakeFiles/unitsync.dir/__/__/rts/System/Log/FileSink.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Log/OutputDebugStringSink.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Config/ConfigHandler.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Config/ConfigLocater.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Config/ConfigSource.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Config/ConfigVariable.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/CRC.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Platform/Misc.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Platform/ScopedFileLock.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/LogOutput.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/TdfParser.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Info.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/Option.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/SafeCStrings.c.o CMakeFiles/unitsync.dir/__/__/rts/System/Util.cpp.o CMakeFiles/unitsync.dir/__/__/rts/System/float4.cpp.o CMakeFiles/unitsync.dir/__/__/rts/Sim/Misc/SideParser.cpp.o CMakeFiles/unitsync.dir/__/__/rts/Game/GameVersion.cpp.o CMakeFiles/unitsync.dir/__/__/rts/ExternalAI/LuaAIImplHandler.cpp.o CMakeFiles/unitsync.dir/__/__/rts/Lua/LuaParser.cpp.o CMakeFiles/unitsync.dir/__/__/rts/Lua/LuaUtils.cpp.o CMakeFiles/unitsync.dir/__/__/rts/Lua/LuaIO.cpp.o CMakeFiles/unitsync.dir/__/__/rts/Map/MapParser.cpp.o CMakeFiles/unitsync.dir/__/__/rts/Map/SMF/SMFMapFile.cpp.o CMakeFiles/unitsync.dir/__/__/rts/Rendering/Textures/Bitmap.cpp.o CMakeFiles/unitsync.dir/unitsync.cpp.o CMakeFiles/unitsync.dir/LuaParserAPI.cpp.o CMakeFiles/unitsync.dir/Syncer.cpp.o -lIL ../../rts/lib/minizip/libminizip.a -lboost_regex-mt -lboost_thread-mt -lboost_system-mt ../../rts/lib/7z/lib7zip.a ../../rts/lib/lua/liblua.a ../../rts/lib/headlessStubs/libheadlessStubs.a -lz ../../rts/lib/streflop/libstreflop.a -lboost_thread-mt 
make[3]: Leaving directory `/«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/CMakeFiles  98 99
[ 29%] Built target unitsync
Linking CXX static library libspringserver-static.a
cd /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/rts/builds/dedicated && /usr/bin/cmake -P CMakeFiles/springserver-static.dir/cmake_clean_target.cmake
cd /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/rts/builds/dedicated && /usr/bin/cmake -E cmake_link_script CMakeFiles/springserver-static.dir/link.txt --verbose=1
/usr/bin/ar cr libspringserver-static.a  CMakeFiles/springserver-static.dir/__/__/System/FileSystem/IArchive.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/ArchiveLoader.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/ArchiveScanner.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/BufferedArchive.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/CacheDir.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/DataDirLocater.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/DataDirsAccess.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/DirArchive.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/FileFilter.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/FileHandler.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/FileSystem.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/FileSystemAbstraction.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/FileSystemInitializer.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/PoolArchive.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/SevenZipArchive.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/SimpleParser.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/VFSHandler.cpp.o CMakeFiles/springserver-static.dir/__/__/System/FileSystem/ZipArchive.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Log/Backend.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Log/DefaultFilter.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Log/DefaultFormatter.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Log/FramePrefixer.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Log/LogSinkHandler.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Log/LogUtil.c.o CMakeFiles/springserver-static.dir/__/__/System/Net/Connection.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Net/LocalConnection.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Net/LoopbackConnection.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Net/PackPacket.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Net/ProtocolDef.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Net/RawPacket.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Net/Socket.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Net/UDPConnection.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Net/UDPListener.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Net/UnpackPacket.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Platform/Threading.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Platform/Linux/thread_backtrace.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Platform/Linux/CrashHandler.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Config/ConfigHandler.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Config/ConfigLocater.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Config/ConfigSource.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Config/ConfigVariable.cpp.o CMakeFiles/springserver-static.dir/__/__/System/CRC.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Platform/errorhandler.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Platform/Misc.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Platform/CmdLineParams.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Platform/ScopedFileLock.cpp.o CMakeFiles/springserver-static.dir/__/__/System/TdfParser.cpp.o CMakeFiles/springserver-static.dir/__/__/System/GlobalConfig.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Info.cpp.o CMakeFiles/springserver-static.dir/__/__/System/LogOutput.cpp.o CMakeFiles/springserver-static.dir/__/__/System/TimeUtil.cpp.o CMakeFiles/springserver-static.dir/__/__/System/BaseNetProtocol.cpp.o CMakeFiles/springserver-static.dir/__/__/System/LoadSave/Demo.cpp.o CMakeFiles/springserver-static.dir/__/__/System/LoadSave/DemoReader.cpp.o CMakeFiles/springserver-static.dir/__/__/System/LoadSave/DemoRecorder.cpp.o CMakeFiles/springserver-static.dir/__/__/System/AutohostInterface.cpp.o CMakeFiles/springserver-static.dir/__/__/System/SafeCStrings.c.o CMakeFiles/springserver-static.dir/__/__/System/UnsyncedRNG.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Util.cpp.o CMakeFiles/springserver-static.dir/__/__/System/float4.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Log/ConsoleSink.cpp.o CMakeFiles/springserver-static.dir/__/__/System/Misc/SpringTime.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/Server/GameParticipant.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/GameServer.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/ClientSetup.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/GameSetup.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/GameData.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/PlayerBase.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/PlayerStatistics.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/GameVersion.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/IVideoCapturing.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/DummyVideoCapturing.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/CommandMessage.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/ChatMessage.cpp.o CMakeFiles/springserver-static.dir/__/__/Game/Action.cpp.o CMakeFiles/springserver-static.dir/__/__/Sim/Misc/TeamBase.cpp.o CMakeFiles/springserver-static.dir/__/__/Sim/Misc/TeamStatistics.cpp.o CMakeFiles/springserver-static.dir/__/__/Sim/Misc/AllyTeam.cpp.o CMakeFiles/springserver-static.dir/__/__/Lua/LuaIO.cpp.o CMakeFiles/springserver-static.dir/__/__/Lua/LuaParser.cpp.o CMakeFiles/springserver-static.dir/__/__/Lua/LuaUtils.cpp.o CMakeFiles/springserver-static.dir/__/__/Map/MapParser.cpp.o
/usr/bin/ranlib libspringserver-static.a
make[3]: Leaving directory `/«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu/CMakeFiles  92 93 94
[ 29%] Built target springserver-static
make[2]: Leaving directory `/«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«BUILDDIR»/spring-85.0+dfsg1/obj-x86_64-linux-gnu'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Pkg-games-devel mailing list