[Debian-med-packaging] Bug#1075403: pvrg-jpeg: ftbfs with GCC-14

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


Package: src:pvrg-jpeg
Version: 1.2.1+dfsg1-7
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/pvrg-jpeg_1.2.1+dfsg1-7_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

[...]
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
    CMAKE_FIND_USE_PACKAGE_REGISTRY
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LOCALSTATEDIR
    CMAKE_INSTALL_RUNSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=cmake
	cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/pvrg-jpeg.dir/build.make CMakeFiles/pvrg-jpeg.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  8%] Generating (newer) lexer.c based on lexer.l
/usr/bin/lex -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lexer.c /<<PKGBUILDDIR>>/lexer.l
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/pvrg-jpeg.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/pvrg-jpeg.dir/build.make CMakeFiles/pvrg-jpeg.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 25%] Building C object CMakeFiles/pvrg-jpeg.dir/leedct.o
[ 25%] Building C object CMakeFiles/pvrg-jpeg.dir/chendct.o
[ 33%] Building C object CMakeFiles/pvrg-jpeg.dir/io.o
[ 41%] Building C object CMakeFiles/pvrg-jpeg.dir/marker.o
/usr/bin/cc -DNOTRUNCATE -DSYSV -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT CMakeFiles/pvrg-jpeg.dir/chendct.o -MF CMakeFiles/pvrg-jpeg.dir/chendct.o.d -o CMakeFiles/pvrg-jpeg.dir/chendct.o -c /<<PKGBUILDDIR>>/chendct.c
/usr/bin/cc -DNOTRUNCATE -DSYSV -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT CMakeFiles/pvrg-jpeg.dir/io.o -MF CMakeFiles/pvrg-jpeg.dir/io.o.d -o CMakeFiles/pvrg-jpeg.dir/io.o -c /<<PKGBUILDDIR>>/io.c
/usr/bin/cc -DNOTRUNCATE -DSYSV -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT CMakeFiles/pvrg-jpeg.dir/leedct.o -MF CMakeFiles/pvrg-jpeg.dir/leedct.o.d -o CMakeFiles/pvrg-jpeg.dir/leedct.o -c /<<PKGBUILDDIR>>/leedct.c
/usr/bin/cc -DNOTRUNCATE -DSYSV -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT CMakeFiles/pvrg-jpeg.dir/marker.o -MF CMakeFiles/pvrg-jpeg.dir/marker.o.d -o CMakeFiles/pvrg-jpeg.dir/marker.o -c /<<PKGBUILDDIR>>/marker.c
[ 58%] Building C object CMakeFiles/pvrg-jpeg.dir/codec.o
[ 75%] Building C object CMakeFiles/pvrg-jpeg.dir/stream.o
[ 75%] Building C object CMakeFiles/pvrg-jpeg.dir/huffman.o
[ 75%] Building C object CMakeFiles/pvrg-jpeg.dir/jpeg.o
/usr/bin/cc -DNOTRUNCATE -DSYSV -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT CMakeFiles/pvrg-jpeg.dir/jpeg.o -MF CMakeFiles/pvrg-jpeg.dir/jpeg.o.d -o CMakeFiles/pvrg-jpeg.dir/jpeg.o -c /<<PKGBUILDDIR>>/jpeg.c
/usr/bin/cc -DNOTRUNCATE -DSYSV -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT CMakeFiles/pvrg-jpeg.dir/codec.o -MF CMakeFiles/pvrg-jpeg.dir/codec.o.d -o CMakeFiles/pvrg-jpeg.dir/codec.o -c /<<PKGBUILDDIR>>/codec.c
/usr/bin/cc -DNOTRUNCATE -DSYSV -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT CMakeFiles/pvrg-jpeg.dir/huffman.o -MF CMakeFiles/pvrg-jpeg.dir/huffman.o.d -o CMakeFiles/pvrg-jpeg.dir/huffman.o -c /<<PKGBUILDDIR>>/huffman.c
/usr/bin/cc -DNOTRUNCATE -DSYSV -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT CMakeFiles/pvrg-jpeg.dir/stream.o -MF CMakeFiles/pvrg-jpeg.dir/stream.o.d -o CMakeFiles/pvrg-jpeg.dir/stream.o -c /<<PKGBUILDDIR>>/stream.c
/<<PKGBUILDDIR>>/huffman.c: In function ‘UseDCHuffmanCheckingGEMSBug’:
/<<PKGBUILDDIR>>/huffman.c:714:14: warning: too many arguments for format [-Wformat-extra-args]
  714 |       printf("GE table selection bug detected - assuming predictor bug also\n",index);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/marker.c:207:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  207 | WriteDnl()
      | ^~~~~~~~
make[3]: *** [CMakeFiles/pvrg-jpeg.dir/build.make:167: CMakeFiles/pvrg-jpeg.dir/marker.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/io.c: In function ‘SeekEndIob’:
/<<PKGBUILDDIR>>/io.c:789:11: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  789 |           write(Iob->file,Terminator,1);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/io.c: In function ‘TerminateFile’:
/<<PKGBUILDDIR>>/io.c:945:19: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  945 |                   write(CScan->Iob[i]->file,Terminator,1);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:86: CMakeFiles/pvrg-jpeg.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: 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:22: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list