Source: gsl
Version: 2.8+dfsg-4
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

gsl cannot be cross built from source, because its dependencies on gcc
and binutils cannot satisfied. They need "toolchain dependency cross
translation" which has been unavailable until earlier this year.
However, it turns out that these dependencies are always satisfied for
native builds since at least buster, so we may just drop them instead.
I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru gsl-2.8+dfsg/debian/changelog gsl-2.8+dfsg/debian/changelog
--- gsl-2.8+dfsg/debian/changelog       2024-10-29 00:21:35.000000000 +0100
+++ gsl-2.8+dfsg/debian/changelog       2024-11-04 22:04:01.000000000 +0100
@@ -1,3 +1,11 @@
+gsl (2.8+dfsg-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1), gcc (>= 4:4.0), binutils (>= 2.12.90.0.9)
+    + Drop versioned gcc and binutils dependencies satisfied before buster.
+
+ -- Helmut Grohne <[email protected]>  Mon, 04 Nov 2024 22:04:01 +0100
+
 gsl (2.8+dfsg-4) unstable; urgency=medium
 
   * siman/siman.c: Assert n_tries > 0 [CVE-2024-50610] (Closes: #1086206)
diff --minimal -Nru gsl-2.8+dfsg/debian/control gsl-2.8+dfsg/debian/control
--- gsl-2.8+dfsg/debian/control 2024-05-25 19:58:56.000000000 +0200
+++ gsl-2.8+dfsg/debian/control 2024-11-04 22:04:00.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Dirk Eddelbuettel <[email protected]>
 Standards-Version: 4.7.0
-Build-Depends: gawk | awk, debhelper-compat (= 13), gcc (>= 4:4.0), binutils 
(>= 2.12.90.0.9)
+Build-Depends: gawk | awk, debhelper-compat (= 13)
 Vcs-Browser: https://salsa.debian.org/edd/gsl
 Vcs-Git: https://salsa.debian.org/edd/gsl.git
 Homepage: https://www.gnu.org/software/gsl

Reply via email to