[pkg-go] Bug#928549: golang-github-abbot-go-http-auth: FTBFS: cannot find package "golang.org/x/crypto/bcrypt", "golang.org/x/net/context"

Andreas Beckmann anbe at debian.org
Tue May 7 00:01:21 BST 2019


Package: golang-github-abbot-go-http-auth
Version: 0.4.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

golang-github-abbot-go-http-auth/experimental FTBFS with

 debian/rules build
dh build --buildsystem=golang --with=golang --builddirectory=_build
   dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=_build
   dh_autoreconf -O--buildsystem=golang -O--builddirectory=_build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/golang-github-abbot-go-http-auth-0.4.0'
dh_auto_configure
## Install test data files:
cp -v test.*  _build/src/github.com/abbot/go-http-auth//
'test.htdigest' -> '_build/src/github.com/abbot/go-http-auth/test.htdigest'
'test.htpasswd' -> '_build/src/github.com/abbot/go-http-auth/test.htpasswd'
make[1]: Leaving directory '/build/golang-github-abbot-go-http-auth-0.4.0'
   dh_auto_build -O--buildsystem=golang -O--builddirectory=_build
        cd _build && go install -gcflags=all=\"-trimpath=/build/golang-github-abbot-go-http-auth-0.4.0/_build/src\" -asmflags=all=\"-trimpath=/build/golang-github-abbot-go-http-auth-0.4.0/_build/src\" -v -p 3 github.com/abbot/go-http-auth
src/github.com/abbot/go-http-auth/basic.go:12:2: cannot find package "golang.org/x/crypto/bcrypt" in any of:
        /usr/lib/go-1.11/src/golang.org/x/crypto/bcrypt (from $GOROOT)
        /build/golang-github-abbot-go-http-auth-0.4.0/_build/src/golang.org/x/crypto/bcrypt (from $GOPATH)
src/github.com/abbot/go-http-auth/auth.go:7:2: cannot find package "golang.org/x/net/context" in any of:
        /usr/lib/go-1.11/src/golang.org/x/net/context (from $GOROOT)
        /build/golang-github-abbot-go-http-auth-0.4.0/_build/src/golang.org/x/net/context (from $GOPATH)
dh_auto_build: cd _build && go install -gcflags=all=\"-trimpath=/build/golang-github-abbot-go-http-auth-0.4.0/_build/src\" -asmflags=all=\"-trimpath=/build/golang-github-abbot-go-http-auth-0.4.0/_build/src\" -v -p 3 github.com/abbot/go-http-auth returned exit code 1
make: *** [debian/rules:9: build] Error 1


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-github-abbot-go-http-auth_0.4.0-1.log.gz
Type: application/gzip
Size: 4705 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20190507/f3cfa4b4/attachment.gz>


More information about the Pkg-go-maintainers mailing list