Bug#777888: goplay: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:32:07 UTC 2015


Package: src:goplay
Version: 0.9
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/goplay_0.9_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 if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBWIBBLE... yes
checking for LIBEPT... yes
checking for LIBTAGCOLL2... yes
checking for apt-get... /usr/bin/apt-get
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libxdgutils/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
make[1]: Leaving directory '/«PKGBUILDDIR»'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/«PKGBUILDDIR»'
DEB_BUILD_MAINT_OPTIONS:file=hardening=-fortify
convert data/icons/Icon32.png debian/goplay.xpm
dh_auto_build
make[2]: Entering directory '/«PKGBUILDDIR»'
make  all-recursive
make[3]: Entering directory '/«PKGBUILDDIR»'
Making all in libxdgutils
make[4]: Entering directory '/«PKGBUILDDIR»/libxdgutils'
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/tagcoll-2.0.14  -Wall -Werror -ggdb    -g -O2 -c -o XDGAutostart.o XDGAutostart.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/tagcoll-2.0.14  -Wall -Werror -ggdb    -g -O2 -c -o XDGBasedir.o XDGBasedir.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/tagcoll-2.0.14  -Wall -Werror -ggdb    -g -O2 -c -o XDGDesktopEntry.o XDGDesktopEntry.cpp
XDGDesktopEntry.cpp: In member function 'void XDGDesktopEntry::validateEntries()':
XDGDesktopEntry.cpp:471:28: error: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Werror=parentheses]
  if (!registeredEntries[i].type & type)
                            ^
cc1plus: all warnings being treated as errors
make[4]: *** [XDGDesktopEntry.o] Error 1
Makefile:409: recipe for target 'XDGDesktopEntry.o' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/libxdgutils'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 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