[pkg-go] Bug#841616: golang-github-azure-azure-sdk-for-go: FTBFS: src/github.com/Azure/go-autorest/autorest/azure/token.go:140: undefined: jwt.MapClaims

Lucas Nussbaum lucas at debian.org
Fri Oct 21 13:47:36 UTC 2016


Source: golang-github-azure-azure-sdk-for-go
Version: 2.1.1~beta-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161021 qa-ftbfs
Justification: FTBFS on amd64

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_testdir -O--buildsystem=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	go install -v -p 1 github.com/Azure/azure-sdk-for-go/arm/authorization github.com/Azure/azure-sdk-for-go/arm/cdn github.com/Azure/azure-sdk-for-go/arm/compute github.com/Azure/azure-sdk-for-go/arm/dns github.com/Azure/azure-sdk-for-go/arm/examples github.com/Azure/azure-sdk-for-go/arm/examples/helpers github.com/Azure/azure-sdk-for-go/arm/intune github.com/Azure/azure-sdk-for-go/arm/logic github.com/Azure/azure-sdk-for-go/arm/network github.com/Azure/azure-sdk-for-go/arm/notificationhubs github.com/Azure/azure-sdk-for-go/arm/redis github.com/Azure/azure-sdk-for-go/arm/resources/authorization github.com/Azure/azure-sdk-for-go/arm/resources/features github.com/Azure/azure-sdk-for-go/arm/resources/resources github.com/Azure/azure-sdk-for-go/arm/resources/subscriptions github.com/Azure/azure-sdk-for-go/arm/scheduler github.com/Azure/azure-sdk-for-go/arm/search github.com/Azure/azure-sdk-for-go/arm/storage github.com/Azure/azure-sdk-for-go/arm/web github.com/Azure/azure-sdk-for-go/core/http github.com/Azure/azure-sdk-for-go/core/tls github.com/Azure/azure-sdk-for-go/management github.com/Azure/azure-sdk-for-go/management/affinitygroup github.com/Azure/azure-sdk-for-go/management/hostedservice github.com/Azure/azure-sdk-for-go/management/location github.com/Azure/azure-sdk-for-go/management/networksecuritygroup github.com/Azure/azure-sdk-for-go/management/osimage github.com/Azure/azure-sdk-for-go/management/sql github.com/Azure/azure-sdk-for-go/management/storageservice github.com/Azure/azure-sdk-for-go/management/testutils github.com/Azure/azure-sdk-for-go/management/virtualmachine github.com/Azure/azure-sdk-for-go/management/virtualmachinedisk github.com/Azure/azure-sdk-for-go/management/virtualmachineimage github.com/Azure/azure-sdk-for-go/management/virtualnetwork github.com/Azure/azure-sdk-for-go/management/vmutils github.com/Azure/azure-sdk-for-go/storage
> github.com/Azure/go-autorest/autorest
> github.com/Azure/go-autorest/autorest/date
> github.com/dgrijalva/jwt-go
> github.com/Azure/go-autorest/autorest/azure
> # github.com/Azure/go-autorest/autorest/azure
> src/github.com/Azure/go-autorest/autorest/azure/token.go:140: undefined: jwt.MapClaims
> github.com/Azure/go-autorest/autorest/to
> github.com/Azure/azure-sdk-for-go/core/tls
> github.com/Azure/azure-sdk-for-go/core/http
> golang.org/x/crypto/pkcs12/internal/rc2
> golang.org/x/crypto/pkcs12
> github.com/Azure/azure-sdk-for-go/management
> github.com/Azure/azure-sdk-for-go/management/affinitygroup
> github.com/Azure/azure-sdk-for-go/management/hostedservice
> github.com/Azure/azure-sdk-for-go/management/location
> github.com/Azure/azure-sdk-for-go/management/networksecuritygroup
> github.com/Azure/azure-sdk-for-go/management/osimage
> github.com/Azure/azure-sdk-for-go/management/sql
> github.com/Azure/azure-sdk-for-go/management/storageservice
> github.com/Azure/azure-sdk-for-go/management/testutils
> github.com/Azure/azure-sdk-for-go/management/virtualmachinedisk
> github.com/Azure/azure-sdk-for-go/management/virtualmachine
> github.com/Azure/azure-sdk-for-go/management/virtualmachineimage
> github.com/Azure/azure-sdk-for-go/management/virtualnetwork
> github.com/Azure/azure-sdk-for-go/management/vmutils
> github.com/Azure/azure-sdk-for-go/storage
> dh_auto_build: go install -v -p 1 github.com/Azure/azure-sdk-for-go/arm/authorization github.com/Azure/azure-sdk-for-go/arm/cdn github.com/Azure/azure-sdk-for-go/arm/compute github.com/Azure/azure-sdk-for-go/arm/dns github.com/Azure/azure-sdk-for-go/arm/examples github.com/Azure/azure-sdk-for-go/arm/examples/helpers github.com/Azure/azure-sdk-for-go/arm/intune github.com/Azure/azure-sdk-for-go/arm/logic github.com/Azure/azure-sdk-for-go/arm/network github.com/Azure/azure-sdk-for-go/arm/notificationhubs github.com/Azure/azure-sdk-for-go/arm/redis github.com/Azure/azure-sdk-for-go/arm/resources/authorization github.com/Azure/azure-sdk-for-go/arm/resources/features github.com/Azure/azure-sdk-for-go/arm/resources/resources github.com/Azure/azure-sdk-for-go/arm/resources/subscriptions github.com/Azure/azure-sdk-for-go/arm/scheduler github.com/Azure/azure-sdk-for-go/arm/search github.com/Azure/azure-sdk-for-go/arm/storage github.com/Azure/azure-sdk-for-go/arm/web github.com/Azure/azure-sdk-for-go/core/http github.com/Azure/azure-sdk-for-go/core/tls github.com/Azure/azure-sdk-for-go/management github.com/Azure/azure-sdk-for-go/management/affinitygroup github.com/Azure/azure-sdk-for-go/management/hostedservice github.com/Azure/azure-sdk-for-go/management/location github.com/Azure/azure-sdk-for-go/management/networksecuritygroup github.com/Azure/azure-sdk-for-go/management/osimage github.com/Azure/azure-sdk-for-go/management/sql github.com/Azure/azure-sdk-for-go/management/storageservice github.com/Azure/azure-sdk-for-go/management/testutils github.com/Azure/azure-sdk-for-go/management/virtualmachine github.com/Azure/azure-sdk-for-go/management/virtualmachinedisk github.com/Azure/azure-sdk-for-go/management/virtualmachineimage github.com/Azure/azure-sdk-for-go/management/virtualnetwork github.com/Azure/azure-sdk-for-go/management/vmutils github.com/Azure/azure-sdk-for-go/storage returned exit code 2
> debian/rules:9: recipe for target 'build' failed
> make: *** [build] Error 2

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/21/golang-github-azure-azure-sdk-for-go_2.1.1~beta-2_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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list