Bug#701294: holotz-castle: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:20:55 UTC 2013


Package: src:holotz-castle
Version: 1.3.14-5
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

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

  ../JLib/JLib/Util/JRW.h:206:16: error: typedef 'pre_cxx0x_static_assert' locally defined but not used [-Werror=unused-local-typedefs]

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/holotz-castle_1.3.14-5_unstable_gcc48.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
a - JLib/Graphics/JGLAxes.o
a - JLib/Graphics/JGLCamera.o
a - JLib/Graphics/JGLConsole.o
a - JLib/Graphics/JGLGrid.o
a - JLib/Graphics/JGLLight.o
a - JLib/Graphics/JGLTexture.o
a - JLib/Graphics/JGLVector.o
a - JLib/Graphics/JControlImage.o
a - JLib/Graphics/JImage.o
a - JLib/Graphics/JImageSprite.o
a - JLib/Graphics/JSprite.o
a - JLib/Graphics/JFont.o
a - JLib/Graphics/JTextMenu.o
a - JLib/Graphics/JImageMenu.o
a - JLib/Graphics/JGLMesh.o
a - JLib/Graphics/JGLImage.o
a - JLib/Util/JFile.o
a - JLib/Util/JGLApp.o
a - JLib/Util/JObject.o
a - JLib/Util/JTextFile.o
a - JLib/Util/JTextUtil.o
a - JLib/Util/JTimer.o
a - JLib/Util/JUtil.o
a - JLib/Util/JApp.o
a - JLib/Util/JFS.o
a - JLib/Util/JThread.o
a - JLib/Util/JRW.o
a - JLib/Math/J2DPolygon.o
make[3]: Leaving directory `/«PKGBUILDDIR»/JLib'
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -O3 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCUtil.cpp -o HCUtil.o
In file included from ../JLib/JLib/Util/JLoadSave.h:36:0,
                 from ../JLib/JLib/Util/JString.h:38,
                 from ./HCUtil.h:50,
                 from HCUtil.cpp:30:
../JLib/JLib/Util/JRW.h: In member function 'u32 JRW::ReadLE32(float*)':
../JLib/JLib/Util/JRW.h:206:16: error: typedef 'pre_cxx0x_static_assert' locally defined but not used [-Werror=unused-local-typedefs]
   typedef char pre_cxx0x_static_assert[sizeof(u32) == sizeof(float) ? 1 : -1 ];
                ^
../JLib/JLib/Util/JRW.h: In member function 'u32 JRW::WriteLE32(const float*)':
../JLib/JLib/Util/JRW.h:311:16: error: typedef 'pre_cxx0x_static_assert' locally defined but not used [-Werror=unused-local-typedefs]
   typedef char pre_cxx0x_static_assert[sizeof(u32) == sizeof(float) ? 1 : -1 ];
                ^
cc1plus: all warnings being treated as errors
make[2]: *** [HCUtil.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/src'
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
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