Package: src:reposurgeon Version: 4.31-1 Severity: serious Tags: ftbfs patch
Dear maintainer: During a rebuild of all packages in bookworm, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary-arch dh binary-arch --builddirectory=_build --buildsystem=golang dh_update_autotools_config -a -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -a -O--builddirectory=_build -O--buildsystem=golang debian/rules execute_before_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' /usr/bin/make surgeon/help-index.go make[2]: Entering directory '/<<PKGBUILDDIR>>' awk --posix -f help-index.awk repository-editing.adoc >surgeon/help-index.go awk: not an option: --posix make[2]: Leaving directory '/<<PKGBUILDDIR>>' sh extractversion.sh -g <NEWS.adoc >surgeon/version.go make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_configure -a -O--builddirectory=_build -O--buildsystem=golang debian/rules execute_after_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' ln -s /<<PKGBUILDDIR>>/debian/go/_src _build/src/gitlab.com/esr/reposurgeon/vendor make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build -a -O--builddirectory=_build -O--buildsystem=golang warning: ignoring symlink /<<PKGBUILDDIR>>/_build/src/gitlab.com/esr/reposurgeon/vendor cd _build && go install -trimpath -v -p 2 gitlab.com/esr/reposurgeon/cutter gitlab.com/esr/reposurgeon/mapper gitlab.com/esr/reposurgeon/surgeon gitlab.com/esr/reposurgeon/tool internal/goarch internal/unsafeheader internal/abi internal/cpu internal/goexperiment internal/goos runtime/internal/atomic internal/bytealg runtime/internal/math runtime/internal/sys runtime/internal/syscall internal/race sync/atomic runtime unicode unicode/utf8 encoding internal/itoa math/bits math golang.org/x/sys/internal/unsafeheader internal/nettrace crypto/internal/subtle crypto/subtle crypto/internal/boring/sig unicode/utf16 container/list golang.org/x/text/encoding/internal/identifier golang.org/x/text/internal/utf8internal vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle internal/reflectlite sync internal/testlog internal/singleflight runtime/cgo errors io bytes strings bufio strconv sort reflect internal/oserror syscall internal/syscall/unix time internal/fmtsort internal/syscall/execenv path internal/poll io/fs encoding/binary os golang.org/x/sys/unix fmt flag context internal/godebug path/filepath golang.org/x/term os/exec regexp/syntax log encoding/base64 mime regexp vendor/golang.org/x/net/dns/dnsmessage gitlab.com/esr/reposurgeon/cutter internal/intern net/netip net os/user archive/tar compress/flate hash hash/crc32 compress/gzip container/heap crypto crypto/cipher net/textproto net/mail crypto/internal/boring crypto/sha1 gitlab.com/esr/reposurgeon/mapper encoding/hex github.com/anmitsu/go-shlex encoding/json github.com/emirpasic/gods/utils github.com/emirpasic/gods/containers github.com/emirpasic/gods/lists github.com/emirpasic/gods/sets github.com/ianbruene/go-difflib/difflib github.com/kballard/go-shellquote github.com/pkg/term/termios io/ioutil github.com/emirpasic/gods/lists/doublylinkedlist gitlab.com/esr/reposurgeon/vendor/github.com/termie/go-shutil github.com/xo/terminfo github.com/emirpasic/gods/sets/linkedhashset gitlab.com/esr/reposurgeon/vendor/gitlab.com/esr/fqme os/signal runtime/trace github.com/chzyer/readline golang.org/x/text/transform golang.org/x/text/encoding golang.org/x/text/encoding/internal golang.org/x/text/encoding/charmap gitlab.com/esr/reposurgeon/vendor/gitlab.com/ianbruene/kommandant golang.org/x/text/encoding/japanese golang.org/x/text/encoding/korean golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese golang.org/x/text/runes golang.org/x/text/encoding/unicode html golang.org/x/text/encoding/ianaindex crypto/internal/randutil math/rand crypto/aes math/big crypto/des crypto/internal/nistec/fiat embed crypto/internal/nistec crypto/rand crypto/internal/boring/bbig crypto/sha512 encoding/asn1 crypto/elliptic crypto/internal/edwards25519/field vendor/golang.org/x/crypto/cryptobyte crypto/internal/edwards25519 crypto/ecdsa crypto/ed25519 crypto/hmac crypto/md5 crypto/rc4 crypto/rsa crypto/sha256 crypto/dsa crypto/x509/pkix encoding/pem net/url vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/sys/cpu crypto/x509 vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/curve25519/internal/field vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi crypto/tls vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/idna vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http2/hpack mime/quotedprintable net/http/httptrace mime/multipart net/http/internal net/http/internal/ascii internal/profile net/http text/tabwriter runtime/pprof runtime/debug text/template/parse text/template gitlab.com/esr/reposurgeon/tool net/http/pprof gitlab.com/esr/reposurgeon/surgeon debian/rules execute_after_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' for i in cutter mapper surgeon tool; do \ cp -al _build/bin/$i repo$i ; \ done /usr/bin/make make[2]: Entering directory '/<<PKGBUILDDIR>>' ./repocutter --docgen >cuttercommands.inc asciidoctor -D. -a nofooter -b manpage reposurgeon.adoc asciidoctor -D. -a nofooter -b manpage repocutter.adoc asciidoctor -D. -a nofooter -b manpage repomapper.adoc asciidoctor -D. -a nofooter -b manpage repotool.adoc asciidoctor -D. -a nofooter -b manpage repobench.adoc asciidoctor -D. -a webfonts! reposurgeon.adoc asciidoctor -D. -a webfonts! repocutter.adoc asciidoctor -D. -a webfonts! repomapper.adoc asciidoctor -D. -a webfonts! repotool.adoc asciidoctor -D. -a webfonts! repobench.adoc asciidoctor -D. -a webfonts! README.adoc asciidoctor -D. -a webfonts! INSTALL.adoc asciidoctor -D. -a webfonts! NEWS.adoc make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test -a -O--builddirectory=_build -O--buildsystem=golang warning: ignoring symlink /<<PKGBUILDDIR>>/_build/src/gitlab.com/esr/reposurgeon/vendor cd _build && go test -vet=off -v -p 2 gitlab.com/esr/reposurgeon/cutter gitlab.com/esr/reposurgeon/mapper gitlab.com/esr/reposurgeon/surgeon gitlab.com/esr/reposurgeon/tool === RUN TestNameSequenceLength names = []string{"AmberAngel", "AmethystAxe", "ArgentAngel", "AmberBear", "AmethystAngel", "ArgentBear", "AmberAxe", "AmethystBear", "ArgentAxe", "AmberAngel1"} --- PASS: TestNameSequenceLength (0.00s) PASS ok gitlab.com/esr/reposurgeon/cutter 0.003s ? gitlab.com/esr/reposurgeon/mapper [no test files] === RUN TestRegexp --- PASS: TestRegexp (0.00s) === RUN TestBackreferences --- PASS: TestBackreferences (0.00s) === RUN TestOrderedStringSet --- PASS: TestOrderedStringSet (0.00s) === RUN TestStringSet --- PASS: TestStringSet (0.00s) === RUN TestSelectionSet --- PASS: TestSelectionSet (0.00s) === RUN TestOrderedMap --- PASS: TestOrderedMap (0.00s) === RUN TestHasReferences --- PASS: TestHasReferences (0.00s) === RUN TestZoneFromEmail reposurgeon: no country-code to timezone mapping reposurgeon_test.go:410: For pistol.cz, expected Europe/Prague saw . reposurgeon: no country-code to timezone mapping --- FAIL: TestZoneFromEmail (0.00s) === RUN TestEmptyComment --- PASS: TestEmptyComment (0.00s) === RUN TestReadMessage --- PASS: TestReadMessage (0.00s) === RUN TestDateFormats --- PASS: TestDateFormats (0.00s) === RUN TestDateRoundtrip --- PASS: TestDateRoundtrip (0.00s) === RUN TestDateComparison --- PASS: TestDateComparison (0.00s) === RUN TestParseAttributionLine --- PASS: TestParseAttributionLine (0.00s) === RUN TestParseAttribution --- PASS: TestParseAttribution (0.00s) === RUN TestChangelogParseAttribution --- PASS: TestChangelogParseAttribution (0.00s) === RUN TestRemapAttribution reposurgeon_test.go:706: Zone was +0000 (0) after remapping. --- FAIL: TestRemapAttribution (0.00s) === RUN TestBlobfile --- PASS: TestBlobfile (0.00s) === RUN TestBlobColor --- PASS: TestBlobColor (0.00s) === RUN TestTag --- PASS: TestTag (0.00s) === RUN TestBranchname --- PASS: TestBranchname (0.00s) === RUN TestStringScan --- PASS: TestStringScan (0.00s) === RUN TestFileOp --- PASS: TestFileOp (0.00s) === RUN TestSimplify --- PASS: TestSimplify (0.00s) === RUN TestCommitMethods --- PASS: TestCommitMethods (0.00s) === RUN TestCommonDirectory --- PASS: TestCommonDirectory (0.00s) === RUN TestParentChildMethods reposurgeon: invalid mark :0 passed to insertParent --- PASS: TestParentChildMethods (0.00s) === RUN TestAlldeletes --- PASS: TestAlldeletes (0.00s) === RUN TestBranchbase --- PASS: TestBranchbase (0.00s) === RUN TestCapture --- PASS: TestCapture (0.00s) === RUN TestSVNParse --- PASS: TestSVNParse (0.00s) === RUN TestFastImportParse1 --- PASS: TestFastImportParse1 (0.00s) === RUN TestReadAuthorMap reposurgeon: in readAuthorMap, while parsing line 3: [ill-formed timezone offset EST] reposurgeon_test.go:1402: expected 3 people but got 2 --- FAIL: TestReadAuthorMap (0.00s) === RUN TestFastImportParse2 --- PASS: TestFastImportParse2 (0.00s) === RUN TestDelete --- PASS: TestDelete (0.00s) === RUN TestResort --- PASS: TestResort (0.00s) === RUN TestRenumber --- PASS: TestRenumber (0.00s) === RUN TestGetSetAttr --- PASS: TestGetSetAttr (0.00s) === RUN TestPathMap --- PASS: TestPathMap (0.00s) === RUN TestDeclaredBranch === RUN TestDeclaredBranch/0 === RUN TestDeclaredBranch/1 === RUN TestDeclaredBranch/2 === RUN TestDeclaredBranch/3 === RUN TestDeclaredBranch/4 === RUN TestDeclaredBranch/5 === RUN TestDeclaredBranch/6 === RUN TestDeclaredBranch/7 === RUN TestDeclaredBranch/8 === RUN TestDeclaredBranch/9 --- PASS: TestDeclaredBranch (0.00s) --- PASS: TestDeclaredBranch/0 (0.00s) --- PASS: TestDeclaredBranch/1 (0.00s) --- PASS: TestDeclaredBranch/2 (0.00s) --- PASS: TestDeclaredBranch/3 (0.00s) --- PASS: TestDeclaredBranch/4 (0.00s) --- PASS: TestDeclaredBranch/5 (0.00s) --- PASS: TestDeclaredBranch/6 (0.00s) --- PASS: TestDeclaredBranch/7 (0.00s) --- PASS: TestDeclaredBranch/8 (0.00s) --- PASS: TestDeclaredBranch/9 (0.00s) === RUN TestBranchSplit --- PASS: TestBranchSplit (0.00s) === RUN TestContainingDir === RUN TestContainingDir/0 === PAUSE TestContainingDir/0 === RUN TestContainingDir/1 === PAUSE TestContainingDir/1 === RUN TestContainingDir/2 === PAUSE TestContainingDir/2 === RUN TestContainingDir/3 === PAUSE TestContainingDir/3 === RUN TestContainingDir/4 === PAUSE TestContainingDir/4 === RUN TestContainingDir/5 === PAUSE TestContainingDir/5 === CONT TestContainingDir/0 === CONT TestContainingDir/5 === CONT TestContainingDir/4 === CONT TestContainingDir/3 === CONT TestContainingDir/2 === CONT TestContainingDir/1 --- PASS: TestContainingDir (0.00s) --- PASS: TestContainingDir/0 (0.00s) --- PASS: TestContainingDir/5 (0.00s) --- PASS: TestContainingDir/4 (0.00s) --- PASS: TestContainingDir/3 (0.00s) --- PASS: TestContainingDir/2 (0.00s) --- PASS: TestContainingDir/1 (0.00s) === RUN TestChangelogParse === RUN TestChangelogParse/0 === PAUSE TestChangelogParse/0 === RUN TestChangelogParse/1 === PAUSE TestChangelogParse/1 === RUN TestChangelogParse/2 === PAUSE TestChangelogParse/2 === RUN TestChangelogParse/3 === PAUSE TestChangelogParse/3 === RUN TestChangelogParse/4 === PAUSE TestChangelogParse/4 === CONT TestChangelogParse/0 === CONT TestChangelogParse/4 === CONT TestChangelogParse/3 === CONT TestChangelogParse/2 === CONT TestChangelogParse/1 --- PASS: TestChangelogParse (0.00s) --- PASS: TestChangelogParse/0 (0.00s) --- PASS: TestChangelogParse/4 (0.00s) --- PASS: TestChangelogParse/3 (0.00s) --- PASS: TestChangelogParse/2 (0.00s) --- PASS: TestChangelogParse/1 (0.00s) === RUN TestWalkManifests --- PASS: TestWalkManifests (0.08s) === RUN TestFilterRegex === RUN TestFilterRegex/0-safe-dft-sub-every-aborts reposurgeon: cannot transform blobs and nonblobs in same command === RUN TestFilterRegex/1-unsafe-dft-first-every === RUN TestFilterRegex/2-unsafe-sub-every === RUN TestFilterRegex/3-dft-first-in-comment === RUN TestFilterRegex/4-explicit-first-in-comment-c1 === RUN TestFilterRegex/5-explicit-first-in-comment-1c === RUN TestFilterRegex/6-two-in-comment === RUN TestFilterRegex/7-dft-first-in-committer === RUN TestFilterRegex/8-committer-every === RUN TestFilterRegex/9-unsafe-bref-every === RUN TestFilterRegex/10-bref-dft-comment === RUN TestFilterRegex/11-bref-explicit-first --- PASS: TestFilterRegex (0.02s) --- PASS: TestFilterRegex/0-safe-dft-sub-every-aborts (0.00s) --- PASS: TestFilterRegex/1-unsafe-dft-first-every (0.00s) --- PASS: TestFilterRegex/2-unsafe-sub-every (0.00s) --- PASS: TestFilterRegex/3-dft-first-in-comment (0.00s) --- PASS: TestFilterRegex/4-explicit-first-in-comment-c1 (0.00s) --- PASS: TestFilterRegex/5-explicit-first-in-comment-1c (0.00s) --- PASS: TestFilterRegex/6-two-in-comment (0.00s) --- PASS: TestFilterRegex/7-dft-first-in-committer (0.00s) --- PASS: TestFilterRegex/8-committer-every (0.00s) --- PASS: TestFilterRegex/9-unsafe-bref-every (0.00s) --- PASS: TestFilterRegex/10-bref-dft-comment (0.00s) --- PASS: TestFilterRegex/11-bref-explicit-first (0.00s) FAIL FAIL gitlab.com/esr/reposurgeon/surgeon 0.117s ? gitlab.com/esr/reposurgeon/tool [no test files] FAIL dh_auto_test: error: cd _build && go test -vet=off -v -p 2 gitlab.com/esr/reposurgeon/cutter gitlab.com/esr/reposurgeon/mapper gitlab.com/esr/reposurgeon/surgeon gitlab.com/esr/reposurgeon/tool returned exit code 1 make: *** [debian/rules:6: binary-arch] Error 25 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- (The above is just how the build ends and not necessarily the most relevant part) Note: I'm using the "patch" tag because there is an obvious fix (indicated in the subject). About the archive rebuild: The build was made using virtual machines from Hetzner, with enough memory, enough disk, and either one or two CPUs, using a reduced chroot with only build-essential packages (plus debhelper). 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 affects, so that this is still visible in the BTS web page for this package. Thanks.