We captured a snippet of the private build log and we can see the issue
is the same as the report. The first call to access bin/juju fails
because it is not there, it is in $GOPATH/bin/linux__ppc64le. VIvid's
gccgo-go thinks it is cross-compiling.

mkdir -p /build/buildd/juju-core-1.21.2/bin/linux_ppc64le/
cp $WORK/github.com/juju/juju/cmd/plugins/juju-restore/_obj/exe/a.out 
/build/buildd/juju-core-1.21.2/bin/linux_ppc64le/juju-restore
go install -x -v -work -gccgoflags -static-libgo github.com/juju/juju/cmd/jujud

....

    doc_generator = GENERATORS[args[1]]()
  File 
"/build/buildd/juju-core-1.21.2/src/github.com/juju/juju/scripts/jujuman.py", 
line 11, in __init__
    self.version = self._version()
  File 
"/build/buildd/juju-core-1.21.2/src/github.com/juju/juju/scripts/jujuman.py", 
line 22, in _version
    juju_version = self.run_juju('version')
  File 
"/build/buildd/juju-core-1.21.2/src/github.com/juju/juju/scripts/jujuman.py", 
line 19, in run_juju
    return subprocess.check_output(cmd).strip()
  File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
debian/rules:43: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/build/buildd/juju-core-1.21.2'
debian/rules:22: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave error 
exit status 2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to