Your message dated Mon, 18 Aug 2025 14:37:53 +0000
with message-id <[email protected]>
and subject line Bug#1107057: fixed in suitesparse 1:7.11.0+dfsg-1
has caused the Debian Bug report #1107057,
regarding suitesparse FTCBFS: gfortran dependency not satisfiable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1107057: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107057
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: suitesparse
Version: 1:7.10.1+dfsg-1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

suitesparse fails to cross build from source, because its build
dependency on gfortran is not satisfiable. Generally, bare toolchain
names are not satisfiable in cross builds as they do not indicate what
architecture it is being used for. We need to annotate such dependencies
indicating whether they are needed for the build or host architecture.
In this case, it should be gfortran-for-host.

Note that merely replacing the package name is not enough. It'll work
for cross builds but break native builds. The -for-host variant does not
provide the bare toolchain name. You may not run it as "gfortran" (even
when building natively). Instead, ${DEB_HOST_GNU_TYPE}-gfortran must be
used. We sought for alternative solutions, but every other alternative
degrades some other use case. That said, adding the architecture prefix
is never wrong and hence we now recommend being explicit over being
implicit.

I'm attaching a patch for your convenience. It happens to also reduce
Build-Depends a bit more to get the Python stuff removed from the
arch-only build.

I do not consider the patch appropriate for inclusion in trixie. It is
meant for forky.

