https://bugzilla.redhat.com/show_bug.cgi?id=1105901
Bug ID: 1105901 Summary: golang-pkg-linux-amd64 is missing dependency on gcc Product: Fedora Version: 20 Component: golang Assignee: vbatts@redhat.com Reporter: jumanjiman@gmail.com QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, golang@lists.fedoraproject.org, lemenkov@gmail.com, lsm5@redhat.com, renich@woralelandia.com, s@shk.io, vbatts@redhat.com
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
https://bugzilla.redhat.com/show_bug.cgi?id=1105901
Vincent Batts vbatts@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |DUPLICATE Last Closed| |2014-07-08 10:58:29
--- Comment #1 from Vincent Batts vbatts@redhat.com ---
*** This bug has been marked as a duplicate of bug 1101508 ***
https://bugzilla.redhat.com/show_bug.cgi?id=1105901
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1105901
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1105901
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1105901
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |golang-1.2.2-9.fc19 Resolution|DUPLICATE |ERRATA
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1105901
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|golang-1.2.2-9.fc19 |golang-1.2.2-9.fc20
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1105901
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- 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
golang@lists.fedoraproject.org