ppc64el compilation error

Bug #1337063 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Dave Cheney

Bug Description

CI is aborting tests before the cloud tests because it cannot build the packages needed by streams. PPC64el cannot be compiled.

From http://juju-ci.vapour.ws:8080/job/publish-revision/581/consoleText
gccgo -I $WORK -c -g -fgo-pkgpath=code.google.com/p/go.crypto/ssh/terminal -fgo-relative-import-path=_/home/ubuntu/juju-build/juju-core-1.19.5/src/code.google.com/p/go.crypto/ssh/terminal -o $WORK/code.google.com/p/go.crypto/ssh/terminal/_obj/terminal.o ./terminal.go ./util.go ./util_linux.go
# code.google.com/p/go.crypto/ssh/terminal
src/code.google.com/p/go.crypto/ssh/terminal/util_linux.go:11:34: error: reference to undefined identifier ‘syscall.TCGETS’
 const ioctlReadTermios = syscall.TCGETS
                                  ^
src/code.google.com/p/go.crypto/ssh/terminal/util_linux.go:12:35: error: reference to undefined identifier ‘syscall.TCSETS’
 const ioctlWriteTermios = syscall.TCSETS
                                   ^
cd /home/ubuntu/juju-build/juju-core-1.19.5/src/github.com/juju/juju/worker/uniter/jujuc
ar cru $WORK/github.com/juju/juju/worker/uniter/libjujuc.a $WORK/github.com/juju/juju/worker/uniter/jujuc/_obj/jujuc.o
cp $WORK/github.com/juju/juju/worker/uniter/libjujuc.a /home/ubuntu/juju-build/juju-core-1.19.5/pkg/gccgo_linux_ppc64/github.com/juju/juju/worker/uniter/libjujuc.a
make[1]: Leaving directory `/home/ubuntu/juju-build/juju-core-1.19.5'
make[1]: *** [override_dh_auto_install] Error 2
make: *** [binary] Error 2

Revision history for this message
Dave Cheney (dave-cheney) wrote : Re: [Bug 1337063] [NEW] ppc64el compilation error
Download full text (3.7 KiB)

Urgh. Let me see if I can get a patch upstream to the ssh/terminal
package to make those constants internal. They are a constant thorn in
everyone's side.

On Thu, Jul 3, 2014 at 1:14 PM, Curtis Hovey <email address hidden> wrote:
> Public bug reported:
>
> CI is aborting tests before the cloud tests because it cannot build the
> packages needed by streams. PPC64el cannot be compiled.
>
> >From http://juju-ci.vapour.ws:8080/job/publish-revision/581/consoleText
> gccgo -I $WORK -c -g -fgo-pkgpath=code.google.com/p/go.crypto/ssh/terminal -fgo-relative-import-path=_/home/ubuntu/juju-build/juju-core-1.19.5/src/code.google.com/p/go.crypto/ssh/terminal -o $WORK/code.google.com/p/go.crypto/ssh/terminal/_obj/terminal.o ./terminal.go ./util.go ./util_linux.go
> # code.google.com/p/go.crypto/ssh/terminal
> src/code.google.com/p/go.crypto/ssh/terminal/util_linux.go:11:34: error: reference to undefined identifier ‘syscall.TCGETS’
> const ioctlReadTermios = syscall.TCGETS
> ^
> src/code.google.com/p/go.crypto/ssh/terminal/util_linux.go:12:35: error: reference to undefined identifier ‘syscall.TCSETS’
> const ioctlWriteTermios = syscall.TCSETS
> ^
> cd /home/ubuntu/juju-build/juju-core-1.19.5/src/github.com/juju/juju/worker/uniter/jujuc
> ar cru $WORK/github.com/juju/juju/worker/uniter/libjujuc.a $WORK/github.com/juju/juju/worker/uniter/jujuc/_obj/jujuc.o
> cp $WORK/github.com/juju/juju/worker/uniter/libjujuc.a /home/ubuntu/juju-build/juju-core-1.19.5/pkg/gccgo_linux_ppc64/github.com/juju/juju/worker/uniter/libjujuc.a
> make[1]: Leaving directory `/home/ubuntu/juju-build/juju-core-1.19.5'
> make[1]: *** [override_dh_auto_install] Error 2
> make: *** [binary] Error 2
>
> ** Affects: juju-core
> Importance: Critical
> Status: Triaged
>
>
> ** Tags: gccgo packaging ppc64el regression
>
> --
> You received this bug notification because you are subscribed to juju-
> core.
> Matching subscriptions: MOAR JUJU SPAM!
> https://bugs.launchpad.net/bugs/1337063
>
> Title:
> ppc64el compilation error
>
> Status in juju-core:
> Triaged
>
> Bug description:
> CI is aborting tests before the cloud tests because it cannot build
> the packages needed by streams. PPC64el cannot be compiled.
>
> From http://juju-ci.vapour.ws:8080/job/publish-revision/581/consoleText
> gccgo -I $WORK -c -g -fgo-pkgpath=code.google.com/p/go.crypto/ssh/terminal -fgo-relative-import-path=_/home/ubuntu/juju-build/juju-core-1.19.5/src/code.google.com/p/go.crypto/ssh/terminal -o $WORK/code.google.com/p/go.crypto/ssh/terminal/_obj/terminal.o ./terminal.go ./util.go ./util_linux.go
> # code.google.com/p/go.crypto/ssh/terminal
> src/code.google.com/p/go.crypto/ssh/terminal/util_linux.go:11:34: error: reference to undefined identifier ‘syscall.TCGETS’
> const ioctlReadTermios = syscall.TCGETS
> ^
> src/code.google.com/p/go.crypto/ssh/terminal/util_linux.go:12:35: error: reference to undefined identifier ‘syscall.TCSETS’
> const ioctlWriteTermios = syscall.TCSETS
> ^
> cd /home/ubuntu/juju-build/juju-core-1.19.5/src/github.c...

Read more...

Revision history for this message
Dave Cheney (dave-cheney) wrote :

Upstream fix proposed, https://codereview.appspot.com/101670043

If it is accepted, I'll need to land a change to juju/dependencies.tsv to pick up the new revision.

Changed in juju-core:
assignee: nobody → Dave Cheney (dave-cheney)
status: Triaged → In Progress
Revision history for this message
Dave Cheney (dave-cheney) wrote :
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.