[pkg-go] Bug#819643: golang-github-miekg-pkcs11: FTBFS: TestFindObject (0.00s)

Chris Lamb lamby at debian.org
Thu Mar 31 12:18:14 UTC 2016


Source: golang-github-miekg-pkcs11
Version: 0.0~git20151009.0.793689b-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

golang-github-miekg-pkcs11 fails to build from source in unstable/amd64:

  [..]

   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: source package golang-github-miekg-pkcs11
  dpkg-buildpackage: source version 0.0~git20151009.0.793689b-1
  dpkg-buildpackage: source distribution unstable
  dpkg-buildpackage: source changed by Tianon Gravi <tianon at debian.org>
   dpkg-source --before-build golang-github-miekg-pkcs11-0.0~git20151009.0.793689b
  dpkg-buildpackage: host architecture amd64
   fakeroot debian/rules clean
  dh clean --buildsystem=golang --with=golang
     dh_testdir -O--buildsystem=golang
     dh_auto_clean -O--buildsystem=golang
     dh_clean -O--buildsystem=golang
   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 github.com/miekg/pkcs11
  github.com/miekg/pkcs11
     dh_auto_test -O--buildsystem=golang
  	go test -v github.com/miekg/pkcs11
  === RUN   TestGetInfo
  --- PASS: TestGetInfo (0.01s)
  	pkcs11_test.go:63: {CryptokiVersion:{Major:2 Minor:20} ManufacturerID:SoftHSM Flags:0 LibraryDescription:Implementation of PKCS11 LibraryVersion:{Major:1 Minor:3}}
  === RUN   TestFindObject
  --- FAIL: TestFindObject (0.00s)
  panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
  	panic: runtime error: cgo argument has Go pointer to Go pointer
  
  goroutine 6 [running]:
  panic(0x59c920, 0xc8200106e0)
  	/usr/lib/go/src/runtime/panic.go:464 +0x3e6
  testing.tRunner.func1(0xc82008c090)
  	/usr/lib/go/src/testing/testing.go:467 +0x192
  panic(0x59c920, 0xc8200106e0)
  	/usr/lib/go/src/runtime/panic.go:426 +0x4e9
  github.com/miekg/pkcs11.(*Ctx).FindObjectsInit(0xc820028048, 0x1, 0xc82004be60, 0x1, 0x1, 0x0, 0x0)
  	/home/lamby/temp/cdt.20160331130725.AvRJwljnTa/golang-github-miekg-pkcs11-0.0~git20151009.0.793689b/obj-x86_64-linux-gnu/src/github.com/miekg/pkcs11/pkcs11.go:1068 +0xef
  github.com/miekg/pkcs11.TestFindObject(0xc82008c090)
  	/home/lamby/temp/cdt.20160331130725.AvRJwljnTa/golang-github-miekg-pkcs11-0.0~git20151009.0.793689b/obj-x86_64-linux-gnu/src/github.com/miekg/pkcs11/pkcs11_test.go:72 +0x1a8
  testing.tRunner(0xc82008c090, 0x8b2418)
  	/usr/lib/go/src/testing/testing.go:473 +0x98
  created by testing.RunTests
  	/usr/lib/go/src/testing/testing.go:582 +0x892
  exit status 2
  FAIL	github.com/miekg/pkcs11	0.015s
  dh_auto_test: go test -v github.com/miekg/pkcs11 returned exit code 1
  debian/rules:10: recipe for target 'build' failed
  make: *** [build] Error 1

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-github-miekg-pkcs11.0.0~git20151009.0.793689b-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 954 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160331/4b521801/attachment.obj>


More information about the Pkg-go-maintainers mailing list