Bug#897734: darkradiant: ftbfs with GCC-8

Matthias Klose doko at debian.org
Fri May 4 13:21:18 BST 2018


Package: src:darkradiant
Version: 2.5.0-2
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/darkradiant_2.5.0-2_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are 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-8/porting_to.html

[...]
                             ^
../../libs/os/file.h:109:29: error: expected ')' before '&' token
  catch (fs::filesystem_error& err)
        ~                    ^
                             )
../../libs/os/file.h:109:29: error: expected '{' before '&' token
../../libs/os/file.h:109:31: error: 'err' was not declared in this scope
  catch (fs::filesystem_error& err)
                               ^~~
../../libs/os/file.h:109:31: note: suggested alternative: 'erf'
  catch (fs::filesystem_error& err)
                               ^~~
                               erf
make[4]: *** [Makefile:655: FileChooser.lo] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/wxutil'
make[4]: *** Waiting for unfinished jobs....
make[4]: Entering directory '/<<PKGBUILDDIR>>/libs/wxutil'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../libs -DPKGLIBDIR='"/usr/lib/x86_64-linux-gnu/darkradiant"' -DPKGDATADIR='"/usr/share/darkradiant"' -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type  -c -o window/TransientWindow.lo window/TransientWindow.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../libs -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/darkradiant\" -DPKGDATADIR=\"/usr/share/darkradiant\" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type -c window/TransientWindow.cpp  -fPIC -DPIC -o window/.libs/TransientWindow.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/wxutil'
make[4]: Entering directory '/<<PKGBUILDDIR>>/libs/wxutil'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../libs -DPKGLIBDIR='"/usr/lib/x86_64-linux-gnu/darkradiant"' -DPKGDATADIR='"/usr/share/darkradiant"' -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type  -c -o dialog/MessageBox.lo dialog/MessageBox.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../libs -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/darkradiant\" -DPKGDATADIR=\"/usr/share/darkradiant\" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type -c dialog/MessageBox.cpp  -fPIC -DPIC -o dialog/.libs/MessageBox.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/wxutil'
make[4]: Entering directory '/<<PKGBUILDDIR>>/libs/wxutil'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../libs -DPKGLIBDIR='"/usr/lib/x86_64-linux-gnu/darkradiant"' -DPKGDATADIR='"/usr/share/darkradiant"' -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type  -c -o preview/GuiRenderer.lo preview/GuiRenderer.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../libs -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/darkradiant\" -DPKGDATADIR=\"/usr/share/darkradiant\" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type -c preview/GuiRenderer.cpp  -fPIC -DPIC -o preview/.libs/GuiRenderer.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/wxutil'
make[4]: Entering directory '/<<PKGBUILDDIR>>/libs/wxutil'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../libs -DPKGLIBDIR='"/usr/lib/x86_64-linux-gnu/darkradiant"' -DPKGDATADIR='"/usr/share/darkradiant"' -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type  -c -o dialog/Dialog.lo dialog/Dialog.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../libs -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/darkradiant\" -DPKGDATADIR=\"/usr/share/darkradiant\" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type -c dialog/Dialog.cpp  -fPIC -DPIC -o dialog/.libs/Dialog.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/wxutil'
make[4]: Entering directory '/<<PKGBUILDDIR>>/libs/wxutil'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../libs -DPKGLIBDIR='"/usr/lib/x86_64-linux-gnu/darkradiant"' -DPKGDATADIR='"/usr/share/darkradiant"' -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type  -c -o preview/ModelPreview.lo preview/ModelPreview.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../libs -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/darkradiant\" -DPKGDATADIR=\"/usr/share/darkradiant\" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type -c preview/ModelPreview.cpp  -fPIC -DPIC -o preview/.libs/ModelPreview.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/wxutil'
make[4]: Entering directory '/<<PKGBUILDDIR>>/libs/wxutil'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../libs -DPKGLIBDIR='"/usr/lib/x86_64-linux-gnu/darkradiant"' -DPKGDATADIR='"/usr/share/darkradiant"' -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type  -c -o preview/ParticlePreview.lo preview/ParticlePreview.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../libs -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/darkradiant\" -DPKGDATADIR=\"/usr/share/darkradiant\" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type -c preview/ParticlePreview.cpp  -fPIC -DPIC -o preview/.libs/ParticlePreview.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/wxutil'
make[4]: Entering directory '/<<PKGBUILDDIR>>/libs/wxutil'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../libs -DPKGLIBDIR='"/usr/lib/x86_64-linux-gnu/darkradiant"' -DPKGDATADIR='"/usr/share/darkradiant"' -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type  -c -o preview/RenderPreview.lo preview/RenderPreview.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../libs -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/darkradiant\" -DPKGDATADIR=\"/usr/share/darkradiant\" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/<<PKGBUILDDIR>>/libs/libfmt -DFMT_HEADER_ONLY -fPIC -g -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wall -Wno-unused-variable -Werror=return-type -c preview/RenderPreview.cpp  -fPIC -DPIC -o preview/.libs/RenderPreview.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libs/wxutil'
make[3]: *** [Makefile:438: all-recursive] Error 1
make[2]: *** [Makefile:753: all-recursive] Error 1
make[1]: *** [Makefile:494: all] Error 2
dh_auto_build: make -j8 -Oline returned exit code 2
make: *** [debian/rules:15: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Pkg-games-devel mailing list