Bug#1075575: tilemaker: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:46:05 BST 2024


Package: src:tilemaker
Version: 3.0.0-1
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

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

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/tilemaker_3.0.0-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html

[...]
/usr/include/c++/14/exception:125:8: note: declared here
  125 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
      |        ^~~~~~~~~~~~~~~~~~
[ 47%] Building CXX object CMakeFiles/tilemaker.dir/src/output_object.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -I/usr/include/lua5.1 -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTM_VERSION=3.0.0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++17 -MD -MT CMakeFiles/tilemaker.dir/src/output_object.cpp.o -MF CMakeFiles/tilemaker.dir/src/output_object.cpp.o.d -o CMakeFiles/tilemaker.dir/src/output_object.cpp.o -c /<<PKGBUILDDIR>>/src/output_object.cpp
In file included from /<<PKGBUILDDIR>>/src/osm_lua_processing.cpp:9:
/<<PKGBUILDDIR>>/include/tag_map.h:75:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
   75 | #endif _TAG_MAP_H
      |        ^~~~~~~~~~
[ 50%] Building CXX object CMakeFiles/tilemaker.dir/src/pbf_processor.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -I/usr/include/lua5.1 -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTM_VERSION=3.0.0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++17 -MD -MT CMakeFiles/tilemaker.dir/src/pbf_processor.cpp.o -MF CMakeFiles/tilemaker.dir/src/pbf_processor.cpp.o.d -o CMakeFiles/tilemaker.dir/src/pbf_processor.cpp.o -c /<<PKGBUILDDIR>>/src/pbf_processor.cpp
[ 52%] Building CXX object CMakeFiles/tilemaker.dir/src/pbf_reader.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -I/usr/include/lua5.1 -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTM_VERSION=3.0.0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++17 -MD -MT CMakeFiles/tilemaker.dir/src/pbf_reader.cpp.o -MF CMakeFiles/tilemaker.dir/src/pbf_reader.cpp.o.d -o CMakeFiles/tilemaker.dir/src/pbf_reader.cpp.o -c /<<PKGBUILDDIR>>/src/pbf_reader.cpp
make[3]: *** [CMakeFiles/tilemaker.dir/build.make:163: CMakeFiles/tilemaker.dir/src/geojson_processor.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /<<PKGBUILDDIR>>/include/pbf_processor.h:13,
                 from /<<PKGBUILDDIR>>/src/pbf_processor.cpp:2:
/<<PKGBUILDDIR>>/include/tag_map.h:75:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
   75 | #endif _TAG_MAP_H
      |        ^~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/include/shared_data.h:8,
                 from /<<PKGBUILDDIR>>/include/osm_lua_processing.h:11,
                 from /<<PKGBUILDDIR>>/src/osm_lua_processing.cpp:3:
/usr/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
/usr/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
  319 |     GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
      |                                                                           ~~~~~~~^~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/include/mbtiles.h:8,
                 from /<<PKGBUILDDIR>>/include/shared_data.h:13:
/<<PKGBUILDDIR>>/include/external/sqlite_modern_cpp.h: In destructor ‘sqlite::database_binder::~database_binder()’:
/<<PKGBUILDDIR>>/include/external/sqlite_modern_cpp.h:262:74: warning: ‘bool std::uncaught_exception()’ is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]
  262 |                         if(!execution_started && !std::uncaught_exception() && _stmt) {
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/14/ios:41,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from /<<PKGBUILDDIR>>/src/osm_lua_processing.cpp:1:
/usr/include/c++/14/exception:125:8: note: declared here
  125 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
      |        ^~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/include/shared_data.h:8,
                 from /<<PKGBUILDDIR>>/include/osm_lua_processing.h:11,
                 from /<<PKGBUILDDIR>>/src/pbf_processor.cpp:11:
/usr/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
/usr/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
  319 |     GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
      |                                                                           ~~~~~~~^~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/include/mbtiles.h:8,
                 from /<<PKGBUILDDIR>>/include/shared_data.h:13:
/<<PKGBUILDDIR>>/include/external/sqlite_modern_cpp.h: In destructor ‘sqlite::database_binder::~database_binder()’:
/<<PKGBUILDDIR>>/include/external/sqlite_modern_cpp.h:262:74: warning: ‘bool std::uncaught_exception()’ is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]
  262 |                         if(!execution_started && !std::uncaught_exception() && _stmt) {
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/14/ios:41,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from /<<PKGBUILDDIR>>/src/pbf_processor.cpp:1:
/usr/include/c++/14/exception:125:8: note: declared here
  125 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
      |        ^~~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/tilemaker.dir/build.make:261: CMakeFiles/tilemaker.dir/src/osm_lua_processing.cpp.o] Error 1
make[3]: *** [CMakeFiles/tilemaker.dir/build.make:317: CMakeFiles/tilemaker.dir/src/pbf_processor.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:88: CMakeFiles/tilemaker.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-grass-devel mailing list