• Bug#1103094: golang-github-xlab-treeprint: FTBFS in testing/i386: dh_au

    From Lucas Nussbaum@21:1/5 to All on Mon Apr 14 13:50:03 2025
    Source: golang-github-xlab-treeprint
    Version: 1.2.0-2
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250414 ftbfs-trixie

    Hi,

    During a rebuild of all packages in testing (trixie), your package failed
    to build on i386.


    Relevant part (hopefully):
    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-i686-linux-gnu && go install -trimpath -v -p 8 github.com/xlab/treeprint
    internal/coverage/rtcov
    internal/godebugs
    internal/unsafeheader
    internal/goarch
    internal/byteorder
    internal/cpu
    internal/goos
    internal/goexperiment
    internal/profilerecord
    internal/abi
    internal/asan
    internal/runtime/atomic
    internal/msan
    internal/runtime/math
    internal/chacha8rand
    internal/runtime/sys
    internal/runtime/syscall
    sync/atomic
    math/bits
    internal/bytealg
    unicode
    internal/runtime/exithook
    unicode/utf8
    cmp
    internal/itoa
    math
    internal/stringslite
    internal/race
    internal/sync
    internal/runtime/maps
    runtime
    iter
    internal/reflectlite
    sync
    slices
    errors
    internal/testlog
    internal/bisect
    internal/oserror
    io
    path
    strconv
    syscall
    bytes
    strings
    internal/godebug
    reflect
    internal/syscall/execenv
    internal/syscall/unix
    time
    io/fs
    internal/poll
    internal/filepathlite
    os
    internal/fmtsort
    fmt
    github.com/xlab/treeprint
    dh_auto_test -O--buildsystem=golang
    cd obj-i686-linux-gnu && go test -vet=off -v -p 8 github.com/xlab/treeprint
    === RUN TestFromStructName
    --- PASS: TestFromStructName (0.00s)
    === RUN TestFromStructTags
    --- PASS: TestFromStructTags (0.00s)
    === RUN TestFromStructType
    --- PASS: TestFromStructType (0.00s)
    === RUN TestFromStructTypeSize
    struct_test.go:115:
    Error Trace: /build/reproducible-path/golang-github-xlab-treeprint-1.2.0/obj-i686-linux-gnu/src/github.com/xlab/treeprint/struct_test.go:115
    Error: Not equal:
    expected: ".\n├── [16] one\n├── [8] two\n└── [72] Three\n ├── [24] SubOne\n ├── [24] SubTwo\n └── [24] SubThree\n └── [8] inner_three\n"
    actual : ".\n├── [8] one\n├── [4] two\n└── [36] Three\n ├── [12] SubOne\n ├── [12] SubTwo\n └── [12] SubThree\n └── [8] inner_three\n"

    Diff:
    --- Expected
    +++ Actual
    @@ -1,8 +1,8 @@
    .
    -├── [16] one
    -├── [8] two
    -└── [72] Three
    - ├── [24] SubOne
    - ├── [24] SubTwo
    - └── [24] SubThree
    +├── [8] one
    +├── [4] two
    +└── [36] Three
    + ├── [12] SubOne
    + ├── [12] SubTwo
    + └── [12] SubThree
    └── [8] inner_three
    Test: TestFromStructTypeSize
    --- FAIL: TestFromStructTypeSize (0.00s)
    === RUN TestFromStructValue
    --- PASS: TestFromStructValue (0.00s)
    === RUN TestFromStructWithMeta
    --- PASS: TestFromStructWithMeta (0.00s)
    === RUN TestZeroNodesWithRoot
    --- PASS: TestZeroNodesWithRoot (0.00s)
    === RUN TestOneNode
    --- PASS: TestOneNode (0.00s)
    === RUN TestOneNodeWithRoot
    --- PASS: TestOneNodeWithRoot (0.00s)
    === RUN TestMetaNode
    --- PASS: TestMetaNode (0.00s)
    === RUN TestTwoNodes
    --- PASS: TestTwoNodes (0.00s)
    === RUN TestLevel
    --- PASS: TestLevel (0.00s)
    === RUN TestNamedRoot
    --- PASS: TestNamedRoot (0.00s)
    === RUN TestDeepLevel
    --- PASS: TestDeepLevel (0.00s)
    === RUN TestComplex
    --- PASS: TestComplex (0.00s)
    === RUN TestIndirectOrder
    --- PASS: TestIndirectOrder (0.00s)
    === RUN TestEdgeTypeAndIndent
    --- PASS: TestEdgeTypeAndIndent (0.00s)
    === RUN TestRelationships
    --- PASS: TestRelationships (0.00s)
    === RUN TestMultiline
    --- PASS: TestMultiline (0.00s)
    === RUN TestVisitAll
    --- PASS: TestVisitAll (0.00s)
    FAIL
    FAIL github.com/xlab/treeprint 0.015s
    FAIL
    dh_auto_test: error: cd obj-i686-linux-gnu && go test -vet=off -v -p 8 github.com/xlab/treeprint returned exit code 1


    The full build log is available from: http://qa-logs.debian.net/2025/04/14/golang-github-xlab-treeprint_1.2.0-2_testing-i386.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250414;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250414&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)