Bug#1097501: ogdi-dfsg: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:41:05 GMT 2025


Package: src:ogdi-dfsg
Version: 4.1.1+ds-5
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/ogdi-dfsg_4.1.1+ds-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
  228 |          get_table_element(FEATURE_ID_,row,fit,&feature_id,&count);
      |          ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
../vpftable.h:262:10: note: declared here
  262 |    void *get_table_element ();
      |          ^~~~~~~~~~~~~~~~~
../vpfselec.c:234:16: error: too many arguments to function ‘get_table_element’; expected 0, have 5
  234 |                get_table_element (TILE_ID_, row, fit, &tile_id, &count);
      |                ^~~~~~~~~~~~~~~~~  ~~~~~~~~
../vpftable.h:262:10: note: declared here
  262 |    void *get_table_element ();
      |          ^~~~~~~~~~~~~~~~~
../vpfselec.c:238:16: error: too many arguments to function ‘get_table_element’; expected 0, have 5
  238 |                get_table_element(TILE_ID_, row, fit, &short_tile_id, &count);
      |                ^~~~~~~~~~~~~~~~~ ~~~~~~~~
../vpftable.h:262:10: note: declared here
  262 |    void *get_table_element ();
      |          ^~~~~~~~~~~~~~~~~
../vpfselec.c:242:10: error: too many arguments to function ‘free_row’; expected 0, have 2
  242 |          free_row (row, fit);
      |          ^~~~~~~~  ~~~
../vpftable.h:259:9: note: declared here
  259 |    void free_row ();
      |         ^~~~~~~~
../vpfselec.c:246:17: error: too many arguments to function ‘get_row’; expected 0, have 2
  246 |          frow = get_row (feature_id, feature_table);
      |                 ^~~~~~~  ~~~~~~~~~~
../vpftable.h:260:13: note: declared here
  260 |    row_type get_row ();
      |             ^~~~~~~
../vpfselec.c:248:18: error: too many arguments to function ‘set_insert’; expected 0, have 2
  248 |                  set_insert (prim_id, primitives);
      |                  ^~~~~~~~~~  ~~~~~~~
../set.h:49:9: note: declared here
   49 |    void set_insert ();
      |         ^~~~~~~~~~
../vpfselec.c:249:10: error: too many arguments to function ‘free_row’; expected 0, have 2
  249 |          free_row(frow,feature_table);
      |          ^~~~~~~~ ~~~~
../vpftable.h:259:9: note: declared here
  259 |    void free_row ();
      |         ^~~~~~~~
../vpfselec.c:251:7: error: too many arguments to function ‘free_row’; expected 0, have 2
  251 |       free_row (row, fit);
      |       ^~~~~~~~  ~~~
../vpftable.h:259:9: note: declared here
  259 |    void free_row ();
      |         ^~~~~~~~
../vpfselec.c:254:4: error: too many arguments to function ‘vpf_close_table’; expected 0, have 1
  254 |    vpf_close_table (&fit);
      |    ^~~~~~~~~~~~~~~  ~~~~
../vpftable.h:250:9: note: declared here
  250 |    void vpf_close_table ();
      |         ^~~~~~~~~~~~~~~
../vpfselec.c:255:4: error: too many arguments to function ‘set_nuke’; expected 0, have 1
  255 |    set_nuke (&selset);
      |    ^~~~~~~~  ~~~~~~~
../set.h:62:9: note: declared here
   62 |    void set_nuke ();
      |         ^~~~~~~~
make[4]: *** [<builtin>: vpfselec.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/ogdi-dfsg-4.1.1+ds/vpflib/OBJ.Linux'
make[3]: *** [makefile:45: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/ogdi-dfsg-4.1.1+ds/vpflib'
make[2]: *** [makefile:39: vpflib] Error 2
make[2]: Leaving directory '/build/reproducible-path/ogdi-dfsg-4.1.1+ds'
dh_auto_build: error: make -j1 returned exit code 2
make[1]: *** [debian/rules:41: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/ogdi-dfsg-4.1.1+ds'
make: *** [debian/rules:23: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-grass-devel mailing list