Helmut
diff --minimal -Nru suitesparse-7.10.1+dfsg/debian/changelog 
suitesparse-7.10.1+dfsg/debian/changelog
--- suitesparse-7.10.1+dfsg/debian/changelog    2025-03-09 20:48:30.000000000 
+0100
+++ suitesparse-7.10.1+dfsg/debian/changelog    2025-05-31 10:21:42.000000000 
+0200
@@ -1,3 +1,11 @@
+suitesparse (1:7.10.1+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use gfortran-for-host (Closes: #-1)
+  + Demote more Build-Depends to B-D-I.
+
+ -- Helmut Grohne <[email protected]>  Sat, 31 May 2025 10:21:42 +0200
+
 suitesparse (1:7.10.1+dfsg-1) unstable; urgency=medium
 
   * New upstream version 7.10.1+dfsg
diff --minimal -Nru suitesparse-7.10.1+dfsg/debian/control 
suitesparse-7.10.1+dfsg/debian/control
--- suitesparse-7.10.1+dfsg/debian/control      2025-03-02 10:36:08.000000000 
+0100
+++ suitesparse-7.10.1+dfsg/debian/control      2025-05-31 10:21:42.000000000 
+0200
@@ -5,19 +5,19 @@
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                cmake,
-               dh-sequence-python3,
-               python3-setuptools
 Build-Depends-Arch: pkgconf,
-                    gfortran,
+                    gfortran-for-host,
                     libblas-dev,
                     liblapack-dev,
                     libgmp-dev,
                     libmpfr-dev
-Build-Depends-Indep: texlive-latex-extra,
+Build-Depends-Indep: dh-sequence-python3,
+                     texlive-latex-extra,
                      texlive-plain-generic,
                      texlive-bibtex-extra,
                      texlive-fonts-extra,
                      ghostscript,
+                     python3-setuptools,
                      texlive-science,
                      texlive-xetex,
                      python3-pygments
diff --minimal -Nru suitesparse-7.10.1+dfsg/debian/rules 
suitesparse-7.10.1+dfsg/debian/rules
--- suitesparse-7.10.1+dfsg/debian/rules        2025-03-02 10:36:08.000000000 
+0100
+++ suitesparse-7.10.1+dfsg/debian/rules        2025-05-31 10:21:42.000000000 
+0200
@@ -4,6 +4,10 @@
 
 include /usr/share/dpkg/default.mk
 
+ifeq ($(origin FC),default)
+export FC := $(DEB_HOST_GNU_TYPE)-gfortran
+endif
+
 PDF_DOCS := AMD/Doc/AMD_UserGuide.pdf CAMD/Doc/CAMD_UserGuide.pdf 
CHOLMOD/Doc/CHOLMOD_UserGuide.pdf KLU/Doc/KLU_UserGuide.pdf 
Mongoose/Doc/Mongoose_UserGuide.pdf UMFPACK/Doc/UMFPACK_QuickStart.pdf 
UMFPACK/Doc/UMFPACK_UserGuide.pdf LDL/Doc/ldl_userguide.pdf 
ParU/Doc/paru_user_guide.pdf SPQR/Doc/spqr_user_guide.pdf 
SPEX/Doc/SPEX_UserGuide.pdf
 
 # Force CMake buildsystem, because otherwise the top-level Makefile is used
@@ -35,7 +39,7 @@
 execute_after_dh_auto_clean:
        make purge
        rm -f $(PDF_DOCS)
-       pybuild --clean
+       if [ -e .pybuild ]; then pybuild --clean; fi
        # For some unknown reason, pybuild --clean does not clean the following
        rm -rf .pybuild
 

--- End Message ---
--- Begin Message ---
Source: suitesparse
Source-Version: 1:7.11.0+dfsg-1
Done: Sébastien Villemot <[email protected]>

We believe that the bug you reported is fixed in the latest version of
suitesparse, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <[email protected]> (supplier of updated suitesparse 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 18 Aug 2025 15:56:48 +0200
Source: suitesparse
Architecture: source
Version: 1:7.11.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<[email protected]>
Changed-By: Sébastien Villemot <[email protected]>
Closes: 1107057
Changes:
 suitesparse (1:7.11.0+dfsg-1) unstable; urgency=medium
 .
   [ Sébastien Villemot ]
   * New upstream version 7.11.0+dfsg
   * d/copyright: reflect upstream changes
   * Drop “Rules-Requires-Root: no”, which is now the default
   * Bump S-V to 4.7.2
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Use gfortran-for-host (Closes: #1107057)
   * Demote more Build-Depends to B-D-I.
Checksums-Sha1:
 32c0860bff9db32727f865612462332147f97899 3443 suitesparse_7.11.0+dfsg-1.dsc
 37baccdf9b429729f159e751514d012ec6c49866 51737572 
suitesparse_7.11.0+dfsg.orig.tar.xz
 080b3df58977321b533626e9833f3a8f92bb3b4b 35608 
suitesparse_7.11.0+dfsg-1.debian.tar.xz
 eaf9c6d0ef46c7c7365f04e15113ff83281cfb08 22133 
suitesparse_7.11.0+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 3a3515ba9c5c21c25eb3ecd07afc22051dda2c63171ca5f2ccbad265b2012180 3443 
suitesparse_7.11.0+dfsg-1.dsc
 f404f57699673be896a147db93b28855a4e48ce50d98b7243a9b02522a4be162 51737572 
suitesparse_7.11.0+dfsg.orig.tar.xz
 76f92d3d5bd13b131c09eafdd1e134d826a6caa96262ea6906514996a4f3459c 35608 
suitesparse_7.11.0+dfsg-1.debian.tar.xz
 68a509bb0aa797a84a1cf6514e551bd69e374330d0b4367172571ebb9a69b628 22133 
suitesparse_7.11.0+dfsg-1_amd64.buildinfo
Files:
 4af4eed44a7468e35f923b7a13d5f06d 3443 math optional 
suitesparse_7.11.0+dfsg-1.dsc
 5334d8b85cd06935eb9c79da52b196d5 51737572 math optional 
suitesparse_7.11.0+dfsg.orig.tar.xz
 4e5ae33268fd1d4389b1b11dc8cce9ae 35608 math optional 
suitesparse_7.11.0+dfsg-1.debian.tar.xz
 df7a67fd81eba7dc607d95b7e9e177a8 22133 math optional 
suitesparse_7.11.0+dfsg-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAmijMhUACgkQLOzpNQ7O
vkqb5Q/9HybsCb3Odwx2qmoTKQM9TpOTdV1tq2iXhd7dN0wBIfM+EHWMgjZ0Ns5p
e0qzum3MHAIedvDwpmGe7e6JUDHOP3JSGMGPmwvVsORlfgmwF8ZR/eB1LTTHLZhg
Q6ypaLBUmlJyr4rkaJn8R+6wwKRlsvm/v2JUpyh09xC6m2IyabVVOYaGNIupKV0e
q90ifu4U/n98APmxnJq//BVdUtBKgsVrRONk+KcRwnPAMyoFGBIqQN1f8tJa+PLA
tWqf7vV8QcQJ0NnmaXRRVOw1kqcwWrnueAERKr16yRw2Ng3ZjR60LX6gw4yzdGmq
j3S43UOSTToGySZBRBG1MrpGXE0sabDBz8lQ4nVbFVje7EEWLiH7n+JVCoQlXzja
2271iDQSkfX1N4tJLer8/IcNz5E3vpQYRqJyqgUmzSdJWaf7WMrhCdl8z2my7mEo
Ucp3OlptIYGAslJWSBzdG5h1ZLB9HxBI3vHk6Z9UuEyvz3rhbSLkUGN9fU3O8lzN
xBnt/Iu5dQfkyNAc0p4NXeIU6e3bSO6LpUNQKMpVM4zqQXIiRZhT3blaLrY7ADkl
j9spleFFo89ACmGuZ0sA8+QiyPVuYlArFg6oSP+yp/j1H3TzSJBxMty+pQCSM4lP
B6mxt6agAcLK5owlhzMIvZBjkrFgMFeyc57fGPk4uW/eOnzNzOk=
=I4n6
-----END PGP SIGNATURE-----

Attachment: pgpeSEyAZ5WGX.pgp
Description: PGP signature


--- End Message ---

Reply via email to