Package: dh-fortran Version: 0.86 Severity: normal Dear Maintainer,
With debhelper compatibility level 13 and dh-fortran 0.86, I found that dh_auto_configure overwrites explicitly supplied FCFLAGS during build system autodetection, even when autoconf is selected. This discards additional flags such as -fopenmp. This appears to come from set_fortran_env() in fortran.pm, which applies flags reconstructed from dpkg-buildflags during initialization. Passing --buildsystem=autoconf avoids the issue. Could existing FCFLAGS be preserved? If there is a design reason for replacing them, could you document the reason and the recommended way to retain additional flags, at least in the relevant manual page? I could not find this behavior documented, which made it difficult to diagnose. Thank you for your work on Fortran packaging support. Best Wishes, Youhei -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 7.3.3+deb14-amd64 (SMP w/14 CPU threads; PREEMPT) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dh-fortran depends on: ii debhelper 14.5 ii flang-19 [fortran-compiler] 1:19.1.7-22+b1 ii flang-21 [fortran-compiler] 1:21.1.8-14 ii fortran-fpm 0.13.0-6 ii gfortran [fortran-compiler] 4:16.2.0-1 ii libfile-libmagic-perl 1.23-2+b3 ii patchelf 0.18.0-1.4 ii perl [libio-compress-perl] 5.42.3-1 ii python3 3.14.8-1 ii python3-click 8.3.3-3 ii python3-magic 2:0.4.27-6 dh-fortran recommends no packages. dh-fortran suggests no packages. -- no debconf information -- Youhei SASAKI <[email protected]> <[email protected]> GPG fingerprint: 4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07

