[Debian-med-packaging] Bug#1075253: maq: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:35:54 BST 2024


Package: src:maq
Version: 0.7.1-9
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/maq_0.7.1-9_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

[...]
bfa.c:46:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   46 |                 fread(&len, sizeof(int), 1, fp);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfa.c:48:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   48 |                 fread(&len, sizeof(int), 1, fp);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastq2bfq.c: In function ‘fastq2bfq’:
fastq2bfq.c:30:12: error: assignment to ‘struct gzFile_s **’ from incompatible pointer type ‘gzFile’ {aka ‘struct gzFile_s *’} [-Wincompatible-pointer-types]
   30 |         fp = gzopen(str, "w");
      |            ^
fastq2bfq.c:36:28: error: assignment to ‘struct gzFile_s **’ from incompatible pointer type ‘gzFile’ {aka ‘struct gzFile_s *’} [-Wincompatible-pointer-types]
   36 |                         fp = gzopen(str, "w");
      |                            ^
fastq2bfq.c:47:25: error: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types]
   47 |                 gzwrite(fp, &i, sizeof(int));
      |                         ^~
      |                         |
      |                         struct gzFile_s **
In file included from fastq2bfq.c:1:
/usr/include/zlib.h:1451:36: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’
 1451 | ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len);
      |                             ~~~~~~~^~~~
fastq2bfq.c:48:25: error: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types]
   48 |                 gzwrite(fp, name, sizeof(char) * i);
      |                         ^~
      |                         |
      |                         struct gzFile_s **
/usr/include/zlib.h:1451:36: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’
 1451 | ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len);
      |                             ~~~~~~~^~~~
fastq2bfq.c:49:25: error: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types]
   49 |                 gzwrite(fp, &l, sizeof(int));
      |                         ^~
      |                         |
      |                         struct gzFile_s **
/usr/include/zlib.h:1451:36: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’
 1451 | ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len);
      |                             ~~~~~~~^~~~
fastq2bfq.c:50:25: error: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types]
   50 |                 gzwrite(fp, seq.s, sizeof(char) * l);
      |                         ^~
      |                         |
      |                         struct gzFile_s **
/usr/include/zlib.h:1451:36: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’
 1451 | ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len);
      |                             ~~~~~~~^~~~
fastq2bfq.c:53:33: error: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types]
   53 |                         gzclose(fp);
      |                                 ^~
      |                                 |
      |                                 struct gzFile_s **
/usr/include/zlib.h:1634:39: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’
 1634 | ZEXTERN int ZEXPORT    gzclose(gzFile file);
      |                                ~~~~~~~^~~~
fastq2bfq.c:62:25: error: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types]
   62 |                 gzclose(fp);
      |                         ^~
      |                         |
      |                         struct gzFile_s **
/usr/include/zlib.h:1634:39: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’
 1634 | ZEXTERN int ZEXPORT    gzclose(gzFile file);
      |                                ~~~~~~~^~~~
make[2]: *** [Makefile:485: fastq2bfq.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:344: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list