• Bug#1098561: golang-github-smartystreets-assertions: FTBFS: stringer: i

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:40:14 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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Mar 3 20:10:02 2025
    This is a multi-part message in MIME format...

    Your message dated Mon, 3 Mar 2025 19:57:45 +0100
    with message-id <Z8X7qevHlVgxCJYX@thunder.hadrons.org>
    and subject line Bugs fixes by new golang-golang-x-tools 1:0.25.0+ds-1 upload has caused the Debian Bug report #1098561,
    regarding golang-github-smartystreets-assertions: FTBFS: stringer: internal error: package "bytes" without types was imported from "github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch"
    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 owner@bugs.debian.org
    immediately.)


    --
    1098561: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098561
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 21 Feb 2025 23:27:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-121.6 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 103; hammy, 150; neutral, 78; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--sk:dh_auto,
    0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila, 0.000-+--sk:golang Return-path: <sanvila@debian.org>
    Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:49860)
    from C=NA,ST=NA,L=Ankh