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

Dave Cheney 1494441 at bugs.launchpad.net
Mon Sep 14 21:20:29 UTC 2015


** Tags removed: blocker

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1494441

Title:
  ppc64el: cannot find package "encoding"

Status in juju-core:
  Fix Committed
Status in gccgo-go package in Ubuntu:
  Invalid
Status in gccgo-go source package in Trusty:
  In Progress

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/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.

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



More information about the Ubuntu-sponsors mailing list