[Bug 1417771] [NEW] juju-core vivid ppc64el fails to build

Curtis Hovey curtis at canonical.com
Tue Feb 3 21:23:42 UTC 2015


Public bug reported:

The vivid ppc64el builds are failing. The last success was on
2015-01.20. their first failure was on 2015-01-23.

We suspect that golang-go sets the wrong GOARCH in vivid.

We cannot see the build logs because Lp is a punk. The builds were in the ~juju-package stable and devel ppas
    https://launchpad.net/~juju-packaging/+archive/ubuntu/stable/+packages
    https://launchpad.net/~juju-packaging/+archive/ubuntu/devel/+packages?field.name_filter=juju-core&field.status_filter=superseded&field.series_filter=vivid

Using the source packages at
    https://launchpad.net/~juju-packaging/+archive/ubuntu/stable/+packages?field.name_filter=juju-core&field.status_filter=published&field.series_filter=vivid

We trued to build it in a vivid lxc on a ppc64el machine (stilson-07).
the build failed at the first call to use the built juju. The first call
is to generate the man pages using "juju version" and "juju help
commands" debian/rules sets the GOPATH  and then adds the GOPATH/bin to
PATH. The build binaries were placed in $GOPATH/bin/linux__ppc64le, not
$GOPATH/bin!

The "dpkg --print-architecture" for both the host and the container are  "ppc64el".
The host'ss "go env" shows GOARCH="ppc64"
The container's "go env" shows GOARCH="ppc64le"

I can contrive a successful build doing this
    GOARCH=ppc64 dpkg-buildpackage -us -uc

So we could change debian/rules, but we first need to understand if
GOARCH for vivid ppc64el is sane.

** Affects: juju-release-tools
     Importance: High
     Assignee: Curtis Hovey (sinzui)
         Status: Triaged

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


** Tags: packaging ppc64el vivid

** Changed in: juju-release-tools
     Assignee: (unassigned) => Curtis Hovey (sinzui)

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

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

Title:
  juju-core vivid ppc64el fails to build

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-release-tools/+bug/1417771/+subscriptions



More information about the Ubuntu-server-bugs mailing list