Package: src:fbi
Version: 2.14-1
Severity: important
Tags: sid forky
User: debian-...@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/fbi_2.14-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

[...]
/usr/bin/ld: cannot find -lcurl: No such file or directory
collect2: error: ld returned 1 exit status
... result is no

checking for lirc_init in lirc_client ... 
run: cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/fbi-2.14=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -Wdate-time 
-D_FORTIFY_SOURCE=2 -DVERSION='2.14' -I. -Wno-pointer-sign -g -Ijpeg/           
 -Wl,-z,relro -Wl,-z,now      -o __actest __actest.c -llirc_client 
/usr/bin/ld: cannot find -llirc_client: No such file or directory
collect2: error: ld returned 1 exit status
... result is no


Make.config written, edit if needed

basename: missing operand
Try 'basename --help' for more information.
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/fbi-2.14=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -Wdate-time 
-D_FORTIFY_SOURCE=2 -DVERSION="2.14" -I. -Wno-pointer-sign -g -Ijpeg/62 
-DHAVE_LIBGIF -I/usr/include/pixman-1 -Wp,-MD,mk/exiftran.tmp -c -o exiftran.o 
exiftran.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/fbi-2.14=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -Wdate-time 
-D_FORTIFY_SOURCE=2 -DVERSION="2.14" -I. -Wno-pointer-sign -g -Ijpeg/62 
-DHAVE_LIBGIF -I/usr/include/pixman-1 -Wp,-MD,mk/genthumbnail.tmp -c -o 
genthumbnail.o genthumbnail.c
genthumbnail.c: In function ‘compress_thumbnail’:
genthumbnail.c:128:19: error: too many arguments to function ‘jpeg_std_error’; 
expected 0, have 1
  128 |     thc.dst.err = jpeg_std_error(&thc.err);
      |                   ^~~~~~~~~~~~~~ ~~~~~~~~
In file included from genthumbnail.c:8:
jpeg/62/jpeglib.h:884:33: note: declared here
  884 | EXTERN(struct jpeg_error_mgr *) jpeg_std_error
      |                                 ^~~~~~~~~~~~~~
jpeg/62/jpeglib.h:895:5: error: too many arguments to function 
‘jpeg_CreateCompress’; expected 0, have 3
  895 |     jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
      |     ^~~~~~~~~~~~~~~~~~~ ~~~~~~~
genthumbnail.c:129:5: note: in expansion of macro ‘jpeg_create_compress’
  129 |     jpeg_create_compress(&thc.dst);
      |     ^~~~~~~~~~~~~~~~~~~~
jpeg/62/jpeglib.h:900:14: note: declared here
  900 | EXTERN(void) jpeg_CreateCompress JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~
genthumbnail.c:138:5: error: too many arguments to function 
‘jpeg_set_defaults’; expected 0, have 1
  138 |     jpeg_set_defaults(&thc.dst);
      |     ^~~~~~~~~~~~~~~~~ ~~~~~~~~
jpeg/62/jpeglib.h:914:14: note: declared here
  914 | EXTERN(void) jpeg_set_defaults JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~
genthumbnail.c:139:5: error: too many arguments to function 
‘jpeg_start_compress’; expected 0, have 2
  139 |     jpeg_start_compress(&thc.dst, TRUE);
      |     ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~
jpeg/62/jpeglib.h:936:14: note: declared here
  936 | EXTERN(void) jpeg_start_compress JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~
genthumbnail.c:142:9: error: too many arguments to function 
‘jpeg_write_scanlines’; expected 0, have 3
  142 |         jpeg_write_scanlines(&thc.dst, (void*)ida_image_scanline(img, 
i), 1);
      |         ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
jpeg/62/jpeglib.h:938:20: note: declared here
  938 | EXTERN(JDIMENSION) jpeg_write_scanlines JPP((j_compress_ptr cinfo,
      |                    ^~~~~~~~~~~~~~~~~~~~
genthumbnail.c:144:5: error: too many arguments to function 
‘jpeg_finish_compress’; expected 0, have 1
  144 |     jpeg_finish_compress(&(thc.dst));
      |     ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
jpeg/62/jpeglib.h:941:14: note: declared here
  941 | EXTERN(void) jpeg_finish_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~
genthumbnail.c:145:5: error: too many arguments to function 
‘jpeg_destroy_compress’; expected 0, have 1
  145 |     jpeg_destroy_compress(&(thc.dst));
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
jpeg/62/jpeglib.h:905:14: note: declared here
  905 | EXTERN(void) jpeg_destroy_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [mk/Compile.mk:60: genthumbnail.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/fbi-2.14'
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/fbi-2.14'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to