Public bug reported:

fortran-jonquil 0.3.2-1 fails to build from source in stonking.

Regressing architectures (0.3.0-3 built there, 0.3.2-1 fails): amd64, amd64v3, 
arm64.
(armhf, ppc64el, riscv64 and s390x are in Dependency wait on
libfortran-testdrive-dev and libfortran-toml-dev. That wait was already there
with 0.3.0-3, so it is not a regression.)

Build logs:
  - amd64:   
https://launchpad.net/ubuntu/+source/fortran-jonquil/0.3.2-1/+build/33015484/+files/buildlog_ubuntu-stonking-amd64.fortran-jonquil_0.3.2-1_BUILDING.txt.gz
  - amd64v3: 
https://launchpad.net/ubuntu/+source/fortran-jonquil/0.3.2-1/+build/33015485/+files/buildlog_ubuntu-stonking-amd64v3.fortran-jonquil_0.3.2-1_BUILDING.txt.gz
  - arm64:   
https://launchpad.net/ubuntu/+source/fortran-jonquil/0.3.2-1/+build/33015486/+files/buildlog_ubuntu-stonking-arm64.fortran-jonquil_0.3.2-1_BUILDING.txt.gz

Failure (in override_dh_auto_install):
  fpm install --compiler gfortran ... 
--prefix=/<<PKGBUILDDIR>>/debian/tmp-gfortran-15/usr
  <ERROR>Key type is not allowed in library
  STOP 1
  make[1]: *** [debian/rules:30: override_dh_auto_install] Error 1

Root cause: debian/patches/libs.patch adds `[library] type = ['static', 
'shared']`
to fpm.toml. Only fpm >= 0.13 accepts this key. Ubuntu stonking still has
fortran-fpm 0.12.0-5ubuntu1, while Debian unstable/testing builds with
fortran-fpm 0.13.0-6. The Build-Depends on fortran-fpm has no minimum version,
so the mismatch is not caught.

Suggested fix: merge fortran-fpm 0.13.0-6 from Debian, then rebuild
fortran-jonquil. jonquil itself needs no source change. Debian could also add
a versioned Build-Depends: fortran-fpm (>= 0.13). Dropping libs.patch in an
Ubuntu delta would work too, but it changes which libraries the package ships.

No existing reports: nothing in Launchpad (fortran-jonquil, fortran-fpm) or in
the Debian BTS (src:fortran-jonquil), and no relevant upstream fix
(https://github.com/toml-f/jonquil).

** Affects: fortran-jonquil (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs stonking update-excuse

** Tags added: ftbfs stonking update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2168916

Title:
  fortran-jonquil 0.3.2-1 FTBFS: fpm 0.12 rejects '[library] type' key
  (needs fortran-fpm >= 0.13)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fortran-jonquil/+bug/2168916/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to