[Debian-pan-maintainers] Bug#1075085: ifeffit: ftbfs with GCC-14

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


Package: src:ifeffit
Version: 2:1.2.11d-12.5
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/ifeffit_1.2.11d-12.5_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

[...]
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c iff_minimize.f
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c genfun.f
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c iff_uncert.f
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c iff_plot.f
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c iff_cursor.f
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c get_inpfile.f
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c misc_rand.f
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -g -O2 -fPIC -c ifeffitc.c
rm -f libifeffit.a
ar cru libifeffit.a ifeffit.o cifeffit.o str.o misc_vars.o isamac.o iff_load.o iread.o misc_io.o iff_save.o iff_eval.o misc_arr.o iff_erase.o iff_sync.o decod.o misc_num.o enlib.o sigms.o atomic.o u2ipth.o kkmclr.o fftpack.o conv_lor.o specfun.o encod.o padlib.o iff_set.o sum_paths.o chipth.o echo.o iff_init.o iff_plot_init.o iff_config.o iff_get_line.o iff_macro.o iff_done.o iff_history.o iff_test.o sort2.o iff_rddata.o iff_wrdata.o iff_log.o iff_show.o iff_color.o iff_correl.o fefinp.o rdffdt.o iff_print.o iff_echo.o iff_unguess.o iff_rename.o iff_pre_edge.o preedg.o iff_bkg_cl.o clcalc.o clbfun.o minpack.o iff_spline.o spline.o splfun.o bvalue.o fitfft.o xafsft.o window.o iff_random.o iff_fft.o feff_tables.o iff_window.o iff_path.o iff_getpath.o iff_ff2chi.o iff_feffit.o fitfun.o iff_chieps.o fiterr.o iff_f1f2.o iff_diffkk.o iff_minimize.o genfun.o iff_uncert.o iff_plot.o iff_cursor.o get_inpfile.o misc_rand.o ifeffitc.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-gnu-ranlib libifeffit.a
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c compat.f
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c inpout.f
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c uwxrdf.f
uwxrdf.f:435:72:

  435 |            do 30 j=1,4
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 30 at (1)
x86_64-linux-gnu-gfortran -g -O2 -fPIC -c chiout.f
rm -f libxafs.a
ar cru libxafs.a str.o kkmclr.o fftpack.o conv_lor.o specfun.o padlib.o sort2.o  preedg.o clcalc.o clbfun.o minpack.o spline.o splfun.o bvalue.o fitfft.o xafsft.o window.o fitfun.o genfun.o fiterr.o misc_num.o iread.o misc_io.o compat.o inpout.o uwxrdf.o chiout.o rdffdt.o get_inpfile.o echo.o atomic.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-gnu-ranlib libxafs.a
made Config.mak
made Makefile.PL
made site_install.py
made TclSetup.in
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/lib'
Making all in test
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/test'
x86_64-linux-gnu-gfortran  -g -O2 -c ifftest1.f
x86_64-linux-gnu-gcc  -g -O2  -o ifftest1  ifftest1.o ../lib/libifeffit.a -lpgplot -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. -lgfortran -lm -lgcc_s -lquadmath 
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -c ifftest2.c
x86_64-linux-gnu-gcc  -g -O2  -o ifftest2  ifftest2.o ../lib/libifeffit.a -lpgplot -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. -lgfortran -lm -lgcc_s -lquadmath 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/test'
Making all in cmdline
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/cmdline'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -c iff_shell.c
In file included from iff_shell.c:70:
commands.h:6:3: warning: ‘Function’ is deprecated [-Wdeprecated-declarations]
    6 |   Function *func;     /* internal function to call to do the job. */
      |   ^~~~~~~~
commands.h:109:3: warning: ‘Function’ is deprecated [-Wdeprecated-declarations]
  109 |   {(char *)NULL, (Function *)NULL, (char *)NULL ,  (char *)NULL }
      |   ^
iff_shell.c: In function ‘main’:
iff_shell.c:176:13: error: implicit declaration of function ‘execute_line’ [-Wimplicit-function-declaration]
  176 |       ret = execute_line(s);
      |             ^~~~~~~~~~~~
iff_shell.c: In function ‘com_cd’:
iff_shell.c:256:7: error: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration]
  256 |   if (chdir (arg) == -1) { return 1;  }
      |       ^~~~~
iff_shell.c: In function ‘com_pwd’:
iff_shell.c:262:7: error: implicit declaration of function ‘getcwd’; did you mean ‘getw’? [-Wimplicit-function-declaration]
  262 |   if (getcwd(comstr,1024))  {
      |       ^~~~~~
      |       getw
make[4]: *** [Makefile:237: iff_shell.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/cmdline'
make[3]: *** [Makefile:108: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:155: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:273: all-recursive-am] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:34: build-ifeffit] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-pan-maintainers mailing list