Bug#1096871: jeolib-miallib: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:21:04 GMT 2025


Package: src:jeolib-miallib
Version: 1.1.6-1
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/jeolib-miallib_1.1.6-1_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

[...]
      |                                                                                                 ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c:1448:56: error: too many arguments to function ‘errputstr’; expected 0, have 1
 1448 |    { (void)sprintf(buf,"wrong input data type !! \n"); errputstr(buf); return ERROR; }
      |                                                        ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c:1451:72: error: too many arguments to function ‘errputstr’; expected 0, have 1
 1451 |     { (void)sprintf(buf,"mosaic image has more than one plane !! \n"); errputstr(buf); return ERROR; }
      |                                                                        ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c:1470:62: error: too many arguments to function ‘errputstr’; expected 0, have 1
 1470 |     (void)sprintf(buf," uc_clmaxlike: not enough memory\n"); errputstr(buf);
      |                                                              ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c:1477:62: error: too many arguments to function ‘errputstr’; expected 0, have 1
 1477 |     (void)sprintf(buf," uc_clmaxlike: not enough memory\n"); errputstr(buf);
      |                                                              ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c:1510:63: error: too many arguments to function ‘errputstr’; expected 0, have 1
 1510 |       (void)sprintf(buf,"uc_clmaxlike: not enough memory\n"); errputstr(buf);
      |                                                               ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c: In function ‘clmaxlike’:
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c:1553:5: error: too many arguments to function ‘errputstr’; expected 0, have 1
 1553 |     errputstr(buf);
      |     ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c:1557:95: error: too many arguments to function ‘errputstr’; expected 0, have 1
 1557 |     (void)sprintf(buf,"error in clmaxlike(): imin and immos must have the same data type\n"); errputstr(buf);
      |                                                                                               ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c:1561:70: error: too many arguments to function ‘errputstr’; expected 0, have 1
 1561 |     (void)sprintf(buf,"mosaic image has more than one plane !! \n"); errputstr(buf); return ERROR;
      |                                                                      ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/classification.c:1571:61: error: too many arguments to function ‘errputstr’; expected 0, have 1
 1571 |     (void)sprintf(buf,"clmaxlike(): invalid pixel type\n"); errputstr(buf);
      |                                                             ^~~~~~~~~ ~~~
/build/reproducible-path/jeolib-miallib-1.1.6/core/c/miallib.h:359:13: note: declared here
  359 | extern void errputstr(); /* print a message to the standard error  */
      |             ^~~~~~~~~
make[3]: *** [CMakeFiles/miallib.dir/build.make:152: CMakeFiles/miallib.dir/core/c/bresenham.c.o] Error 1
make[3]: *** [CMakeFiles/miallib.dir/build.make:96: CMakeFiles/miallib.dir/core/c/alphacc.c.o] Error 1
make[3]: *** [CMakeFiles/miallib.dir/build.make:180: CMakeFiles/miallib.dir/core/c/classification.c.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/jeolib-miallib-1.1.6/build'
make[2]: *** [CMakeFiles/Makefile2:90: CMakeFiles/miallib.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/jeolib-miallib-1.1.6/build'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/jeolib-miallib-1.1.6/build'
dh_auto_build: error: cd build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-grass-devel mailing list