[pkg-go] Bug#1002227: golang-github-templexxx-xor: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/templexxx/xor returned exit code 1
Lucas Nussbaum
lucas at debian.org
Tue Dec 21 16:33:13 GMT 2021
Source: golang-github-templexxx-xor
Version: 0.1.2-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --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-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/templexxx/xor
> internal/goexperiment
> internal/abi
> github.com/templexxx/cpufeat
> internal/cpu
> runtime/internal/atomic
> runtime/internal/sys
> runtime/internal/math
> internal/bytealg
> runtime
> github.com/templexxx/xor
> dh_auto_test -O--buildsystem=golang
> cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/templexxx/xor
> === RUN TestVerifyBytesNoSIMD
> --- PASS: TestVerifyBytesNoSIMD (1.13s)
> === RUN TestVerifyBytes
> --- PASS: TestVerifyBytes (1.13s)
> === RUN TestVerifyBytesSrc1
> unexpected fault address 0x0
> fatal error: fault
> [signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x4e7234]
>
> goroutine 10 [running]:
> runtime.throw({0x511356, 0xc00001a2d0})
> /usr/lib/go-1.17/src/runtime/panic.go:1198 +0x71 fp=0xc000033638 sp=0xc000033608 pc=0x433f11
> runtime.sigpanic()
> /usr/lib/go-1.17/src/runtime/signal_unix.go:742 +0x2f6 fp=0xc000033688 sp=0xc000033638 pc=0x448696
> github.com/templexxx/xor.xorSrc0({0xc00001a288, 0x11, 0x11}, {0xc00001a2a0, 0x11, 0x11}, {0xc00001a2b8, 0x11, 0x11})
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/templexxx/xor/sse2_amd64.s:43 +0x34 fp=0xc000033690 sp=0xc000033688 pc=0x4e7234
> github.com/templexxx/xor.verifyBytesSrc1(0x11)
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/templexxx/xor/xor_test.go:76 +0x132 fp=0xc000033708 sp=0xc000033690 pc=0x4e5552
> github.com/templexxx/xor.TestVerifyBytesSrc1(0xc000500680)
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/templexxx/xor/xor_test.go:59 +0x4c fp=0xc000033770 sp=0xc000033708 pc=0x4e536c
> testing.tRunner(0xc000500680, 0x51b568)
> /usr/lib/go-1.17/src/testing/testing.go:1259 +0x102 fp=0xc0000337c0 sp=0xc000033770 pc=0x4afb02
> testing.(*T).Run·dwrap·21()
> /usr/lib/go-1.17/src/testing/testing.go:1306 +0x2a fp=0xc0000337e0 sp=0xc0000337c0 pc=0x4b080a
> runtime.goexit()
> /usr/lib/go-1.17/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0000337e8 sp=0xc0000337e0 pc=0x463581
> created by testing.(*T).Run
> /usr/lib/go-1.17/src/testing/testing.go:1306 +0x35a
>
> goroutine 1 [chan receive]:
> testing.(*T).Run(0xc000001d40, {0x514042, 0x465c93}, 0x51b568)
> /usr/lib/go-1.17/src/testing/testing.go:1307 +0x375
> testing.runTests.func1(0xc00006a2a0)
> /usr/lib/go-1.17/src/testing/testing.go:1598 +0x6e
> testing.tRunner(0xc000001d40, 0xc000047d18)
> /usr/lib/go-1.17/src/testing/testing.go:1259 +0x102
> testing.runTests(0xc00010c000, {0x5efac0, 0x5, 0x5}, {0x4721cd, 0x512f93, 0x5f3b60})
> /usr/lib/go-1.17/src/testing/testing.go:1596 +0x43f
> testing.(*M).Run(0xc00010c000)
> /usr/lib/go-1.17/src/testing/testing.go:1504 +0x51d
> main.main()
> _testmain.go:97 +0x14b
> FAIL github.com/templexxx/xor 2.263s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/templexxx/xor returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/golang-github-templexxx-xor_0.1.2-5_unstable.log
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 marking 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.
More information about the Pkg-go-maintainers
mailing list