Source: id3
Version: 1.1.3-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

id3 fails to cross build from source for multiple reasons. The immediate
failure arises from running the host's Go compiler. Since gccgo has
become unsupported, we may replace golang-any with golang-go and since
the latter is a multitarget compiler, we may annotate it :native. Once
doing so, the build passes, but installation fails as debian/rules makes
inappropriate assumptions about the layout of the build tree. I suggest
actually running dh_auto_install (in a forward-compatible way using
debian/tmp) and then staging files to be installed from there. Please
consider applying the attached patch.

Helmut
diff -Nru id3-1.1.3/debian/changelog id3-1.1.3/debian/changelog
--- id3-1.1.3/debian/changelog  2026-11-02 22:03:15.000000000 +0100
+++ id3-1.1.3/debian/changelog  2026-11-21 16:01:50.000000000 +0100
@@ -1,3 +1,12 @@
+id3 (1.1.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Build-Depend on a native golang-go.
+    + Reduce assumptions on the build tree.
+
+ -- Helmut Grohne <[email protected]>  Sat, 21 Nov 2026 16:01:50 +0100
+
 id3 (1.1.3-1) unstable; urgency=medium
 
   * New upstream release:
diff -Nru id3-1.1.3/debian/control id3-1.1.3/debian/control
--- id3-1.1.3/debian/control    2026-11-02 22:03:15.000000000 +0100
+++ id3-1.1.3/debian/control    2026-11-21 16:01:49.000000000 +0100
@@ -7,7 +7,7 @@
  dh-package-notes,
  dh-sequence-single-binary,
  dpkg-build-api (= 1),
- golang-any,
+ golang-go:native,
  golang-github-jessevdk-go-flags-dev,
  golang-github-sirupsen-logrus-dev,
  golang-github-stretchr-testify-dev,
diff -Nru id3-1.1.3/debian/id3.install id3-1.1.3/debian/id3.install
--- id3-1.1.3/debian/id3.install        2026-11-02 22:03:15.000000000 +0100
+++ id3-1.1.3/debian/id3.install        2026-11-21 16:01:50.000000000 +0100
@@ -1 +1 @@
-_build/bin/id3 usr/bin
+usr/bin/id3
diff -Nru id3-1.1.3/debian/rules id3-1.1.3/debian/rules
--- id3-1.1.3/debian/rules      2026-11-02 22:03:15.000000000 +0100
+++ id3-1.1.3/debian/rules      2026-11-21 16:01:50.000000000 +0100
@@ -25,6 +25,7 @@
        env TEST_ID3=./_build/bin/id3 python3 -m pytest -- python/tests/unit
 
 override_dh_auto_install:
+       dh_auto_install --destdir=debian/tmp -- --no-source
 
 override_dh_installchangelogs:
        dh_installchangelogs -X CHANGES

Reply via email to