[pkg-go] Bug#819638: Bug#819638: golang-github-armon-gomdb: FTBFS: panic: runtime error: cgo argument has Go pointer to Go pointer
Potter, Tim (HPE Linux Support)
timothy.potter at hpe.com
Wed Apr 6 06:07:19 UTC 2016
On 31 Mar 2016, at 11:14 PM, Chris Lamb <lamby at debian.org> wrote:
[...]
> 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
This appears to be something to do with how cgo rewrites calls to C functions in Go 1.6:
https://github.com/golang/go/issues/14210
I don't fully understand it yet but hopefully I can figure out a fix shortly.
A bigger problem is that now this package could only be runnable under one of Go 1.5
or Go 1.6.
Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160406/3d332e5c/attachment-0001.sig>
More information about the Pkg-go-maintainers
mailing list