Package: dh-fortran-mod
Version: 0.42
Severity: grave
Affects: src:atlas-ecmwf src:ectrans src:fckit src:fiat-ecmwf

Dear maintainer:

The following packages currently FTBFS in a way
which suggests that dh-fortran-mod may be the root cause.

atlas-ecmwf
ectrans
fckit
fiat-ecmwf

Taking atlas-ecmwf as an example, the build failure is like this:

dpkg-buildpackage: info: source package atlas-ecmwf
dpkg-buildpackage: info: source version 0.40.0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alastair McKinstry 
<mckins...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
/usr/share/debhelper/dh-fortran/fortran-support.mk:53: *** unterminated call to 
function 'strip': mi
ssing ')'.  Stop.
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2


Seems as if there was something wrong in line 53 of fortran-support.mk.
This is an extract of the file with numbered lines:

    52  # Install in this directory
    53  get_fmoddir = $(strip \
    54                 $(if $(filter $1,gfortran), 
${fort_root}/gfortran-mod-15, \
    55                $(if $(filter $1, flang), ${fort_root}/flang-mod-15, \
    56                $(if $(filter $1, flang17), ${fort_root}/flang-mod-15, \
    57                $(if $(filter $1, flang18), ${fort_root}/flang-mod-15, \
    58                $(if $(filter $1, flang19), ${fort_root}/flang-mod-15, \
    59                $(if $(filter $1, flang20), ${fort_root}/flang-mod-15, \
    60                $(if $(filter $1, flangext), 
${fort_root}/flangext-mod-15, \
    61                $(if $(filter $1, flangext17), 
${fort_root}/flangext-mod-15, \
    62                $(if $(filter $1, flangext18), 
${fort_root}/flangext-mod-15, \
    63                $(if $(filter $1, lfortran), ${fort_root}/lfortran-mod-0, 
\
    64                                             ${fort_root}/$1 ))))))))))

Is there a missing ')' at the end?

( That's what it seems, but why is this happening now? Maybe some variable
is now defined/undefined where previously it was undefined/defined? )

( A code path which was not followed until now? )

Thanks.

Reply via email to