[pkg-go] Bug#1098561: golang-github-smartystreets-assertions: FTBFS: stringer: internal error: package "bytes" without types was imported from "github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch"
Santiago Vila
sanvila at debian.org
Fri Feb 21 23:27:19 GMT 2025
Package: src:golang-github-smartystreets-assertions
Version: 1.10.1+ds-2
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/smartystreets/assertions github.com/smartystreets/assertions/assert github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch github.com/smartystreets/assertions/internal/go-render/render github.com/smartystreets/assertions/internal/unit github.com/smartystreets/assertions/should
src/github.com/smartystreets/assertions/collections.go
src/github.com/smartystreets/assertions/collections_test.go
src/github.com/smartystreets/assertions/doc.go
src/github.com/smartystreets/assertions/doc_test.go
src/github.com/smartystreets/assertions/equal_method.go
src/github.com/smartystreets/assertions/equal_method_test.go
src/github.com/smartystreets/assertions/equality.go
src/github.com/smartystreets/assertions/equality_diff.go
src/github.com/smartystreets/assertions/equality_test.go
src/github.com/smartystreets/assertions/filter.go
src/github.com/smartystreets/assertions/messages.go
src/github.com/smartystreets/assertions/panic.go
src/github.com/smartystreets/assertions/panic_test.go
src/github.com/smartystreets/assertions/quantity.go
src/github.com/smartystreets/assertions/quantity_test.go
src/github.com/smartystreets/assertions/serializer.go
src/github.com/smartystreets/assertions/serializer_test.go
src/github.com/smartystreets/assertions/strings.go
src/github.com/smartystreets/assertions/strings_test.go
src/github.com/smartystreets/assertions/time.go
src/github.com/smartystreets/assertions/time_test.go
src/github.com/smartystreets/assertions/type.go
src/github.com/smartystreets/assertions/type_test.go
src/github.com/smartystreets/assertions/utilities_for_test.go
src/github.com/smartystreets/assertions/assert/assert.go
src/github.com/smartystreets/assertions/assert/assert_failed_test.go
src/github.com/smartystreets/assertions/assert/assert_passed_test.go
src/github.com/smartystreets/assertions/assert/logger.go
src/github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch/diff.go
stringer: internal error: package "bytes" without types was imported from "github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch"
src/github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch/diff.go:28: running "stringer": exit status 1
src/github.com/smartystreets/assertions/internal/go-render/render/render.go
src/github.com/smartystreets/assertions/internal/go-render/render/render_test.go
src/github.com/smartystreets/assertions/internal/go-render/render/render_time.go
src/github.com/smartystreets/assertions/internal/unit/fixture.go
src/github.com/smartystreets/assertions/should/should.go
dh_auto_build: error: cd obj-x86_64-linux-gnu && go generate -v github.com/smartystreets/assertions github.com/smartystreets/assertions/assert github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch github.com/smartystreets/assertions/internal/go-render/render github.com/smartystreets/assertions/internal/unit github.com/smartystreets/assertions/should returned exit code 1
make: *** [debian/rules:8: 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-smartystreets-assertions, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-go-maintainers
mailing list