Package: gitbrute
Version: 0~14-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch

Dear maintainer,

The gitbrute package is failing to build in Ubuntu kinetic on ppc64el with a
strange error about a binary with a non-standard build ID length:

[...]
   dh_strip -a
debugedit: Cannot handle 83-byte build ID
dh_strip: error: debugedit --build-id --build-id-seed=gitbrute/0\~14-1 
debian/gitbrute/usr/bin/gitbrute returned exit code 1
[...]

  (https://launchpad.net/ubuntu/+source/gitbrute/0~14-1/+build/23574308)

Looking at the package I see that it is build-depending on gccgo-go.  Almost
all go packages in the archive are built using golang-go, not gccgo-go; the
latter is not a default in the golang ecosystem, and not as well-supported. 
I'm not sure if there's a specific reason you are using gccgo-go, but
switching the build-dependency to golang-go fixes this build failure.

I have not reproduced this specific build failure on Debian, only Ubuntu. 
However, I see that the current build failures in Ubuntu are with gccgo-go
11.3.0-3, whereas the previous successful build in Debian was with gccgo-go
11.2.0-10.  So it is likely that the build failure now also occurs in
unstable, in which case this bug should be considered severity: serious.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru gitbrute-0~14/debian/control gitbrute-0~14/debian/control
--- gitbrute-0~14/debian/control        2021-09-29 14:08:52.000000000 -0700
+++ gitbrute-0~14/debian/control        2022-07-05 16:06:49.000000000 -0700
@@ -2,7 +2,7 @@
 Section: vcs
 Priority: optional
 Maintainer: Adam Borowski <kilob...@angband.pl>
-Build-Depends: debhelper-compat (=13), gccgo-go
+Build-Depends: debhelper-compat (=13), golang-go
 Standards-Version: 4.6.0
 Homepage: https://github.com/bradfitz/gitbrute
 Vcs-Git: https://github.com/kilobyte/gitbrute -b debian

Reply via email to