ppc64el: cannot find package "encoding"
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
Critical
|
Unassigned | ||
| | gccgo-go (Ubuntu) |
Undecided
|
Unassigned | ||
| | Trusty |
Undecided
|
Unassigned | ||
Bug Description
[Impact]
There is a packaging bug that means that go packages that import the little used standard library package "encoding" fail to compile.
[Test case]
$ cat enctest.go
package main
import (_ "encoding")
func main() {}
$ go run enctest.go
enctest.go:3:9: cannot find package "encoding" in any of:
/usr/src/
($GOPATH not set)
[Regression potential]
None that I can see.
Original description follows:
Bug 1440940 has reappeared in ppc64el unit tests and now affects building binaries.
http://
http://
make build
skipping godeps
go build github.
../httprequest/
/usr/src/
/home/
make: *** [build] Error 1
Unlike the first occurrence, we now use a machine that only gets trusty-updates and has only ever been used to run "make test" on the unpacked tree. Binaries are built in pristine containers provisioned to match the Lp build conditions.
Related branches
| Curtis Hovey (sinzui) wrote : | #1 |
| description: | updated |
| Michael Hudson-Doyle (mwhudson) wrote : | #2 |
This is really a packaging bug that I thought I'd fixed a seriously long time ago, but apparently the fix never got into trusty. Let's do it right (I guess the juju commit can be reverted in the mean time to fix that task)
| Changed in gccgo-go (Ubuntu): | |
| status: | New → In Progress |
| Steve Langasek (vorlon) wrote : | #4 |
Invalid for trunk because gccgo-go is only present in trusty. for wily this is fixed in the gcc-5 package.
| Changed in gccgo-go (Ubuntu Trusty): | |
| status: | New → In Progress |
| Changed in gccgo-go (Ubuntu): | |
| status: | In Progress → Invalid |
| Martin Packman (gz) wrote : | #5 |
This has been temporarily addressed on master by backing out the change responsible:
| Changed in juju-core: | |
| status: | Triaged → Fix Committed |
| tags: | removed: blocker |
| Changed in juju-core: | |
| status: | Fix Committed → Fix Released |
Hello Curtis, or anyone else affected,
Accepted gccgo-go into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in gccgo-go (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Michael Hudson-Doyle (mwhudson) wrote : | #7 |
I have verified that the bug is fixed in trusty-proposed.
(trusty-
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii gccgo-go 1.2.1-0ubuntu1.1 ppc64el Go tool for use with gccgo
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package gccgo-go - 1.2.1-0ubuntu1.1
---------------
gccgo-go (1.2.1-0ubuntu1.1) trusty; urgency=medium
* Add "encoding" to the list of standard library packages (LP: #1494441)
-- Michael Hudson-Doyle <email address hidden> Fri, 11 Sep 2015 08:06:33 +1200
| Changed in gccgo-go (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #9 |
The verification of the Stable Release Update for gccgo-go has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.


The only change from the last success as /github. com/juju/ juju/commit/ d5fe7eb455740f0 bc29f69971eacf4 666ef1d3e0
https:/