Bug#897872: sumo: ftbfs with GCC-8
Matthias Klose
doko at debian.org
Fri May 4 13:23:50 BST 2018
Package: src:sumo
Version: 0.32.0+dfsg1-1
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/sumo_0.32.0+dfsg1-1_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
[...]
make[6]: Entering directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/lcmodels'
ranlib libmicrosimlcmodels.a
make[6]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/lcmodels'
Making all in logging
make[6]: Nothing to be done for 'all'.
Making all in output
make[6]: Entering directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
g++ -DHAVE_CONFIG_H -I. -I../../../src -I/<<BUILDDIR>>/sumo-0.32.0+dfsg1/./src -I/usr/include/fox-1.6 -I/usr/include/gdal -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sumo-0.32.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o MSMeanData.o MSMeanData.cpp
In file included from /usr/include/c++/8/map:60,
from ../../../src/microsim/MSEdgeControl.h:38,
from MSMeanData.cpp:35:
/usr/include/c++/8/bits/stl_tree.h: In instantiation of 'class std::_Rb_tree<MSLane*, MSLane*, std::_Identity<MSLane*>, Named::ComparatorIdLess, std::allocator<MSLane*> >':
/usr/include/c++/8/bits/stl_set.h:133:17: required from 'class std::set<MSLane*, Named::ComparatorIdLess>'
../../../src/microsim/MSEdgeControl.h:223:48: required from here
/usr/include/c++/8/bits/stl_tree.h:452:21: error: static assertion failed: comparison object must be invocable with two arguments of key type
static_assert(__is_invocable<_Compare&, const _Key&, const _Key&>{},
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[6]: *** [Makefile:453: MSMeanData.o] Error 1
make[6]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
make[6]: *** Waiting for unfinished jobs....
make[6]: Entering directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
g++ -DHAVE_CONFIG_H -I. -I../../../src -I/<<BUILDDIR>>/sumo-0.32.0+dfsg1/./src -I/usr/include/fox-1.6 -I/usr/include/gdal -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sumo-0.32.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o MSMeanData_Emissions.o MSMeanData_Emissions.cpp
make[6]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
make[6]: Entering directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
g++ -DHAVE_CONFIG_H -I. -I../../../src -I/<<BUILDDIR>>/sumo-0.32.0+dfsg1/./src -I/usr/include/fox-1.6 -I/usr/include/gdal -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sumo-0.32.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o MSMeanData_Harmonoise.o MSMeanData_Harmonoise.cpp
make[6]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
make[6]: Entering directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
g++ -DHAVE_CONFIG_H -I. -I../../../src -I/<<BUILDDIR>>/sumo-0.32.0+dfsg1/./src -I/usr/include/fox-1.6 -I/usr/include/gdal -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sumo-0.32.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o MSDetectorControl.o MSDetectorControl.cpp
make[6]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
make[6]: Entering directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
g++ -DHAVE_CONFIG_H -I. -I../../../src -I/<<BUILDDIR>>/sumo-0.32.0+dfsg1/./src -I/usr/include/fox-1.6 -I/usr/include/gdal -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sumo-0.32.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o MSInstantInductLoop.o MSInstantInductLoop.cpp
make[6]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
make[6]: Entering directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
g++ -DHAVE_CONFIG_H -I. -I../../../src -I/<<BUILDDIR>>/sumo-0.32.0+dfsg1/./src -I/usr/include/fox-1.6 -I/usr/include/gdal -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sumo-0.32.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o MSE3Collector.o MSE3Collector.cpp
make[6]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
make[6]: Entering directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
g++ -DHAVE_CONFIG_H -I. -I../../../src -I/<<BUILDDIR>>/sumo-0.32.0+dfsg1/./src -I/usr/include/fox-1.6 -I/usr/include/gdal -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sumo-0.32.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o MSInductLoop.o MSInductLoop.cpp
make[6]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
make[6]: Entering directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
g++ -DHAVE_CONFIG_H -I. -I../../../src -I/<<BUILDDIR>>/sumo-0.32.0+dfsg1/./src -I/usr/include/fox-1.6 -I/usr/include/gdal -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -O2 -DNDEBUG -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sumo-0.32.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o MSE2Collector.o MSE2Collector.cpp
make[6]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1/src/microsim/output'
make[5]: *** [Makefile:558: all-recursive] Error 1
make[4]: *** [Makefile:686: all-recursive] Error 1
make[3]: *** [Makefile:527: all] Error 2
make[2]: *** [Makefile:406: all-recursive] Error 1
dh_auto_build: make -j8 -Oline returned exit code 2
make[1]: *** [debian/rules:38: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<BUILDDIR>>/sumo-0.32.0+dfsg1'
make: *** [debian/rules:4: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list