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(a)redhat.com
Reporter: jumanjiman(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, golang(a)lists.fedoraproject.org,
lemenkov(a)gmail.com, lsm5(a)redhat.com,
renich(a)woralelandia.com, s(a)shk.io, vbatts(a)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
--
You are receiving this mail because:
You are on the CC list for the bug.