[pkg-go] Bug#819638: golang-github-armon-gomdb: FTBFS: panic: runtime error: cgo argument has Go pointer to Go pointer
Chris Lamb
lamby at debian.org
Thu Mar 31 12:14:11 UTC 2016
Source: golang-github-armon-gomdb
Version: 0.0~git20150106.0.151f2e0-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-armon-gomdb fails to build from source in unstable/amd64:
[..]
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: source package golang-github-armon-gomdb
dpkg-buildpackage: source version 0.0~git20150106.0.151f2e0-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Tianon Gravi <tianon at debian.org>
dpkg-source --before-build golang-github-armon-gomdb-0.0~git20150106.0.151f2e0
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
debian/rules override_dh_auto_build
make[1]: Entering directory '/home/lamby/temp/cdt.20160331130518.JqkdCRDBbl/golang-github-armon-gomdb-0.0~git20150106.0.151f2e0'
# lmdb is embedded -- purge that source
find "/home/lamby/temp/cdt.20160331130518.JqkdCRDBbl/golang-github-armon-gomdb-0.0~git20150106.0.151f2e0/obj-x86_64-linux-gnu" \( -name '*.h' -o -name '*.c' \) -delete
dh_auto_build
go install -v github.com/armon/gomdb
github.com/armon/gomdb
make[1]: Leaving directory '/home/lamby/temp/cdt.20160331130518.JqkdCRDBbl/golang-github-armon-gomdb-0.0~git20150106.0.151f2e0'
dh_auto_test -O--buildsystem=golang
go test -v github.com/armon/gomdb
=== RUN TestEnvOpen
--- PASS: TestEnvOpen (0.00s)
=== RUN TestEnvCopy
--- PASS: TestEnvCopy (0.00s)
env_test.go:67: Env path: /tmp/mdb_test840057194
=== RUN TestTest1
--- FAIL: TestTest1 (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 7 [running, locked to thread]:
panic(0x5a0020, 0xc820012b40)
/usr/lib/go/src/runtime/panic.go:464 +0x3e6
testing.tRunner.func1(0xc82007c3f0)
/usr/lib/go/src/testing/testing.go:467 +0x192
panic(0x5a0020, 0xc820012b40)
/usr/lib/go/src/runtime/panic.go:426 +0x4e9
github.com/armon/gomdb.(*Txn).Put(0xc8200280c8, 0x1, 0xc820012b10, 0x5, 0x8, 0xc820012b18, 0x5, 0x8, 0x10, 0x0, ...)
/home/lamby/temp/cdt.20160331130518.JqkdCRDBbl/golang-github-armon-gomdb-0.0~git20150106.0.151f2e0/obj-x86_64-linux-gnu/src/github.com/armon/gomdb/txn.go:153 +0x179
github.com/armon/gomdb.TestTest1(0xc82007c3f0)
/home/lamby/temp/cdt.20160331130518.JqkdCRDBbl/golang-github-armon-gomdb-0.0~git20150106.0.151f2e0/obj-x86_64-linux-gnu/src/github.com/armon/gomdb/mdb_test.go:54 +0xcde
testing.tRunner(0xc82007c3f0, 0x8b9c50)
/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/armon/gomdb 0.005s
dh_auto_test: go test -v github.com/armon/gomdb returned exit code 1
debian/rules:11: 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-armon-gomdb.0.0~git20150106.0.151f2e0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1008 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160331/eef92618/attachment.obj>
More information about the Pkg-go-maintainers
mailing list