Source: d52
Version: 3.4.1-1.3
Tags: patch
User: [email protected]
Usertags: ftcbfs

d52 fails to cross build from source, because it uses cdbs and as a
result uses the build architecture compiler. Cross building using cdbs
isn't supported well, so I propose converting the package to debhelper.
Once doing so, it just cross builds out of the box. I'm attaching a
patch for your convenience.

Helmut
diff --minimal -Nru d52-3.4.1/debian/changelog d52-3.4.1/debian/changelog
--- d52-3.4.1/debian/changelog  2024-03-24 21:03:49.000000000 +0100
+++ d52-3.4.1/debian/changelog  2024-10-30 21:36:21.000000000 +0100
@@ -1,3 +1,10 @@
+d52 (3.4.1-1.4) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Convert to debhelper. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 30 Oct 2024 21:36:21 +0100
+
 d52 (3.4.1-1.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru d52-3.4.1/debian/dirs d52-3.4.1/debian/dirs
--- d52-3.4.1/debian/dirs       2024-03-24 21:03:41.000000000 +0100
+++ d52-3.4.1/debian/dirs       1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/bin
diff --minimal -Nru d52-3.4.1/debian/install d52-3.4.1/debian/install
--- d52-3.4.1/debian/install    1970-01-01 01:00:00.000000000 +0100
+++ d52-3.4.1/debian/install    2024-10-30 21:35:33.000000000 +0100
@@ -0,0 +1,3 @@
+d52 usr/bin
+d48 usr/bin
+dz80 usr/bin
diff --minimal -Nru d52-3.4.1/debian/rules d52-3.4.1/debian/rules
--- d52-3.4.1/debian/rules      2024-03-24 21:03:49.000000000 +0100
+++ d52-3.4.1/debian/rules      2024-10-30 21:36:09.000000000 +0100
@@ -1,12 +1,6 @@
 #!/usr/bin/make -f
 
-DEB_MAKE_INSTALL_TARGET :=
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/makefile.mk
-
-install/d52::
-       install d52 debian/d52/usr/bin
-       install d48 debian/d52/usr/bin
-       install dz80 debian/d52/usr/bin
+%:
+       dh $@
 
+override_dh_auto_install:

Reply via email to