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

Michael Hudson-Doyle michael.hudson+lp at canonical.com
Thu Sep 10 20:09:15 UTC 2015


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)

** Also affects: gccgo-go (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gccgo-go (Ubuntu)
       Status: New => In Progress

** Description changed:

+ [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
+     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.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gccgo-go in Ubuntu.
https://bugs.launchpad.net/bugs/1494441

Title:
  ppc64el: cannot find package "encoding"

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1494441/+subscriptions



More information about the Ubuntu-server-bugs mailing list