[pkg-go] Bug#1028876: golang-github-elithrar-simple-scrypt: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/elithrar/simple-scrypt returned exit code 1
Lucas Nussbaum
lucas at debian.org
Sat Jan 14 12:58:39 GMT 2023
Source: golang-github-elithrar-simple-scrypt
Version: 1.3.0-1.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 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 8 github.com/elithrar/simple-scrypt
> internal/unsafeheader
> internal/race
> internal/goarch
> internal/goos
> internal/goexperiment
> internal/cpu
> runtime/internal/atomic
> runtime/internal/syscall
> sync/atomic
> math/bits
> internal/abi
> runtime/internal/math
> runtime/internal/sys
> unicode/utf8
> crypto/internal/subtle
> crypto/subtle
> internal/itoa
> unicode
> crypto/internal/boring/sig
> internal/bytealg
> math
> runtime
> sync
> internal/reflectlite
> internal/testlog
> math/rand
> sort
> errors
> io
> internal/oserror
> internal/safefilepath
> strconv
> path
> syscall
> hash
> bytes
> strings
> crypto/internal/randutil
> reflect
> crypto
> internal/syscall/unix
> internal/syscall/execenv
> time
> io/fs
> internal/poll
> internal/fmtsort
> encoding/binary
> os
> crypto/cipher
> crypto/internal/boring
> fmt
> crypto/hmac
> crypto/sha256
> golang.org/x/crypto/pbkdf2
> golang.org/x/crypto/scrypt
> encoding/hex
> math/big
> crypto/rand
> github.com/elithrar/simple-scrypt
> dh_auto_test -O--buildsystem=golang
> cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/elithrar/simple-scrypt
> === RUN TestGenerateRandomBytes
> --- PASS: TestGenerateRandomBytes (0.00s)
> === RUN TestGenerateFromPassword
> --- PASS: TestGenerateFromPassword (7.30s)
> === RUN TestCompareHashAndPassword
> --- PASS: TestCompareHashAndPassword (0.15s)
> === RUN TestCost
> --- PASS: TestCost (0.05s)
> === RUN TestDecodeHash
> --- PASS: TestDecodeHash (0.00s)
> === RUN TestCalibrate
> scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:131072, R:8, P:1, SaltLen:16, DKLen:32} took 460.41929ms (<nil>)
> scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:65536, R:8, P:1, SaltLen:16, DKLen:32} took 208.831283ms (<nil>)
> scrypt_test.go:145: 1. GenerateFromPassword was too fast (expected between 250ms and 750ms, got 208.831283ms) with scrypt.Params{N:65536, R:8, P:1, SaltLen:16, DKLen:32}.
> scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:65536, R:8, P:2, SaltLen:16, DKLen:32} took 430.032204ms (<nil>)
> scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:3, SaltLen:16, DKLen:32} took 301.567837ms (<nil>)
> scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:16384, R:8, P:9, SaltLen:16, DKLen:32} took 441.288848ms (<nil>)
> scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:8192, R:8, P:21, SaltLen:16, DKLen:32} took 495.450304ms (<nil>)
> scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:4096, R:8, P:37, SaltLen:16, DKLen:32} took 415.015943ms (<nil>)
> scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:512, R:8, P:341, SaltLen:16, DKLen:32} took 462.293517ms (<nil>)
> --- FAIL: TestCalibrate (17.63s)
> FAIL
> FAIL github.com/elithrar/simple-scrypt 25.150s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/elithrar/simple-scrypt returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2023/01/13/golang-github-elithrar-simple-scrypt_1.3.0-1.1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lucas@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.
More information about the Pkg-go-maintainers
mailing list