Source: golang-github-mattn-go-runewidth
Version: 0.0.14-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=golang --builddirectory=_build
>    dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=_build
>    dh_autoreconf -O--buildsystem=golang -O--builddirectory=_build
>    dh_auto_configure -O--buildsystem=golang -O--builddirectory=_build
>    dh_auto_build -O--buildsystem=golang -O--builddirectory=_build
>       cd _build && go generate -v github.com/mattn/go-runewidth
> src/github.com/mattn/go-runewidth/benchmark_test.go
> src/github.com/mattn/go-runewidth/runewidth.go
> src/github.com/mattn/go-runewidth/runewidth_posix.go
> src/github.com/mattn/go-runewidth/runewidth_posix_test.go
> src/github.com/mattn/go-runewidth/runewidth_test.go
>       cd _build && go install -trimpath -v -p 8 github.com/mattn/go-runewidth
> internal/godebugs
> internal/unsafeheader
> internal/coverage/rtcov
> internal/goexperiment
> unicode/utf8
> internal/goarch
> internal/cpu
> internal/goos
> runtime/internal/atomic
> runtime/internal/syscall
> internal/itoa
> internal/abi
> runtime/internal/math
> runtime/internal/sys
> sync/atomic
> internal/race
> math/bits
> unicode
> github.com/rivo/uniseg
> internal/bytealg
> math
> runtime
> internal/reflectlite
> sync
> internal/testlog
> errors
> sort
> internal/oserror
> path
> io
> internal/safefilepath
> strconv
> syscall
> bytes
> strings
> regexp/syntax
> internal/syscall/execenv
> internal/syscall/unix
> time
> regexp
> io/fs
> internal/poll
> os
> github.com/mattn/go-runewidth
>    dh_auto_test -O--buildsystem=golang -O--builddirectory=_build
>       cd _build && go test -vet=off -v -p 8 github.com/mattn/go-runewidth
> === RUN   TestIsEastAsian
> --- PASS: TestIsEastAsian (0.00s)
> === RUN   TestIsEastAsianLCCTYPE
> --- PASS: TestIsEastAsianLCCTYPE (0.00s)
> === RUN   TestIsEastAsianLANG
> --- PASS: TestIsEastAsianLANG (0.00s)
> === RUN   TestTableChecksums
> --- FAIL: TestTableChecksums (0.02s)
> panic: runtime error: index out of range [0] with length 0 [recovered]
>       panic: runtime error: index out of range [0] with length 0
> 
> goroutine 8 [running]:
> testing.tRunner.func1.2({0x52d8c0, 0xc00001e2b8})
>       /usr/lib/go-1.21/src/testing/testing.go:1545 +0x238
> testing.tRunner.func1()
>       /usr/lib/go-1.21/src/testing/testing.go:1548 +0x397
> panic({0x52d8c0?, 0xc00001e2b8?})
>       /usr/lib/go-1.21/src/runtime/panic.go:914 +0x21f
> github.com/mattn/go-runewidth.inTable(...)
>       
> /<<PKGBUILDDIR>>/_build/src/github.com/mattn/go-runewidth/runewidth.go:64
> github.com/mattn/go-runewidth.TestTableChecksums(0xc000007a00)
>       
> /<<PKGBUILDDIR>>/_build/src/github.com/mattn/go-runewidth/runewidth_test.go:57
>  +0x365
> testing.tRunner(0xc000007a00, 0x547170)
>       /usr/lib/go-1.21/src/testing/testing.go:1595 +0xff
> created by testing.(*T).Run in goroutine 1
>       /usr/lib/go-1.21/src/testing/testing.go:1648 +0x3ad
> FAIL  github.com/mattn/go-runewidth   0.023s
> FAIL
> dh_auto_test: error: cd _build && go test -vet=off -v -p 8 
> github.com/mattn/go-runewidth returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/golang-github-mattn-go-runewidth_0.0.14-1_unstable.log

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