Bug#1114078: cfortran: FTBFS: e2/e2.c:10:28: error: too many arguments to function 'easy_'; expected 0, have 2

Santiago Vila sanvila at debian.org
Fri Sep 5 19:16:07 BST 2025


Package: src:cfortran
Version: 20210827-1.1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:cfortran, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with autoreconf
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf examples
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/cfortran.substvars debian/files
	rm -fr -- debian/cfortran/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary --with autoreconf
   dh_update_autotools_config
   dh_autoreconf
	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p
" > debian/autoreconf.before
	grep -q ^XDT_ configure.ac
	autoreconf -f -i
configure.ac:6: installing 'build-aux/compile'
configure.ac:4: installing 'build-aux/install-sh'
configure.ac:4: installing 'build-aux/missing'
eg/Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p
" > debian/autoreconf.after
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- --includedir=/usr/include/cfortran/
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --includedir=/usr/include/cfortran/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for gfortran... gfortran
checking whether the compiler supports GNU Fortran... yes
checking whether gfortran accepts -g... yes
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether the compiler supports GNU Fortran 77... yes
checking whether f77 accepts -g... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating eg/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -f debian/cfortran.debhelper.log
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp -r eg examples
dh_auto_build
	make -j2
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make  all-recursive
make[3]: Entering directory '/<<PKGBUILDDIR>>'
Making all in eg
make[4]: Entering directory '/<<PKGBUILDDIR>>/eg'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/eg'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
	make -j2 check "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making check in eg
make[2]: Entering directory '/<<PKGBUILDDIR>>/eg'
make  abc_test cf14_test e2_test easy_test eq_test f0_test f20_test f27_test fa_test fb_test fc_test fcb_test fd_test fe_test ff_test fg_test fh_test fi_test fj_test fk_test fl_test fm_test fn_test forr_test fstr_test ft_test fun_test fz_test pz_test q_test rev_test rr_test ss1_test strtok_test sub_test subt_test sz_test sz1_test user_test v7_test vv_test
make[3]: Entering directory '/<<PKGBUILDDIR>>/eg'
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o abc/abc.o abc/abc.c
f77  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -c -o abc/abc_f.o abc/abc_f.f
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cf14/cf14.o cf14/cf14.c
f77  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -c -o cf14/cf14_f.o cf14/cf14_f.f
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o e2/e2.o e2/e2.c
f77  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -c -o e2/e2_f.o e2/e2_f.f
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o easy/easy.o easy/easy.c
In file included from e2/e2.c:7:
e2/e2.c: In function ‘__cf__EASY’:
e2/e2.c:10:28: error: too many arguments to function ‘easy_’; expected 0, have 2
   10 | PROTOCCALLSFFUN2(VOID,EASY,easy,PINT,INT)
      |                            ^~~~
../cfortran.h:87:30: note: in definition of macro ‘CFORTRAN_CAT_’
   87 | #define CFORTRAN_CAT_(A,B)   A##B
      |                              ^
../cfortran.h:249:32: note: in expansion of macro ‘CFORTRAN_XCAT_’
  249 | #define CFC_(UN,LN)            CFORTRAN_XCAT_(LN,_)      /* Lowercase FORTRAN symbols.     */
      |                                ^~~~~~~~~~~~~~
../cfortran.h:1482:33: note: in expansion of macro ‘CFC_’
 1482 | #define   VOID_cfGZ(T,UN,LN)    CFC_(UN,LN)(
      |                                 ^~~~
../cfortran.h:1494:32: note: in expansion of macro ‘VOID_cfGZ’
 1494 | #define    VOID_cfG(T,UN,LN)   VOID_cfGZ(T,UN,LN)
      |                                ^~~~~~~~~
../cfortran.h:87:30: note: in expansion of macro ‘VOID_cfG’
   87 | #define CFORTRAN_CAT_(A,B)   A##B
      |                              ^
../cfortran.h:87:30: note: in expansion of macro ‘CFARGS3’
../cfortran.h:1389:51: note: in expansion of macro ‘PVOID_cfINT’
 1389 | #define           VOID_cfINT(N,A,B,X,Y,Z)         PVOID_cfINT(N,A,B,X,Y,Z)
      |                                                   ^~~~~~~~~~~
