Bug#778025: netrek-client-cow: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:34:50 UTC 2015


Package: src:netrek-client-cow
Version: 3.3.0-3
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

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

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/netrek-client-cow_3.3.0-3_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
checking for usleep... (cached) yes
checking for setstate... (cached) yes
checking for strdup... yes
checking for rint... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.4... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking whether make sets $(MAKE)... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
/bin/bash: ./config.rpath: No such file or directory
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
configure: creating ./config.status
config.status: creating system.mk
config.status: creating key.mk
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_auto_build -a
make[1]: Entering directory '/«PKGBUILDDIR»'
make -f system.mk KEYDEF=sample_key.def netrek-client-cow
make[2]: Entering directory '/«PKGBUILDDIR»'
gcc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -fPIE  -fstack-protector-strong  -D_FORTIFY_SOURCE=2  -Wformat -Wformat-security -Werror=format-security  -DRSA -Iyes/include  -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed  -fPIE -pie  -Wl,-z,relro  -Wl,-z,now   -Iyes/include  -o mkkey mkkey.c  -Lyes/lib -lgmp -lX11 -lnsl -lm   -L/usr/lib/x86_64-linux-gnu -lSDL -lSDL_mixer -lXxf86vm -L/usr/lib/x86_64-linux-gnu -lImlib2
mkkey.c:81:16: fatal error: mp.h: No such file or directory
compilation terminated.
make[2]: *** [mkkey] Error 1
system.mk:147: recipe for target 'mkkey' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [netrekI] Error 2
Makefile:26: recipe for target 'netrekI' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:38: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-games-devel mailing list