go-curl does not compile on precise builders
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Go Windows Azure Client Library |
Invalid
|
Undecided
|
Unassigned | ||
juju-core |
Won't Fix
|
Undecided
|
Unassigned | ||
golang (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Precise ships with Go version 1.0.0 (technically the tag is go1, but that is unhelpful)
This version of Go contains a bug in the cgo preprocessor which makes it incompatible with the go-curl library used by gwacl.
ubuntu@
go version go1
ubuntu@
github.
# github.
src/github.
src/github.
src/github.
src/github.
src/github.
callback.go:23:16: note: declared here
src/github.
src/github.
callback.go:23:16: note: declared here
src/github.
src/github.
src/github.
src/github.
callback.go:23:16: note: declared here
src/github.
src/github.
callback.go:23:16: note: declared here
src/github.
src/github.
src/github.
src/github.
callback.go:23:16: note: declared here
src/github.
src/github.
callback.go:23:16: note: declared here
src/github.
src/github.
src/github.
src/github.
callback.go:23:16: note: declared here
src/github.
src/github.
callback.go:23:16: note: declared here
This bug is not present when compiling on Q and R which ship with a version of Go derived from go1.0.2
affects: | gwacl → juju-core |
Changed in golang (Ubuntu): | |
status: | New → Fix Released |
tags: | added: golang-mre |
Changed in juju-core: | |
status: | New → Won't Fix |
I have confirmed that this bug is present when compiling with Go versions up to 1.0.1. This bug was fixed when compiling with Go 1.0.2 or later.