Bug 1105901
| Summary: | golang-pkg-linux-amd64 is missing dependency on gcc | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paul Morgan <jumanjiman> |
| Component: | golang | Assignee: | Vincent Batts <vbatts> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | admiller, golang-updates, jkeck, jumanjiman, lemenkov, renich, s, vbatts |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | golang-1.2.2-9.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-08 14:58:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1101508 *** 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 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 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 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. 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. 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 |
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