#1152220 golang-petname FTCBFS: uses the host architecture go compiler

#1152220#5
Date:
2026-10-23 08:43:42 UTC
From:
To:
golang-petname fails to cross build from source, because it uses the
build architecture go compiler. For a long time, we assumed that we'd
have to fix this via golang-any, but as gccgo is no more, we can settle
on golang-go and append :native. Doing so mostly fixes the build except
that the cross installation location is subtly different and
debian/rules assumes too much. I'm attaching a patch that addresses all
of it. Please consider applying it.

Helmut

#1152220#10
Date:
2026-11-01 22:34:10 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-petname, 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 1152220@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mathias Gibbens <gibmat@debian.org> (supplier of updated golang-petname 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 01 Nov 2026 21:54:21 +0000
Source: golang-petname
Architecture: source
Version: 2.14-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Mathias Gibbens <gibmat@debian.org>
Closes: 1152220
Changes:
 golang-petname (2.14-1) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS (Closes: #1152220)
     - Build with golang-go
     - Reduce assumptions about installation location
 .
   [ Mathias Gibbens ]
   * New upstream release
     - Switch to module-aware build
Checksums-Sha1:
 da211105521fd07b629d85fa2821afeb1dc55392 2252 golang-petname_2.14-1.dsc
 ab702f77c6d94a474f15b4bb7df5d6843d533c68 18666 golang-petname_2.14.orig.tar.gz
 23fdce8ce5561014c8bfb61dce37c440268c8726 5472 golang-petname_2.14-1.debian.tar.xz
 62e956fce845165b5112a59d0741f54b4d2f5ebe 6633 golang-petname_2.14-1_amd64.buildinfo
Checksums-Sha256:
 4e61e8fd70095c9415ccc2bc8aee335088f93398d031f7d8194c4403bb276ef4 2252 golang-petname_2.14-1.dsc
 c636bfe2d909eab5ef1fbe37b6f1d9fccd82780a5d11ea2331a1e5b37ae65ea7 18666 golang-petname_2.14.orig.tar.gz
 06cdae80e0e053671f58eb54a2af0e15fc7b80b47e744136d9d2a31054c2a9c9 5472 golang-petname_2.14-1.debian.tar.xz
 1724565fd40ba2987eb2c0f008833aaa52b9d13eeb8cbae36f0ecc80a6e65f1a 6633 golang-petname_2.14-1_amd64.buildinfo
Files:
 d35295d6d54cf632e8e3b608fb13183a 2252 golang optional golang-petname_2.14-1.dsc
 438d76b1ae1573819891dbb577d1cec3 18666 golang optional golang-petname_2.14.orig.tar.gz
 f2ca47652e40d31c7c3923b64cae08e4 5472 golang optional golang-petname_2.14-1.debian.tar.xz
 90a9024c696a524866a0838c445113e1 6633 golang optional golang-petname_2.14-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmrnuYASHGdpYm1hdEBk
ZWJpYW4ub3JnAAoJECnu4tbs9EL5LooQAI/eS2hCCm8tE7zuvDksOTZahMmqVLCR
IJcjWiz+uuNXGiAhRox3q10NbwHMXCPC5gSwESxmYbUtiaeKY8HSMp+f1INznZkL
P3zlDHdaH1ZUOEGg/YnR9bnIOeqD0mmbhCOhIzBaQD39ZVOS0NI8InY6h8dt5KEC
fh2kjNkM1wVzCjs7L162B9cRp8MlRcwGGmJxPDxe7xkLikBnqd6mjMOyo8vA34YB
lc0zmSe8D15JjXB6ijhyPErWCuSFrCCpgaRGHyzh5aANI8uZ78UIJE8ZqTiO9lb0
1TEXkwpUzEKOv06A7ujR+mZQMteA6lkUArNj2vxfEjZWH1izmIHhFEZUd9oNowvn
e3FEQNBV2BQe5hanLA9ooHPdFhx/dMIz5pdHa03EkNz3wnTb+JJhc/RvxFNjAolZ
Cf9hwbsfv/unnnug4JWoZQiD6qkPge1dlF00Bu9KQ2qde3UAsLrv2c2QO+iEFZCr
59kPGUbZzERFJJuEDmt65JwGby2O9dXR1S1viMZokQOgArZLC2aR3xvMzvipaqAq
7VSE9w6EL5BGZfqubAJic9/zKnWSNwIxb2KcVu+n2cYhQDfa0JQqniW5ZDoa32E5
zgWbWAgczMDk95rFY0JQ0qH59LVM7A0lyyEe1pNAKOKxlfEPlY03fU51LsI8RfI+
/HgPp/UlwcLt
=JcjT
-----END PGP SIGNATURE-----