[Debichem-devel] Bug#1074799: aces3: ftbfs with GCC-14

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


Package: src:aces3
Version: 3.0.8-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/aces3_3.0.8-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

[...]
      |                                                 f_int {aka int}
asv_ctl.c:1585:39: warning: format ‘%li’ expects argument of type ‘long int’, but argument 2 has type ‘f_int’ {aka ‘int’} [-Wformat=]
 1585 |                             printf("%li -> ",f_flags.ioppar[var]);
      |                                     ~~^
      |                                       |
      |                                       long int
      |                                     %i
asv_ctl.c:1588:39: warning: format ‘%li’ expects argument of type ‘long int’, but argument 2 has type ‘f_int’ {aka ‘int’} [-Wformat=]
 1588 |                             printf("%li\n",  f_flags.ioppar[var]);
      |                                     ~~^
      |                                       |
      |                                       long int
      |                                     %i
asv_ctl.c:1597:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1597 |                             if      (s1=strpbrk(value,"d")) *s1='e';
      |                                      ^~
asv_ctl.c:1598:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1598 |                             else if (s1=strpbrk(value,"D")) *s1='E';
      |                                      ^~
asv_ctl.c:1606:69: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
 1606 |                             printf("ERROR: Type double expected of %i Bytes, "
      |                                                                    ~^
      |                                                                     |
      |                                                                     int
      |                                                                    %li
 1607 |                                    "but destination is only %li Bytes.\n",
 1608 |                                    Bytes,*size
      |                                    ~~~~~                             
      |                                    |
      |                                    size_t {aka long unsigned int}
asv_ctl.c:1606:36: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘f_int’ {aka ‘int’} [-Wformat=]
 1606 |                             printf("ERROR: Type double expected of %i Bytes, "
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1607 |                                    "but destination is only %li Bytes.\n",
 1608 |                                    Bytes,*size
      |                                          ~~~~~
      |                                          |
      |                                          f_int {aka int}
asv_ctl.c:1607:63: note: format string is defined here
 1607 |                                    "but destination is only %li Bytes.\n",
      |                                                             ~~^
      |                                                               |
      |                                                               long int
      |                                                             %i
asv_ctl.c: In function ‘str2d_’:
asv_ctl.c:1722:8: error: ‘return’ with a value, in function returning void [-Wreturn-mismatch]
 1722 | return 0;
      |        ^
In file included from asv_ctl.c:12:
asv_ctl.c:1719:10: note: declared here
 1719 | F77_NAME(str2d,STR2D) (const char* sgamma, double *dgamma)
      |          ^~~~~
../../../../sia/include/f77_name.h:8:35: note: in definition of macro ‘F77_NAME’
    8 | #      define F77_NAME(name,NAME) name##_
      |                                   ^~~~
make[6]: *** [Makefile:66: asv_ctl.o] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/aces/aces_library/a2driver/aces2'
make[5]: *** [Makefile:17: all] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/aces/aces_library/a2driver'
make[4]: *** [Makefile:18: all] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/aces/aces_library'
make[3]: *** [Makefile:15: all] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/aces'
make[2]: *** [Makefile:15: all] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:35: all] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:31: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debichem-devel mailing list