Bug#925674: ember: ftbfs with GCC-9
Matthias Klose
doko at debian.org
Wed Mar 27 19:44:51 GMT 2019
Package: src:ember
Version: 0.7.2+dfsg-2
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-9
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-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/ember_0.7.2+dfsg-2_unstable_gcc9.log
The last lines of the build log are at the end of this report.
To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html
GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.
[...]
g++ -DHAVE_CONFIG_H -I../../../src -I../../../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/ember-0.7.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/X11R6/include -I/usr/include -I/usr/include/AL -I/usr/include/AL -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/Eris-1.3 -I/usr/include/skstream-0.3 -I/usr/lib/x86_64-linux-gnu/skstream-0.3/include -I/usr/include/varconf-1.0 -I/usr/include/Mercator-0.3 -I/usr/include/Atlas-C++-0.6 -I/usr/include/wfmath-1.0 -I/usr/include/libwfut-0.2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Overlay -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Terrain -I/usr/include/OGRE/Paging -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -pthread -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -I/usr/include/lua5.1 -DLUA51 -I/usr/include/cegui-0.8.7 -DNDEBUG -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o WfutSession.o WfutSession.cpp
rm -f libWfut.a
ar cru libWfut.a WfutService.o WfutSession.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libWfut.a
make[6]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/services/wfut'
Making all in serversettings
make[6]: Entering directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/services/serversettings'
g++ -DHAVE_CONFIG_H -I../../../src -I../../../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/ember-0.7.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/X11R6/include -I/usr/include -I/usr/include/AL -I/usr/include/AL -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/Eris-1.3 -I/usr/include/skstream-0.3 -I/usr/lib/x86_64-linux-gnu/skstream-0.3/include -I/usr/include/varconf-1.0 -I/usr/include/Mercator-0.3 -I/usr/include/Atlas-C++-0.6 -I/usr/include/wfmath-1.0 -I/usr/include/libwfut-0.2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Overlay -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Terrain -I/usr/include/OGRE/Paging -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -pthread -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -I/usr/include/lua5.1 -DLUA51 -I/usr/include/cegui-0.8.7 -DNDEBUG -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ServerSettings.o ServerSettings.cpp
g++ -DHAVE_CONFIG_H -I../../../src -I../../../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/ember-0.7.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/X11R6/include -I/usr/include -I/usr/include/AL -I/usr/include/AL -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/Eris-1.3 -I/usr/include/skstream-0.3 -I/usr/lib/x86_64-linux-gnu/skstream-0.3/include -I/usr/include/varconf-1.0 -I/usr/include/Mercator-0.3 -I/usr/include/Atlas-C++-0.6 -I/usr/include/wfmath-1.0 -I/usr/include/libwfut-0.2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Overlay -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Terrain -I/usr/include/OGRE/Paging -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -pthread -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -I/usr/include/lua5.1 -DLUA51 -I/usr/include/cegui-0.8.7 -DNDEBUG -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ServerSettingsCredentials.o ServerSettingsCredentials.cpp
In file included from /usr/include/varconf-1.0/varconf/varconf.h:4,
from ../../../src/services/config/ConfigService.h:26,
from ServerSettings.cpp:23:
/usr/include/varconf-1.0/varconf/config.h:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
97 | void parseStream(std::istream & in, Scope scope) throw (ParseError);
| ^~~~~
rm -f libServerSettings.a
ar cru libServerSettings.a ServerSettings.o ServerSettingsCredentials.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libServerSettings.a
make[6]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/services/serversettings'
make[6]: Entering directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/services'
g++ -DHAVE_CONFIG_H -I../../src -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/ember-0.7.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/X11R6/include -I/usr/include -I/usr/include/AL -I/usr/include/AL -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/Eris-1.3 -I/usr/include/skstream-0.3 -I/usr/lib/x86_64-linux-gnu/skstream-0.3/include -I/usr/include/varconf-1.0 -I/usr/include/Mercator-0.3 -I/usr/include/Atlas-C++-0.6 -I/usr/include/wfmath-1.0 -I/usr/include/libwfut-0.2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Overlay -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Terrain -I/usr/include/OGRE/Paging -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -pthread -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -I/usr/include/lua5.1 -DLUA51 -I/usr/include/cegui-0.8.7 -DNDEBUG -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o EmberServices.o EmberServices.cpp
In file included from /usr/include/varconf-1.0/varconf/varconf.h:4,
from config/ConfigService.h:26,
from EmberServices.cpp:27:
/usr/include/varconf-1.0/varconf/config.h:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
97 | void parseStream(std::istream & in, Scope scope) throw (ParseError);
| ^~~~~
rm -f libServices.a
ar cru libServices.a EmberServices.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libServices.a
make[6]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/services'
make[5]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/services'
Making all in framework
make[5]: Entering directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/framework'
Making all in bindings
make[6]: Entering directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/framework/bindings'
Making all in lua
make[7]: Entering directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/framework/bindings/lua'
Making all in atlas
make[8]: Entering directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/framework/bindings/lua/atlas'
cd . && TOLUAXX=tolua++5.1 /<<BUILDDIR>>/ember-0.7.2+dfsg/scripts/update_lua_bindings.sh `basename Atlas.cxx .cxx` `basename Atlas.cxx .cxx`.pkg /<<BUILDDIR>>/ember-0.7.2+dfsg/src/framework/bindings/lua/atlas/`basename Atlas.cxx` Atlas.pkg
Updating lua bindings.
g++ -DHAVE_CONFIG_H -I../../../../../src -I. -I../../../../../src -DPREFIX=\"/usr\" -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/ember-0.7.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/X11R6/include -I/usr/include -I/usr/include/AL -I/usr/include/AL -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/Eris-1.3 -I/usr/include/skstream-0.3 -I/usr/lib/x86_64-linux-gnu/skstream-0.3/include -I/usr/include/varconf-1.0 -I/usr/include/Mercator-0.3 -I/usr/include/Atlas-C++-0.6 -I/usr/include/wfmath-1.0 -I/usr/include/libwfut-0.2 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Overlay -I/usr/include/OGRE -pthread -I/usr/include/OGRE/Terrain -I/usr/include/OGRE/Paging -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -pthread -I/usr/include/OGRE -I/usr/include/cegui-0.8.7 -I/usr/include/lua5.1 -DLUA51 -I/usr/include/cegui-0.8.7 -DNDEBUG -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Atlas.o Atlas.cxx
Atlas.cxx: In function 'int tolua_Atlas_Atlas_Message_MapType_iterator__eq00(lua_State*)':
Atlas.cxx:1911:43: error: 'std::map<std::__cxx11::basic_string<char>, Atlas::Message::Element>::iterator' {aka 'struct std::_Rb_tree_iterator<std::pair<const std::__cxx11::basic_string<char>, Atlas::Message::Element> >'} has no member named 'operator=='; did you mean 'operator*'?
1911 | bool tolua_ret = (bool) self->operator==(*value);
| ^~
| operator*
make[8]: *** [Makefile:437: Atlas.o] Error 1
make[8]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/framework/bindings/lua/atlas'
make[7]: *** [Makefile:511: all-recursive] Error 1
make[7]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/framework/bindings/lua'
make[6]: *** [Makefile:416: all-recursive] Error 1
make[6]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/framework/bindings'
make[5]: *** [Makefile:649: all-recursive] Error 1
make[5]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src/framework'
make[4]: *** [Makefile:433: all-recursive] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src'
make[3]: *** [Makefile:372: all] Error 2
make[3]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg/src'
make[2]: *** [Makefile:625: all-recursive] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg'
dh_auto_build: make -j4 returned exit code 2
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/ember-0.7.2+dfsg'
make: *** [debian/rules:6: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list