[Bug 1381671] Re: reboot tests fail to build on gccgo
Dave Cheney
1381671 at bugs.launchpad.net
Tue Mar 31 23:53:06 UTC 2015
The fix for gccgo-5 has landed upstream
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=221782
Can gccgo-5 in Vivid be rebuilt at or after revision 221782.
The patch is also available and should apply cleanly to gccgo-go in
Trusty.
https://codereview.appspot.com/222890043
** Changed in: gcc-4.9 (Ubuntu)
Status: Incomplete => In Progress
** Changed in: gcc-4.9 (Ubuntu)
Status: In Progress => Invalid
** Changed in: gccgo-go (Ubuntu)
Status: Invalid => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.9 in Ubuntu.
https://bugs.launchpad.net/bugs/1381671
Title:
reboot tests fail to build on gccgo
Status in juju-core:
Fix Released
Status in gcc-4.9 package in Ubuntu:
Invalid
Status in gccgo-go package in Ubuntu:
In Progress
Status in gcc-4.9 source package in Trusty:
New
Status in gccgo-go source package in Trusty:
New
Status in gcc-4.9 source package in Utopic:
New
Status in gccgo-go source package in Utopic:
New
Bug description:
The reboot tests cannot be built on ppc64el which uses the gccgo
compiler.
We see
FAIL github.com/juju/juju/api/reboot [build failed]
which is confirmed by this output earlier in the unittest log
# testmain
/tmp/go-build573700990/github.com/juju/juju/api/reboot/_test/github.com/juju/juju/api/libreboot.a(reboot.o): In function `github_com_juju_juju_api_reboot.ClearReboot.pN37_github_com_juju_juju_api_reboot.State':
/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:67: multiple definition of `github_com_juju_juju_api_reboot.ClearReboot.pN37_github_com_juju_juju_api_reboot.State'
/tmp/go-build573700990/github.com/juju/juju/api/libreboot.a(reboot.o):/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:67: first defined here
/tmp/go-build573700990/github.com/juju/juju/api/reboot/_test/github.com/juju/juju/api/libreboot.a(reboot.o): In function `github_com_juju_juju_api_reboot.GetRebootAction.pN37_github_com_juju_juju_api_reboot.State':
/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:90: multiple definition of `github_com_juju_juju_api_reboot.GetRebootAction.pN37_github_com_juju_juju_api_reboot.State'
/tmp/go-build573700990/github.com/juju/juju/api/libreboot.a(reboot.o):/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:90: first defined here
/tmp/go-build573700990/github.com/juju/juju/api/reboot/_test/github.com/juju/juju/api/libreboot.a(reboot.o): In function `github_com_juju_juju_api_reboot.RequestReboot.pN37_github_com_juju_juju_api_reboot.State':
/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:45: multiple definition of `github_com_juju_juju_api_reboot.RequestReboot.pN37_github_com_juju_juju_api_reboot.State'
/tmp/go-build573700990/github.com/juju/juju/api/libreboot.a(reboot.o):/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:45: first defined here
/tmp/go-build573700990/github.com/juju/juju/api/reboot/_test/github.com/juju/juju/api/libreboot.a(reboot.o): In function `github_com_juju_juju_api_reboot.WatchForRebootEvent.pN37_github_com_juju_juju_api_reboot.State':
/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:30: multiple definition of `github_com_juju_juju_api_reboot.WatchForRebootEvent.pN37_github_com_juju_juju_api_reboot.State'
/tmp/go-build573700990/github.com/juju/juju/api/libreboot.a(reboot.o):/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:30: first defined here
/tmp/go-build573700990/github.com/juju/juju/api/reboot/_test/github.com/juju/juju/api/libreboot.a(reboot.o):(.data.rel.ro.__go_tdn_github_com_juju_juju_api_reboot.State+0x0): multiple definition of `__go_tdn_github_com_juju_juju_api_reboot.State'
/tmp/go-build573700990/github.com/juju/juju/api/libreboot.a(reboot.o):(.data.rel.ro.__go_tdn_github_com_juju_juju_api_reboot.State+0x0): first defined here
/tmp/go-build573700990/github.com/juju/juju/api/reboot/_test/github.com/juju/juju/api/libreboot.a(reboot.o): In function `github_com_juju_juju_api_reboot.State$hash':
/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/export_test.go:12: multiple definition of `github_com_juju_juju_api_reboot.State$hash'
/tmp/go-build573700990/github.com/juju/juju/api/libreboot.a(reboot.o):/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:109: first defined here
/tmp/go-build573700990/github.com/juju/juju/api/reboot/_test/github.com/juju/juju/api/libreboot.a(reboot.o): In function `github_com_juju_juju_api_reboot.State$equal':
/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/export_test.go:12: multiple definition of `github_com_juju_juju_api_reboot.State$equal'
/tmp/go-build573700990/github.com/juju/juju/api/libreboot.a(reboot.o):/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:109: first defined here
/tmp/go-build573700990/github.com/juju/juju/api/reboot/_test/github.com/juju/juju/api/libreboot.a(reboot.o):(.rodata.github_com_juju_juju_api_reboot.NewState$descriptor+0x0): multiple definition of `github_com_juju_juju_api_reboot.NewState$descriptor'
/tmp/go-build573700990/github.com/juju/juju/api/libreboot.a(reboot.o):(.rodata.github_com_juju_juju_api_reboot.NewState$descriptor+0x0): first defined here
/tmp/go-build573700990/github.com/juju/juju/api/reboot/_test/github.com/juju/juju/api/libreboot.a(reboot.o): In function `github_com_juju_juju_api_reboot.NewState':
/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:20: multiple definition of `github_com_juju_juju_api_reboot.NewState'
/tmp/go-build573700990/github.com/juju/juju/api/libreboot.a(reboot.o):/home/ubuntu/juju-core_1.21-alpha2/src/github.com/juju/juju/api/reboot/reboot.go:20: first defined here
collect2: error: ld returned 1 exit status
I believe these tests were introduced in commit 6ffffa3
To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1381671/+subscriptions
More information about the foundations-bugs
mailing list