Bug 1105901 - golang-pkg-linux-amd64 is missing dependency on gcc
Summary: golang-pkg-linux-amd64 is missing dependency on gcc
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: golang
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vincent Batts
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-08 22:12 UTC by Paul Morgan
Modified: 2014-08-08 17:44 UTC (History)
8 users (show)

Fixed In Version: golang-1.2.2-9.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-08 14:58:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul Morgan 2014-06-08 22:12:18 UTC
Description of problem:

On a fresh installation of Fedora 20 with golang-1.2.2-7.fc20.x86_64 or Fedora Rawhide with golang-1.3rc1-1.fc21.x86_64, go get errors out with:

    go install runtime/cgo: open /usr/lib/golang/pkg/linux_amd64/runtime/cgo.a: permission denied

Version-Release number of selected component (if applicable): see above


How reproducible: always. see https://github.com/jumanjiman/bz1099206 for a reproducer test harness based on docker with f20 and rawhide images.


Steps to Reproduce:
1. build minimal f20 or rawhide system
2. install golang
3. observe error:

    Running transaction
      Installing : golang-src-1.2.2-7.fc20.noarch                              1/52
      Installing : golang-pkg-bin-linux-amd64-1.2.2-7.fc20.x86_64              2/52
      Installing : golang-1.2.2-7.fc20.x86_64                                  3/52
      Installing : golang-pkg-linux-amd64-1.2.2-7.fc20.noarch                  4/52
    # runtime/cgo
    exec: "gcc": executable file not found in $PATH
    warning: %post(golang-pkg-linux-amd64-1.2.2-7.fc20.noarch) scriptlet failed, exit status 2
    Non-fatal POSTIN scriptlet failure in rpm package golang-pkg-linux-amd64-1.2.2-7.fc20.noarch
      Installing : mpfr-3.1.2-4.fc20.x86_64                                    5/52

Actual results: see above for rpm install error and `go get' error.


Expected results: on fresh install, i should be able to run `go get' without error.


Additional info: if you install gcc _before_ golang in separate yum commands, the above errors do not appear.

See https://app.wercker.com/#applications/5394ce3e85147b684f0c91a4 for output of reproducer test harness. Note the "build images" and "run the test suite" sections.


Potential related BZ:

https://bugzilla.redhat.com/show_bug.cgi?id=1099206

https://bugzilla.redhat.com/show_bug.cgi?id=1099732

Comment 1 Vincent Batts 2014-07-08 14:58:29 UTC

*** This bug has been marked as a duplicate of bug 1101508 ***

Comment 2 Fedora Update System 2014-07-15 16:57:43 UTC
golang-1.2.2-9.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/golang-1.2.2-9.el6

Comment 3 Fedora Update System 2014-07-15 17:10:29 UTC
golang-1.2.2-9.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/golang-1.2.2-9.fc19

Comment 4 Fedora Update System 2014-07-15 18:06:47 UTC
golang-1.2.2-9.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/golang-1.2.2-9.fc20

Comment 5 Fedora Update System 2014-07-26 15:59:27 UTC
golang-1.2.2-9.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2014-07-26 16:00:34 UTC
golang-1.2.2-9.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-08-08 17:44:45 UTC
golang-1.2.2-12.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/golang-1.2.2-12.el6


Note You need to log in before you can comment on or make changes to this bug.