Source: braillefont
Version: 1.0-5
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

braillefont cannot be cross built from source, because its dependency on
binutils is not satisfiable. Build-Depends should be switched to
binutils-for-build or binutils-for-host depending on the way binutils is
being used. In this case, the unversioned dependency already is implied
by build-essential and can be dropped without replacement. Another issue
is the libgd-perl dependency, which is a perl extension module. As such,
a user needs to select the required architecture and sind the module is
to be run during build, it needs to be annotated :native. I'm attaching
a patch for your convenience.

Helmut
diff --minimal -Nru braillefont-1.0/debian/changelog 
braillefont-1.0/debian/changelog
--- braillefont-1.0/debian/changelog    2022-10-15 12:09:42.000000000 +0200
+++ braillefont-1.0/debian/changelog    2023-03-08 09:01:02.000000000 +0100
@@ -1,3 +1,12 @@
+braillefont (1.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix cross building: (Closes: #-1)
+    + Drop unnecessary and unsatisfiable binutils dependency.
+    + Annotate libgd-perl dependency with :native.
+
+ -- Helmut Grohne <[email protected]>  Wed, 08 Mar 2023 09:01:02 +0100
+
 braillefont (1.0-5) unstable; urgency=low
 
   * rules: Turning off trimming of changelogs.
diff --minimal -Nru braillefont-1.0/debian/control 
braillefont-1.0/debian/control
--- braillefont-1.0/debian/control      2022-10-15 12:04:11.000000000 +0200
+++ braillefont-1.0/debian/control      2023-03-08 09:01:02.000000000 +0100
@@ -2,7 +2,7 @@
 Maintainer: Judit Foglszinger <[email protected]>
 Section: text
 Priority: optional
-Build-Depends: libgd-perl, binutils, debhelper (>= 13~), debhelper-compat (= 
13)
+Build-Depends: libgd-perl:native, debhelper (>= 13~), debhelper-compat (= 13)
 Standards-Version: 4.6.1
 Homepage: https://github.com/kilobyte/braillefont
 Rules-Requires-Root: no

Reply via email to