../cfortran.h:87:30: note: in expansion of macro ‘VOID_cfINT’
   87 | #define CFORTRAN_CAT_(A,B)   A##B
      |                              ^
../cfortran.h:1839:61: note: in expansion of macro ‘_Icf’
 1839 |  CCF(LN,TB,11) CCF(LN,TC,12) CCF(LN,TD,13) CCF(LN,TE,14)    _Icf(3,G,T0,UN,LN) \
      |                                                             ^~~~
../cfortran.h:1823:9: note: in expansion of macro ‘PROTOCCALLSFFUN14’
 1823 |         PROTOCCALLSFFUN14(T0,UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,CF_0,CF_0,CF_0,CF_0)
      |         ^~~~~~~~~~~~~~~~~
../cfortran.h:1813:9: note: in expansion of macro ‘PROTOCCALLSFFUN10’
 1813 |         PROTOCCALLSFFUN10(T0,UN,LN,T1,T2,T3,T4,T5,CF_0,CF_0,CF_0,CF_0,CF_0)
      |         ^~~~~~~~~~~~~~~~~
../cfortran.h:1807:9: note: in expansion of macro ‘PROTOCCALLSFFUN5’
 1807 |         PROTOCCALLSFFUN5 (T0,UN,LN,T1,T2,CF_0,CF_0,CF_0)
      |         ^~~~~~~~~~~~~~~~
e2/e2.c:10:1: note: in expansion of macro ‘PROTOCCALLSFFUN2’
   10 | PROTOCCALLSFFUN2(VOID,EASY,easy,PINT,INT)
      | ^~~~~~~~~~~~~~~~
e2/e2.c:10:28: note: declared here
   10 | PROTOCCALLSFFUN2(VOID,EASY,easy,PINT,INT)
      |                            ^~~~
../cfortran.h:1446:64: note: in definition of macro ‘VOID_cfPU’
 1446 | #define      VOID_cfPU(A)   CFextern void  FCALLSC_QUALIFIER   A
      |                                                                ^
../cfortran.h:89:30: note: in expansion of macro ‘CFORTRAN_CAT_’
   89 | #define CFORTRAN_XCAT_(A,B)  CFORTRAN_CAT_(A,B)
      |                              ^~~~~~~~~~~~~
../cfortran.h:249:32: note: in expansion of macro ‘CFORTRAN_XCAT_’
  249 | #define CFC_(UN,LN)            CFORTRAN_XCAT_(LN,_)      /* Lowercase FORTRAN symbols.     */
      |                                ^~~~~~~~~~~~~~
../cfortran.h:1834:27: note: in expansion of macro ‘CFC_’
 1834 |  CFORTRAN_XCAT_(T0,_cfPU)(CFC_(UN,LN))(CF_NULL_PROTO); static _Icf(2,U,T0,CFFUN(UN),0)(     \
      |                           ^~~~
../cfortran.h:1823:9: note: in expansion of macro ‘PROTOCCALLSFFUN14’
 1823 |         PROTOCCALLSFFUN14(T0,UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,CF_0,CF_0,CF_0,CF_0)
      |         ^~~~~~~~~~~~~~~~~
../cfortran.h:1813:9: note: in expansion of macro ‘PROTOCCALLSFFUN10’
 1813 |         PROTOCCALLSFFUN10(T0,UN,LN,T1,T2,T3,T4,T5,CF_0,CF_0,CF_0,CF_0,CF_0)
      |         ^~~~~~~~~~~~~~~~~
../cfortran.h:1807:9: note: in expansion of macro ‘PROTOCCALLSFFUN5’
 1807 |         PROTOCCALLSFFUN5 (T0,UN,LN,T1,T2,CF_0,CF_0,CF_0)
      |         ^~~~~~~~~~~~~~~~
e2/e2.c:10:1: note: in expansion of macro ‘PROTOCCALLSFFUN2’
   10 | PROTOCCALLSFFUN2(VOID,EASY,easy,PINT,INT)
      | ^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1340: e2/e2.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/eg'
make[2]: *** [Makefile:1909: check-am] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/eg'
make[1]: *** [Makefile:416: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -fr -- /tmp/dh-xdg-rundir-d6sAirtY
dh_auto_test: error: make -j2 check "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the debian-science-maintainers mailing list