[pkg-go] Bug#1098551: golang-github-cockroachdb-apd: FTBFS: stringer: internal error: package "fmt" without types was imported from "github.com/cockroachdb/apd"

Santiago Vila sanvila at debian.org
Fri Feb 21 23:26:56 GMT 2025


Package: src:golang-github-cockroachdb-apd
Version: 3.2.1-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=golang --with=golang
   dh_auto_clean -O--buildsystem=golang
   dh_autoreconf_clean -O--buildsystem=golang
   dh_clean -O--buildsystem=golang
 debian/rules binary
dh binary --buildsystem=golang --with=golang
   dh_update_autotools_config -O--buildsystem=golang
   dh_autoreconf -O--buildsystem=golang
   dh_auto_configure -O--buildsystem=golang
   dh_auto_build -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go generate -v github.com/cockroachdb/apd
src/github.com/cockroachdb/apd/bench_test.go
src/github.com/cockroachdb/apd/bigint.go
src/github.com/cockroachdb/apd/bigint_go1.14_test.go
src/github.com/cockroachdb/apd/bigint_go1.15.go
src/github.com/cockroachdb/apd/bigint_go1.15_test.go
src/github.com/cockroachdb/apd/bigint_test.go
src/github.com/cockroachdb/apd/condition.go
src/github.com/cockroachdb/apd/const.go
src/github.com/cockroachdb/apd/const_test.go
src/github.com/cockroachdb/apd/context.go
src/github.com/cockroachdb/apd/decimal.go
stringer: internal error: package "fmt" without types was imported from "github.com/cockroachdb/apd"
src/github.com/cockroachdb/apd/decimal.go:63: running "stringer": exit status 1
src/github.com/cockroachdb/apd/example_test.go
dh_auto_build: error: cd obj-x86_64-linux-gnu && go generate -v github.com/cockroachdb/apd returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-github-cockroachdb-apd, so that this is still
visible in the BTS web page for this package.

Thanks.



More information about the Pkg-go-maintainers mailing list