[pkg-go] Bug#988328: golang-github-pquerna-cachecontrol: FTBFS in tests constant 9223372036854775807 overflows int

Ritesh Raj Sarraf rrs at debian.org
Mon May 10 17:02:12 BST 2021


Source: golang-github-pquerna-cachecontrol
Severity: serious
Tags: ftbfs
Justification: fails to build from source
User: devel at lists.apertis.org
Usertags: apertis-ftbfs
X-Debbugs-Cc: devel at lists.apertis.org

Dear Maintainer,

Not sure if this package had built successfully in the past or not.
Buildd is down while I'm writing this bug report, so I can't really be
sure. I did check reproducible builds and it has been reported to be
failing there.


During a rebuild of the package, it is seen that the package fails in
one of the tests, commonly on 32 bit systems. So far, I can see it fails
on armhf and i386.

*********************************************
   dh_auto_test -O--buildsystem=golang
        cd obj-i686-linux-gnu && go test -vet=off -v -p 8 github.com/pquerna/cachecontrol github.com/pquerna/cachecontrol/cacheobject github.com/pquerna/cachecontrol/examples github.com/pquerna/cachecontrol/examples/lowlevel
# github.com/pquerna/cachecontrol/cacheobject [github.com/pquerna/cachecontrol/cacheobject.test]
src/github.com/pquerna/cachecontrol/cacheobject/directive_test.go:262:43: constant 9223372036854775807 overflows int
=== RUN   TestCachableResponsePublic
--- PASS: TestCachableResponsePublic (0.00s)
=== RUN   TestCachableResponsePrivate
--- PASS: TestCachableResponsePrivate (0.00s)
=== RUN   TestResponseWriter
--- PASS: TestResponseWriter (0.00s)
PASS
ok      github.com/pquerna/cachecontrol 0.007s
FAIL    github.com/pquerna/cachecontrol/cacheobject [build failed]
?       github.com/pquerna/cachecontrol/examples        [no test files]
?       github.com/pquerna/cachecontrol/examples/lowlevel       [no test files]
FAIL
dh_auto_test: error: cd obj-i686-linux-gnu && go test -vet=off -v -p 8 github.com/pquerna/cachecontrol github.com/pquerna/cachecontrol/cacheobject github.com/pquerna/cachecontrol/examples github.com/pquerna/cachecontrol/examples/lowlevel returned exit code 2
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Command `dpkg-buildpackage --changes-option=-DDistribution=bullseye` failed.

*********************************************



More information about the Pkg-go-maintainers mailing list