[Debian-med-packaging] Bug#1074909: dialign: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:25:06 BST 2024


Package: src:dialign
Version: 2.2.1-12
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/dialign_2.2.1-12_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

[...]

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package dialign
dpkg-buildpackage: info: source version 2.2.1-12
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Étienne Mollier <emollier at debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find src/ -name '*.o' -delete
dh_clean src/dialign2-2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
## CFLAGS = -c -I-DCONS -O2
dh_auto_build --sourcedirectory=src
	cd src && make -j8 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -O -I-DCONS dialign.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -O -I-DCONS functions.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -O -I-DCONS para.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -O -I-DCONS output.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -O -I-DCONS wgt.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -O -I-DCONS anchor.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -O -I-DCONS regex.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -O -I-DCONS input.c
functions.c:856:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  856 | wgt_type_count( int num , int e_len, int *plus_cnt, int *minus_cnt,
      | ^~~~~~~~~~~~~~
functions.c:885:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  885 | plot_calc( int num , int e_len, float *w_count, float *pl,
      | ^~~~~~~~~
regex.c:154:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  154 | seq_parse( char *mot_regex ) {
      | ^~~~~~~~~
regex.c:154:1: warning: conflicting types for ‘seq_parse’
In file included from regex.c:18:
dialign.h:70:6: note: previous declaration of ‘seq_parse’ with type ‘void(char *)’
   70 | void seq_parse( char *mot_regex );
      |      ^~~~~~~~~
dialign.c:260:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  260 | main(int argc, char **argv)
      | ^~~~
make[2]: *** [makefile:48: regex.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [makefile:36: functions.o] Error 1
make[2]: *** [makefile:34: dialign.o] Error 1
output.c:64:9: error: type defaults to ‘int’ in declaration of ‘plot_calc’ [-Wimplicit-int]
   64 |  extern plot_calc( int num , int e_len, float *w_count, float *pl,
      |         ^~~~~~~~~
output.c:66:9: error: type defaults to ‘int’ in declaration of ‘wgt_type_count’ [-Wimplicit-int]
   66 |  extern wgt_type_count( int num , int e_len, int *plus_cnt, int *minus_cnt,
      |         ^~~~~~~~~~~~~~
make[2]: *** [makefile:44: output.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
dh_auto_build: error: cd src && make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list