Your message dated Sun, 08 Nov 2026 11:33:55 +0000
with message-id <[email protected]>
and subject line Bug#1153326: fixed in arduino-serial-discovery 1.5.2+ds1-2
has caused the Debian Bug report #1153326,
regarding arduino-serial-discovery FTCBFS: multiple reasons
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.)
--
1153326: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153326
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: arduino-serial-discovery
Version: 1.5.2+ds1-1
Tags: patch
User: [email protected]
Usertags: ftcbfs
arduino-serial-discovery fails to cross build from source, because it
fails running the host's Go compiler which cannot be run. Since gccgo
became unsupported, we can change the compiler dependency to golang-go
and since the latter is a multitarget compiler we can annotate it
:native. At that point the actual build succeeds, but assembly of the
binary package still fails due to invalid assumptions on the build
directory layout. During cross compilation, the Go compiler inserts
places files differently. I propose to actually install the files (into
debian/tmp) and then letting dh_install relocate the files as needed.
Please find a patch attached for your convenience. Note that both
"--without single-binary" and "--destdir debian/tmp" will become the
default in debhelper compat level 14 and can be dropped when bumping the
level.
Helmut
diff -Nru arduino-serial-discovery-1.5.2+ds1/debian/changelog
arduino-serial-discovery-1.5.2+ds1/debian/changelog
--- arduino-serial-discovery-1.5.2+ds1/debian/changelog 2026-07-26
19:56:13.000000000 +0200
+++ arduino-serial-discovery-1.5.2+ds1/debian/changelog 2026-11-06
13:26:42.000000000 +0100
@@ -1,3 +1,12 @@
+arduino-serial-discovery (1.5.2+ds1-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Depend on a native golang Go compiler.
+ + Avoid assumptions on build tree and install to debian/tmp/.
+
+ -- Helmut Grohne <[email protected]> Fri, 06 Nov 2026 13:26:42 +0100
+
arduino-serial-discovery (1.5.2+ds1-1) unstable; urgency=medium
* Initial release (Closes: #1142784)
diff -Nru arduino-serial-discovery-1.5.2+ds1/debian/control
arduino-serial-discovery-1.5.2+ds1/debian/control
--- arduino-serial-discovery-1.5.2+ds1/debian/control 2026-07-26
01:21:58.000000000 +0200
+++ arduino-serial-discovery-1.5.2+ds1/debian/control 2026-11-06
13:26:42.000000000 +0100
@@ -5,7 +5,7 @@
Build-Depends: debhelper-compat (= 13),
dh-sequence-golang,
dpkg-build-api (= 1),
- golang-any,
+ golang-go:native,
golang-github-arduino-go-properties-orderedmap-dev,
golang-github-arduino-pluggable-discovery-protocol-handler-dev,
golang-github-bugst-go-serial-dev (>= 1.8.0),
diff -Nru arduino-serial-discovery-1.5.2+ds1/debian/install
arduino-serial-discovery-1.5.2+ds1/debian/install
--- arduino-serial-discovery-1.5.2+ds1/debian/install 2026-07-26
01:24:27.000000000 +0200
+++ arduino-serial-discovery-1.5.2+ds1/debian/install 2026-11-06
13:26:42.000000000 +0100
@@ -1 +1 @@
-debian/_build/bin/serial-discovery
usr/libexec/arduino/builtin/tools/serial-discovery/${env:DEB_VERSION}
+debian/tmp/usr/bin/serial-discovery
usr/libexec/arduino/builtin/tools/serial-discovery/${env:DEB_VERSION}
diff -Nru arduino-serial-discovery-1.5.2+ds1/debian/rules
arduino-serial-discovery-1.5.2+ds1/debian/rules
--- arduino-serial-discovery-1.5.2+ds1/debian/rules 2026-07-26
01:24:56.000000000 +0200
+++ arduino-serial-discovery-1.5.2+ds1/debian/rules 2026-11-06
13:26:42.000000000 +0100
@@ -11,10 +11,10 @@
LDFLAGS += -X $(DH_GOPKG)/version.Timestamp=$(TIMESTAMP)
%:
- dh $@ --builddirectory=debian/_build --buildsystem=golang
+ dh $@ --builddirectory=debian/_build --buildsystem=golang
--without=single-binary
override_dh_auto_build:
dh_auto_build -- -ldflags '$(LDFLAGS)'
override_dh_auto_install:
- # Disable dh_auto_install to install binary in specific location with
dh_install
+ dh_auto_install --destdir debian/tmp -- --no-source
--- End Message ---
--- Begin Message ---
Source: arduino-serial-discovery
Source-Version: 1.5.2+ds1-2
Done: Nicolas Peugnet <[email protected]>
We believe that the bug you reported is fixed in the latest version of
arduino-serial-discovery, 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.
Nicolas Peugnet <[email protected]> (supplier of updated
arduino-serial-discovery 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: Sun, 08 Nov 2026 12:05:47 +0100
Source: arduino-serial-discovery
Architecture: source
Version: 1.5.2+ds1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Nicolas Peugnet <[email protected]>
Closes: 1153326
Changes:
arduino-serial-discovery (1.5.2+ds1-2) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #1153326)
+ Depend on a native golang Go compiler.
+ Avoid assumptions on build tree and install to debian/tmp/.
.
[ Nicolas Peugnet ]
* Bump debhelper-compat to 14:
+ Get rid of now useless control fields.
+ Do not specify --builddirectory now that dh_auto_install is used with
--destdir.
Checksums-Sha1:
c629005cf569500828f3b95f047312d47e516966 2494
arduino-serial-discovery_1.5.2+ds1-2.dsc
7dfc16995e9765b0a39c23825ee576231845c18b 3044
arduino-serial-discovery_1.5.2+ds1-2.debian.tar.xz
0ae1d55d2e5ddae6356535239b19ea46756b260b 6416
arduino-serial-discovery_1.5.2+ds1-2_amd64.buildinfo
Checksums-Sha256:
a1131681f5da650a199539d8f8330a05cd9502e7164856bef387af692d625c6e 2494
arduino-serial-discovery_1.5.2+ds1-2.dsc
08a03b836fab2c4ae7b7d8012decb43eb89b79a913c9f1ff036dc979455a6fd5 3044
arduino-serial-discovery_1.5.2+ds1-2.debian.tar.xz
7590aa183bf104dca849d3785d282a0a6bf640b07d09baba986f67c1896382d2 6416
arduino-serial-discovery_1.5.2+ds1-2_amd64.buildinfo
Files:
cf666ad662ceb79b6f0f031b601576c0 2494 golang optional
arduino-serial-discovery_1.5.2+ds1-2.dsc
ddff194fb61a0e0407847d3ea5bc451a 3044 golang optional
arduino-serial-discovery_1.5.2+ds1-2.debian.tar.xz
1af49c4e04a9342f7f411794a523cc9b 6416 golang optional
arduino-serial-discovery_1.5.2+ds1-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8nKZBfGZIAiZdgVFolSLQbw9IRQFAmrwWLwRHG5pY29sYXNA
Y2x1YjEuZnIACgkQolSLQbw9IRRS2w/7BNECagwGGyK+rewGR7UN7rJgrbwroUTg
X+3A21B5oFwvpdlgxLy8K+g1so12PQh/JEqOX8svgF5He2MDWvMs8444WunatUN0
I++muuQolpoSIJN83CSaTZgD6Lr/AexUz7L92jg0m6K69BQ4eJBeLPbZGSQ74UoW
rwcPYx4r3XisvMYeCE0U4Emd4hck5kefKSyMeXcNtnPVwTksKXMQDOPK2lg3KRQ3
VIYSwm38U0tjmJxkC4w5X3y60X4gcnIUbAHAcosMhRu0rUbJEjX7+8lsWd9TX7it
Vj/+Me5mUA6PjB73vqQqiI+Y2Ix+0cDLFbSwqhrWR5XVnCr81aicFJI0HxEOj/IG
MbZHR1sCe0HUlFghCvNuFVvGvDFJxoDidjhfhN8prynGc5cA+gnIIIRqBV3lyp9d
cgno6VEMTO3qOXpG6YEjbbNl0dJyUsUmCFHp0lLEuupO9I2r/XNrXJxlNDUXBQwv
gA0hHA2M3EhHIKWrR416zyMKTXzj1JW5v1gVl3D+wV0y1Wt59wJphHCqg4eDQN4p
UQS7Owg7x5cvbNIZNEo5AYTXwsB/VdC7ZObqTZGUHwo2gYQxNldGd6rMiFFb+T7H
IXyWLs4Z2U5w/wUauT/UsKcgswFYCyxsc5VaJS90QYPxdxUSGFL0lIXp4+4z7xXm
Ppq5+5M7yRg=
=/lO4
-----END PGP SIGNATURE-----
pgp02frSL_tAx.pgp
Description: PGP signature
--- End Message ---