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

    From Reinhard Tartler@21:1/5 to Lucas Nussbaum on Sun Apr 27 23:20:01 2025
    Control: severity -1 important
    Control: retitle -1 "Tests fail on 32-bit architecture"

    Hi Lucas, thanks for filing this bug. I took a closer look at it and
    believe it is known upstream for quite a while (since Jun 2019) as https://github.com/xlab/treeprint/issues/10.

    I agree that this is an important issue that should be fixed, however, I
    don't think this is severe enough to warrant RC severity, hence
    downgrading to 'important'.

    Best,
    -rt

    Lucas Nussbaum <lucas@debian.org> writes:


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


    Relevant part (hopefully):
    [...]
    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)

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