Package: dh-fortran-mod Version: 0.13 Severity: normal The man page for dh_fortran_mod says that the tool will expand Depends: ${Fortran-Mod} with the appropriate fortran reference ("adds dependencies...as required to the package using via the variable ${Fortran-Mod}")
But in fact ${Fortran-Mod} is ignored (here bulding petsc 3.11.4+dfsg1-1) debian/rules override_dh_gencontrol make[1]: Entering directory '/build/petsc-3.11.4+dfsg1' dh_gencontrol -- -VMPI:Depends="libopenmpi-dev (>= 3.1.3),libopenmpi-dev (<< 3.2)" dpkg-gencontrol: warning: Depends field of package libpetsc-complex3.11-dev: substitution variable ${Fortran-Mod} used, but is not defined The tool is not working as expected from the description in the man page, or the man page is not sufficiently clear about how to set the Depends field. No gfortran-$version entry is added to ${misc:Depends} either. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dh-fortran-mod depends on: ii debhelper 12.6.1 ii libfile-libmagic-perl 1.16-1+b1 ii perl [libio-compress-perl] 5.28.1-6 dh-fortran-mod recommends no packages. dh-fortran-mod suggests no packages. -- no debconf information