[Debian-med-packaging] Bug#1074926: dwgsim: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:25:36 BST 2024
Package: src:dwgsim
Version: 0.1.14-2
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/dwgsim_0.1.14-2_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
[...]
| |
| struct gzFile_s **
/usr/include/zlib.h:1471:39: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’
1471 | ZEXTERN int ZEXPORTVA gzprintf(gzFile file, const char *format, ...);
| ~~~~~~~^~~~
src/dwgsim.c:1029:43: error: passing argument 1 of ‘gzputc’ from incompatible pointer type [-Wincompatible-pointer-types]
1029 | gzputc(opt->fp_bfast, qstr[i]);
| ~~~^~~~~~~~~~
| |
| struct gzFile_s **
/usr/include/zlib.h:1508:35: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’
1508 | ZEXTERN int ZEXPORT gzputc(gzFile file, int c);
| ~~~~~~~^~~~
src/dwgsim.c:1030:43: error: passing argument 1 of ‘gzprintf’ from incompatible pointer type [-Wincompatible-pointer-types]
1030 | gzprintf(opt->fp_bfast, "\n");
| ~~~^~~~~~~~~~
| |
| struct gzFile_s **
/usr/include/zlib.h:1471:39: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’
1471 | ZEXTERN int ZEXPORTVA gzprintf(gzFile file, const char *format, ...);
| ~~~~~~~^~~~
src/dwgsim.c: In function ‘main’:
src/dwgsim.c:1088:25: error: assignment to ‘struct gzFile_s **’ from incompatible pointer type ‘gzFile’ {aka ‘struct gzFile_s *’} [-Wincompatible-pointer-types]
1088 | opt->fp_bfast = gzopen(fn_tmp, "w");
| ^
src/dwgsim.c:1092:24: error: assignment to ‘struct gzFile_s **’ from incompatible pointer type ‘gzFile’ {aka ‘struct gzFile_s *’} [-Wincompatible-pointer-types]
1092 | opt->fp_bwa1 = gzopen(fn_tmp, "w");
| ^
src/dwgsim.c:1094:24: error: assignment to ‘struct gzFile_s **’ from incompatible pointer type ‘gzFile’ {aka ‘struct gzFile_s *’} [-Wincompatible-pointer-types]
1094 | opt->fp_bwa2 = gzopen(fn_tmp, "w");
| ^
src/dwgsim.c:1104:22: error: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types]
1104 | gzclose(opt->fp_bfast);
| ~~~^~~~~~~~~~
| |
| 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);
| ~~~~~~~^~~~
src/dwgsim.c:1107:22: error: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types]
1107 | gzclose(opt->fp_bwa1); gzclose(opt->fp_bwa2);
| ~~~^~~~~~~~~
| |
| 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);
| ~~~~~~~^~~~
src/dwgsim.c:1107:45: error: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types]
1107 | gzclose(opt->fp_bwa1); gzclose(opt->fp_bwa2);
| ~~~^~~~~~~~~
| |
| 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);
| ~~~~~~~^~~~
In file included from src/dwgsim.c:46:
src/mut.h: At top level:
src/mut.h:62:1: warning: inline function ‘mut_get_ins_long_n’ declared but never defined
62 | mut_get_ins_long_n(uint8_t *ins, uint32_t *n);
| ^~~~~~~~~~~~~~~~~~
src/mut.h:59:1: warning: inline function ‘mut_get_ins_bytes’ declared but never defined
59 | mut_get_ins_bytes(int32_t n);
| ^~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:21: src/dwgsim.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list