Source: cfitsio
Version: 3.440-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

cfitsio/experimental recently started to FTBFS:

[...]
gcc -c -o ./f77_wrap1.o -g -O2 -fdebug-prefix-map=/build/cfitsio-3.440=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -Dg77Fortran 
-fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DPACKAGE_NAME=\"\" -DPAC
KAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMOR
Y_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 
-D_LARGEFILE_S
OURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_FTRUNCATE=1 
-DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 
-DHAVE_LIBPTHREAD=1 -DHAVE_NET_SERVICES=1 f77_wrap1.c
f77_wrap1.c:68:1: warning: parameter names (without types) in function 
declaration
 FCALLSCSUB2(Cffgiou,FTGIOU,ftgiou,PINT,PINT)
 ^~~~~~~~~~~
In file included from f77_wrap1.c:43:0:
f77_wrap.h:276:12: error: '_' declared as function returning a function
   CFextern _(T0,_cfF)(UN,LN)                                                   
\
            ^
/usr/include/cfortran.h:2295:9: note: in expansion of macro 'FCALLSCFUN14'
         
FCALLSCFUN14(T0,CN,UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,CF_0,CF_0,CF_0,CF_0)
         ^~~~~~~~~~~~
f77_wrap.h:276:12: warning: return type defaults to 'int' [-Wimplicit-int]
   CFextern _(T0,_cfF)(UN,LN)                                                   
\
            ^
/usr/include/cfortran.h:2295:9: note: in expansion of macro 'FCALLSCFUN14'
         
FCALLSCFUN14(T0,CN,UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,CF_0,CF_0,CF_0,CF_0)
         ^~~~~~~~~~~~
In file included from f77_wrap.h:3:0,
                 from f77_wrap1.c:43:
f77_wrap1.c: In function '_':
f77_wrap1.c:68:40: error: expected identifier or '(' before 'int'
 FCALLSCSUB2(Cffgiou,FTGIOU,ftgiou,PINT,PINT)
                                        ^
/usr/include/cfortran.h:2295:9: note: in expansion of macro 'FCALLSCFUN14'
         
FCALLSCFUN14(T0,CN,UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,CF_0,CF_0,CF_0,CF_0)
         ^~~~~~~~~~~~
f77_wrap1.c:68:35: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'int'
 FCALLSCSUB2(Cffgiou,FTGIOU,ftgiou,PINT,PINT)
                                   ^
/usr/include/cfortran.h:2295:9: note: in expansion of macro 'FCALLSCFUN14'
         
FCALLSCFUN14(T0,CN,UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,CF_0,CF_0,CF_0,CF_0)
         ^~~~~~~~~~~~
f77_wrap1.c:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '{' token
 {
 ^
In file included from f77_wrap.h:3:0,
                 from f77_wrap1.c:43:
f77_wrap1.c:81:35: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'int'
 FCALLSCSUB2(Cfffiou,FTFIOU,ftfiou,INT,PINT)
                                   ^
/usr/include/cfortran.h:2295:9: note: in expansion of macro 'FCALLSCFUN14'
         
FCALLSCFUN14(T0,CN,UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,CF_0,CF_0,CF_0,CF_0)
         ^~~~~~~~~~~~
[...]


Andreas

Attachment: cfitsio_3.440-2.log.gz
Description: application/gzip

Reply via email to