Source: dh-make-golang
Version: 0.7.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20241223 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, this package failed to build
on armhf.

This package currently has binary packages on armhf, so this is a regression.
Also, there are no known issues on amd64 or arm64 according to recent (a couple
days ago) rebuilds.

The rebuild was done using an armhf chroot on an AWS "m6g" instance (Graviton2
CPU).

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # golang.org/x/tools/go/vcs v0.1.0-deprecated
> ln -s /<<PKGBUILDDIR>>/debian/go/src \
>     _build/src/github.com/Debian/dh-make-golang/vendor
> # github.com/google/go-github/github (with Go modules disabled)
> sed -i -e 's#go-github/v[0-9]\+/github#go-github/github#' \
>     _build/src/github.com/Debian/dh-make-golang/main.go
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
> warning: ignoring symlink 
> /<<PKGBUILDDIR>>/_build/src/github.com/Debian/dh-make-golang/vendor
>       cd _build && go install -trimpath -v -p 4 
> github.com/Debian/dh-make-golang
> internal/byteorder
> internal/goarch
> internal/unsafeheader
> internal/coverage/rtcov
> internal/cpu
> internal/abi
> internal/chacha8rand
> internal/godebugs
> internal/goexperiment
> internal/bytealg
> internal/goos
> internal/profilerecord
> internal/runtime/atomic
> internal/runtime/syscall
> runtime/internal/math
> runtime/internal/sys
> internal/stringslite
> internal/race
> sync/atomic
> internal/asan
> internal/runtime/exithook
> internal/itoa
> internal/msan
> unicode/utf8
> cmp
> math/bits
> unicode
> encoding
> unicode/utf16
> math
> runtime
> github.com/rivo/uniseg
> image/color
> golang.org/x/net/html/atom
> crypto/internal/alias
> github.com/charmbracelet/x/ansi/parser
> crypto/internal/boring/sig
> container/list
> vendor/golang.org/x/crypto/cryptobyte/asn1
> vendor/golang.org/x/crypto/internal/alias
> internal/nettrace
> log/internal
> internal/goversion
> internal/platform
> iter
> internal/reflectlite
> crypto/subtle
> sync
> slices
> internal/weak
> maps
> internal/testlog
> github.com/yuin/goldmark-emoji/definition
> internal/bisect
> internal/singleflight
> runtime/cgo
> errors
> internal/godebug
> internal/oserror
> io
> syscall
> path
> bytes
> strconv
> reflect
> time
> internal/syscall/unix
> internal/syscall/execenv
> strings
> bufio
> sort
> context
> io/fs
> internal/poll
> embed
> internal/filepathlite
> hash
> hash/crc32
> regexp/syntax
> os
> encoding/binary
> internal/fmtsort
> regexp
> encoding/base64
> fmt
> path/filepath
> html
> math/rand
> golang.org/x/sys/unix
> encoding/json
> flag
> compress/flate
> compress/gzip
> encoding/xml
> github.com/dlclark/regexp2/syntax
> encoding/hex
> github.com/charmbracelet/x/ansi
> github.com/aymanbagabas/go-osc52/v2
> database/sql/driver
> github.com/dlclark/regexp2
> github.com/mattn/go-isatty
> github.com/lucasb-eyer/go-colorful
> github.com/mattn/go-runewidth
> net/url
> text/template/parse
> github.com/aymerick/douceur/css
> github.com/gorilla/css/scanner
> github.com/alecthomas/chroma/v2
> github.com/aymerick/douceur/parser
> github.com/microcosm-cc/bluemonday/css
> golang.org/x/net/html
> text/template
> github.com/muesli/reflow/ansi
> github.com/muesli/reflow/indent
> github.com/muesli/reflow/padding
> github.com/muesli/reflow/wordwrap
> github.com/yuin/goldmark/util
> github.com/alecthomas/chroma/v2/formatters/html
> github.com/alecthomas/chroma/v2/formatters/svg
> github.com/alecthomas/chroma/v2/lexers
> github.com/alecthomas/chroma/v2/styles
> github.com/alecthomas/chroma/v2/formatters
> github.com/muesli/termenv
> github.com/microcosm-cc/bluemonday
> github.com/charmbracelet/lipgloss
> golang.org/x/term
> crypto
> crypto/cipher
> crypto/internal/boring
> github.com/charmbracelet/lipgloss/table
> crypto/hmac
> crypto/sha1
> crypto/sha256
> crypto/sha512
> github.com/google/go-querystring/query
> mime
> crypto/internal/randutil
> math/big
> crypto/aes
> crypto/des
> github.com/alecthomas/chroma/v2/quick
> crypto/internal/edwards25519/field
> crypto/internal/nistec/fiat
> crypto/internal/edwards25519
> vendor/golang.org/x/crypto/chacha20
> vendor/golang.org/x/crypto/internal/poly1305
> vendor/golang.org/x/crypto/chacha20poly1305
> vendor/golang.org/x/crypto/hkdf
> vendor/golang.org/x/sys/cpu
> crypto/rand
> crypto/internal/bigmod
> crypto/internal/boring/bbig
> encoding/asn1
> crypto/ed25519
> vendor/golang.org/x/crypto/sha3
> crypto/internal/nistec
> vendor/golang.org/x/crypto/cryptobyte
> crypto/internal/mlkem768
> crypto/md5
> crypto/rc4
> crypto/rsa
> crypto/dsa
> crypto/ecdh
> crypto/elliptic
> crypto/internal/hpke
> crypto/x509/pkix
> encoding/pem
> vendor/golang.org/x/net/dns/dnsmessage
> crypto/ecdsa
> math/rand/v2
> internal/concurrent
> unique
> vendor/golang.org/x/text/transform
> log
> vendor/golang.org/x/text/unicode/norm
> net/netip
> vendor/golang.org/x/text/unicode/bidi
> vendor/golang.org/x/text/secure/bidirule
> vendor/golang.org/x/net/http2/hpack
> mime/quotedprintable
> vendor/golang.org/x/net/idna
> net
> net/http/internal
> net/http/internal/ascii
> io/ioutil
> go/token
> go/scanner
> github.com/yuin/goldmark/text
> go/ast
> go/build/constraint
> github.com/yuin/goldmark/ast
> go/doc/comment
> internal/lazyregexp
> internal/buildcfg
> os/exec
> go/doc
> github.com/yuin/goldmark-emoji/ast
> github.com/yuin/goldmark/extension/ast
> github.com/yuin/goldmark/renderer
> github.com/yuin/goldmark/parser
> github.com/yuin/goldmark/renderer/html
> github.com/charmbracelet/glamour/ansi
> go/internal/typeparams
> go/parser
> github.com/yuin/goldmark
> github.com/yuin/goldmark-emoji
> github.com/charmbracelet/glamour/styles
> github.com/yuin/goldmark/extension
> internal/goroot
> golang.org/x/mod/internal/lazyregexp
> golang.org/x/mod/semver
> golang.org/x/mod/module
> go/build
> github.com/charmbracelet/glamour
> golang.org/x/mod/modfile
> golang.org/x/sync/errgroup
> golang.org/x/sys/execabs
> os/user
> golang.org/x/tools/go/buildutil
> golang.org/x/crypto/openpgp/errors
> golang.org/x/tools/refactor/importgraph
> golang.org/x/crypto/openpgp/armor
> compress/bzip2
> hash/adler32
> compress/zlib
> golang.org/x/crypto/cast5
> golang.org/x/crypto/openpgp/elgamal
> golang.org/x/crypto/openpgp/s2k
> image
> pault.ag/go/debian/version
> pault.ag/go/debian/dependency
> pault.ag/go/debian/hashio
> image/internal/imageutil
> image/jpeg
> pault.ag/go/debian/internal
> pault.ag/go/topsort
> golang.org/x/crypto/openpgp/packet
> net/textproto
> crypto/x509
> vendor/golang.org/x/net/http/httpproxy
> vendor/golang.org/x/net/http/httpguts
> mime/multipart
> golang.org/x/crypto/openpgp/clearsign
> golang.org/x/crypto/openpgp
> pault.ag/go/debian/control
> crypto/tls
> net/http/httptrace
> net/http
> net/http/cookiejar
> net/http/httputil
> github.com/Debian/dh-make-golang/vendor/golang.org/x/tools/go/vcs
> github.com/google/go-github/github
> golang.org/x/net/publicsuffix
> github.com/gregjones/httpcache
> github.com/Debian/dh-make-golang
>    dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
> warning: ignoring symlink 
> /<<PKGBUILDDIR>>/_build/src/github.com/Debian/dh-make-golang/vendor
>       cd _build && go test -vet=off -v -p 4 github.com/Debian/dh-make-golang
> === RUN   TestParseDebianControlDependencies
> --- PASS: TestParseDebianControlDependencies (0.00s)
> === RUN   TestParseGoModDependencies
> --- PASS: TestParseGoModDependencies (0.00s)
> === RUN   TestReformatForControl
> --- PASS: TestReformatForControl (0.00s)
> === RUN   TestMarkdownToLongDescription
>     description_test.go:110: 
>         want
>         ====
>          Styles
>          .
>          You can find all available default styles in our gallery
>          
> (https://github.com/charmbracelet/glamour/tree/master/styles/gallery).
>          Want to create your own style? Learn how!
>          (https://github.com/charmbracelet/glamour/tree/master/styles)
>          .
>          There are a few options for using a custom style:
>          .
>           1. Call glamour.Render(inputText, "desiredStyle")
>           2. Set the GLAMOUR_STYLE environment variable to your desired 
> default
>              style or a file location for a style and call
>              glamour.RenderWithEnvironmentConfig(inputText)
>           3. Set the GLAMOUR_STYLE environment variable and pass
>              glamour.WithEnvironmentConfig() to your custom renderer
>          .
>          Glamourous Projects
>          .
>          Check out these projects, which use glamour:
>          .
>           * Glow (https://github.com/charmbracelet/glow), a markdown renderer 
> for
>             the command-line.
>           * GitHub CLI (https://github.com/cli/cli), GitHub’s official command
>             line tool.
>           * GLab (https://github.com/profclems/glab), An open source GitLab
>             command line tool.
>         
>         got
>         ===
>          Styles
>          .
>          You can find all available default styles in our gallery
>          
> (https://github.com/charmbracelet/glamour/tree/master/styles/gallery).
>          Want to create your own style? Learn how!
>          (https://github.com/charmbracelet/glamour/tree/master/styles)
>          .
>          There are a few options for using a custom style:
>          .
>           1. Call glamour.Render(inputText, "desiredStyle")
>           2. Set the GLAMOUR_STYLE environment variable to your desired 
> default
>              style or a file location for a style and call glamour.
>              RenderWithEnvironmentConfig(inputText)
>           3. Set the GLAMOUR_STYLE environment variable and pass glamour.
>              WithEnvironmentConfig() to your custom renderer
>          .
>          Glamourous Projects
>          .
>          Check out these projects, which use glamour:
>          .
>           * Glow (https://github.com/charmbracelet/glow), a markdown renderer 
> for
>             the command-line.
>           * GitHub CLI (https://github.com/cli/cli), GitHub’s official command
>             line tool.
>           * GLab (https://github.com/profclems/glab), An open source GitLab
>             command line tool.
> --- FAIL: TestMarkdownToLongDescription (0.00s)
> === RUN   TestAcceptInput
> --- PASS: TestAcceptInput (0.00s)
> === RUN   TestNormalizeDebianPackageName
> --- PASS: TestNormalizeDebianPackageName (0.00s)
> === RUN   TestDebianNameFromGopkg
> --- PASS: TestDebianNameFromGopkg (0.00s)
> === RUN   TestUpstreamTarmballUrl
> --- PASS: TestUpstreamTarmballUrl (0.00s)
> === RUN   TestSnapshotVersion
> hint: Using 'master' as the name for the initial branch. This default branch 
> name
> hint: is subject to change. To configure the initial branch name to use in all
> hint: of your new repositories, which will suppress this warning, call:
> hint:
> hint:         git config --global init.defaultBranch <name>
> hint:
> hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
> hint: 'development'. The just-created branch can be renamed via this command:
> hint:
> hint:         git branch -m <name>
> 2024/12/23 13:12:21 Found latest tag "v1"
> 2024/12/23 13:12:21 WARNING: Latest tag "v1" is not a valid SemVer version
> 2024/12/23 13:12:21 Latest tag "v1" matches master
> 2024/12/23 13:12:21 Found latest tag "v1"
> 2024/12/23 13:12:21 WARNING: Latest tag "v1" is not a valid SemVer version
> 2024/12/23 13:12:21 INFO: master is ahead of "v1" by 1 commits
>     version_test.go:83: got "1", want "1+git20150507.1."
> 2024/12/23 13:12:21 Found latest tag "v1"
> 2024/12/23 13:12:21 WARNING: Latest tag "v1" is not a valid SemVer version
> 2024/12/23 13:12:21 INFO: master is ahead of "v1" by 2 commits
>     version_test.go:103: got "1", want "1+git20150508.2."
> --- PASS: TestSnapshotVersion (0.04s)
> FAIL
> FAIL  github.com/Debian/dh-make-golang        0.068s
> FAIL
> dh_auto_test: error: cd _build && go test -vet=off -v -p 4 
> github.com/Debian/dh-make-golang returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2024/12/23/dh-make-golang_0.7.0-1_unstable-armhf.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241223;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241223&fusertaguser=lu...@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.

Reply via email to