Bug#1037674: geos: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:24:59 BST 2023


Package: src:geos
Version: 3.11.1-1
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/geos_3.11.1-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
      |                                ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:190:22: error: ‘uint32_t’ has not been declared
  190 |     void setLocation(uint32_t geomIndex, uint32_t posIndex, geom::Location location)
      |                      ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:190:42: error: ‘uint32_t’ has not been declared
  190 |     void setLocation(uint32_t geomIndex, uint32_t posIndex, geom::Location location)
      |                                          ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:196:22: error: ‘uint32_t’ has not been declared
  196 |     void setLocation(uint32_t geomIndex, geom::Location location)
      |                      ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:202:26: error: ‘uint32_t’ has not been declared
  202 |     void setAllLocations(uint32_t geomIndex, geom::Location location)
      |                          ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:208:32: error: ‘uint32_t’ has not been declared
  208 |     void setAllLocationsIfNull(uint32_t geomIndex, geom::Location location)
      |                                ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:220:17: error: ‘uint32_t’ has not been declared
  220 |     bool isNull(uint32_t geomIndex) const
      |                 ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:231:20: error: ‘uint32_t’ has not been declared
  231 |     bool isAnyNull(uint32_t geomIndex) const
      |                    ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:242:17: error: ‘uint32_t’ has not been declared
  242 |     bool isArea(uint32_t geomIndex) const
      |                 ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:248:17: error: ‘uint32_t’ has not been declared
  248 |     bool isLine(uint32_t geomIndex) const
      |                 ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:254:42: error: ‘uint32_t’ has not been declared
  254 |     bool isEqualOnSide(const Label& lbl, uint32_t side) const
      |                                          ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:260:28: error: ‘uint32_t’ has not been declared
  260 |     bool allPositionsEqual(uint32_t geomIndex, geom::Location loc) const
      |                            ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:269:17: error: ‘uint32_t’ has not been declared
  269 |     void toLine(uint32_t geomIndex)
      |                 ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h: In static member function ‘static geos::geomgraph::Label geos::geomgraph::Label::toLineLabel(const geos::geomgraph::Label&)’:
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:71:13: error: ‘uint32_t’ was not declared in this scope
   71 |         for(uint32_t i = 0; i < 2; i++) {
      |             ^~~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:29:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   28 | #include <cassert>
  +++ |+#include <cstdint>
   29 | 
/<<PKGBUILDDIR>>/include/geos/geomgraph/Label.h:71:29: error: ‘i’ was not declared in this scope
   71 |         for(uint32_t i = 0; i < 2; i++) {
      |                             ^
In file included from /<<PKGBUILDDIR>>/include/geos/geomgraph/Edge.h:29:
/<<PKGBUILDDIR>>/include/geos/geomgraph/Depth.h: At global scope:
/<<PKGBUILDDIR>>/include/geos/geomgraph/Depth.h:115:17: error: ‘uint8_t’ has not been declared
  115 |     bool isNull(uint8_t geomIndex) const
      |                 ^~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Depth.h:120:17: error: ‘uint8_t’ has not been declared
  120 |     bool isNull(uint8_t geomIndex, uint8_t posIndex) const
      |                 ^~~~~~~
/<<PKGBUILDDIR>>/include/geos/geomgraph/Depth.h:120:36: error: ‘uint8_t’ has not been declared
  120 |     bool isNull(uint8_t geomIndex, uint8_t posIndex) const
      |                                    ^~~~~~~
make[4]: *** [CMakeFiles/geos.dir/build.make:1437: CMakeFiles/geos.dir/src/geomgraph/DirectedEdge.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:330: CMakeFiles/geos.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-grass-devel mailing list