[Bug 1381671] Re: reboot tests fail to build on gccgo

Launchpad Bug Tracker 1381671 at bugs.launchpad.net
Wed Apr 1 22:23:20 UTC 2015


This bug was fixed in the package gccgo-5 - 5-20150401-0ubuntu1

---------------
gccgo-5 (5-20150401-0ubuntu1) vivid; urgency=medium

  * Update to SVN 20150401.
    - go/cmd/go: always link external test packages first. LP: #1381671.
 -- Matthias Klose <doko at ubuntu.com>   Wed, 01 Apr 2015 11:57:15 +0200

** Changed in: gccgo-5 (Ubuntu)
       Status: In Progress => Fix Released

-- 
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-5 package in Ubuntu:
  Fix Released
Status in gccgo-go package in Ubuntu:
  In Progress
Status in gcc-4.9 source package in Trusty:
  Invalid
Status in gccgo-5 source package in Trusty:
  Invalid
Status in gccgo-go source package in Trusty:
  New
Status in gcc-4.9 source package in Utopic:
  Invalid
Status in gccgo-5 source package in Utopic:
  Invalid
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