#1146580 eccodes: debian/rules uses --flavor flang-21 but build-depends on flang-22

#1146580#5
Date:
2026-09-03 12:35:33 UTC
From:
To:
Dear Maintainer,

I've noticed that debian/rules ends override_dh_install with:

  dh_fortran_lib -p libeccodes-dev --flavor flang-21 --builddir $(BUILDDIR)-flang-21
  dh_fortran_lib -p libeccodes0    --flavor flang-21 --builddir $(BUILDDIR)-flang-21

but debian/control build-depends on `flang-22 [!s390x]`, and `FC_OPTIONAL:=`
is empty so $(BUILDDIR)-flang-21 is never created either.

Nothing fails today only because dh-fortran can't find flang-21 and falls
back to gfortran-16, so both lines quietly reinstall the gfortran build out
of debian/tmp under a flang flavor name. It breaks as soon as that fallback
stops resolving.

This looks like a leftover from the flang-21 -> flang-22 bump. I think the two
lines can just be dropped.

Nadzeya
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmqZaZIACgkQ/lAdKwFe
ZPsk9A/9HEG0jo8U3JETAA9eFZpfzMBwuSxnZk0rGBrA2SU4F2TIikf9WGn3NZsq
D2D6I5USpw3agEsHrsiMQiFLkampp1G6WIbfRVh0EknSa/kqqiFpEFvZkqf5r4ZL
viM/cZZ7lxZq0uTLM2iEuE2cBrtTLOHTmgL9EmwaUkybmThCm5xJ6j2pAKwmydVy
jD2thyQIX5h7rBPBVmseU3Rcm2BVGFJRDAKYVm+KzbOjDuxYW8X9JWiXx2zPEm7K
FNJTZ0D2Hwfy+blnKy3OdHqMh0BLLCMUBX/s0XWOFjRMLNe1/FTeeethj29BlrvT
2e3tMdu2Z6JmvovB2Bt4URCxCo+BmUfbRLbPGU5XNQVdKZjTIPm50kFvH1BfNvob
gBLwVxdCqPcazqrcxsb1GmFvEtuuKIvSfTDOJ3Nf1io9pYsCAxS7CQWAQJveEDkP
EMMJY0nzO0yWZ5GYUH4gH3bWBxQU5s7OOBDUqAwx12xb9kXkLaZGtni+rb37CMRS
tRcJqYPd+2Qx4ihg3rBcQbwUtP59Ol6NEDfrW8bXtxx5Aq6l3HZX6VZ8eZ4oNyAW
WRxMCG1F3X0xoY9emvArYFa4aSzCYqdoTSusOKP08o6hmEfXdjoS0Kc7qDbITaAy
5QqDlFRlKSzQuLeCgQNI8jY0eMjZw6O2I4j22rPM0yS9aaUDV1Y=
=HeoC
-----END PGP SIGNATURE-----

#1146580#10
Date:
2026-10-11 06:49:06 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
eccodes, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1146580@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <mckinstry@debian.org> (supplier of updated eccodes package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 11 Oct 2026 07:26:23 +0100
Source: eccodes
Architecture: source
Version: 2.49.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Alastair McKinstry <mckinstry@debian.org>
Closes: 1143191 1146580
Changes:
 eccodes (2.49.0-2) unstable; urgency=medium
 .
   * Ensure correct flang used. Closes: #1146580
   * Update homepage. Closes: #1143191
   * Drop NMU request. Closes: #1150533
Checksums-Sha1:
 e0b305b26de2fa38efd4c3feeb26760b3738560a 2557 eccodes_2.49.0-2.dsc
 1b8efd9292c230047ca424f6fcd995ff58153843 13488 eccodes_2.49.0-2.debian.tar.xz
 9bfecf091a3e3b85ee568c48a4ea2c800a9adbf4 14723 eccodes_2.49.0-2_arm64.buildinfo
Checksums-Sha256:
 9acadf6d117df15fef764ac8d9a7edea9c48c05192c195ad506cfac254ed473c 2557 eccodes_2.49.0-2.dsc
 75e99521b04b900296571aaa95c025270b7b403494779daa80ff1b9325744d89 13488 eccodes_2.49.0-2.debian.tar.xz
 b4f1e9571b2041fd01391511c10ee232e81283b76c1d26601e704c0f7dd78116 14723 eccodes_2.49.0-2_arm64.buildinfo
Files:
 283c1fdb09a102a69c42dee77bda4d12 2557 science optional eccodes_2.49.0-2.dsc
 b3f4969d6f7b25e3d628835c2dbd31ec 13488 science optional eccodes_2.49.0-2.debian.tar.xz
 9f1af89e77a62a3378be653057efd670 14723 science optional eccodes_2.49.0-2_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmrLLo8ACgkQy+a7Tl2a
06W+zQ/+MMdsVygqtl322WCV59HtAVTGrjQKoqM6H2vSwmlV2ZCl77PdD6ObIMp+
kwD7Y4cacwk0//Mj6F57JNUoQZNwMpVOnVGvNC+ZpjUl/bh4uQ2VkNCpA55hZGLZ
OHMvRZkGryNJcbt26e2Rz6XClmtWtDto9saI2bqVv2dwcUlXOZuX2A/KNaBCN7Zl
03vXQyuTnmJqR3/Yd0/zDvTq/GnQ3JbPCRxe8eSO3OhcadWajAMUCJVgbOiW9vXR
8YSohJyN8Wh4JdRXjny2Psz6aFMddeOdSMyk2G9GK53IxGPsdfWCG1Os22+AjeEg
IA+RuFF8+Kj1XX0S61O1RY0ClSSURnxUhrW9r4DHix6e/er1G0iyjq8iMge1TfJS
NbofselGRKedzbXwODwsWjUW2eTwweTF4afzObmayENKVVUYRFNfHKK/PCfCfnd/
QVnZGhWu6djbPkzNxEW+cod2khSViXmsWaW8Tujl1IGKkVUp8LTgmPaEuK5W5mrO
vht51ZXJqHOIOgrGPQpfec0IjisUkYydy0I2g+WzVYNFyRWGnQBI39nwxDkhHPAW
XLkcSWOoiXV7FaRYDz6s5fY1PLlUPKyEg/CQi/iE5bDXuUz4hjAGxTlZt1uXbsFB
Y8CVHEYbXzdkpbI9aAqjDmpo3zsI3UJN0gHkBVYTI/msdWAnU38=
=V3QV
-----END PGP SIGNATURE-----