[Bug 1494441] [NEW] ppc64el: cannot find package "encoding"

Launchpad Bug Tracker 1494441 at bugs.launchpad.net
Thu Sep 10 20:20:03 UTC 2015


You have been subscribed to a public bug by Michael Hudson-Doyle (mwhudson):

[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/pkg/encoding (from $GOROOT)
	($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://reports.vapour.ws/releases/3044/job/run-unit-tests-trusty-ppc64el/attempt/3787
    http://reports.vapour.ws/releases/3044/job/build-binary-trusty-ppc64el/attempt/323

make build
skipping godeps
go build github.com/juju/juju/...
../httprequest/marshal.go:8:2: cannot find package "encoding" in any of:
 /usr/src/pkg/encoding (from $GOROOT)
 /home/ubuntu/juju-core_1.26-alpha1/src/encoding (from $GOPATH)
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.

** Affects: juju-core
     Importance: Critical
         Status: Triaged

** Affects: gccgo-go (Ubuntu)
     Importance: Undecided
         Status: In Progress


** Tags: blocker ci ppc64el regression unit-tests
-- 
ppc64el: cannot find package "encoding"
https://bugs.launchpad.net/bugs/1494441
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list