https://bugzilla.redhat.com/show_bug.cgi?id=1099732
Bug ID: 1099732
Summary: go install fails if cgo is used
Product: Fedora
Version: 20
Component: golang
Assignee: adam(a)spicenitz.org
Reporter: davidb(a)davidb.org
QA Contact: extras-qa(a)fedoraproject.org
CC: adam(a)spicenitz.org, 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
Created attachment 897821
-->
https://bugzilla.redhat.com/attachment.cgi?id=897821&action=edit
Example program to provoke bug
Description of problem:
'go install' tries to compile runtime/cgo.a and install it in /usr/lib when the
source makes use of Cgo.
Version-Release number of selected component (if applicable):
golang-src-1.2.2-2.fc20.noarch
golang-1.2.2-2.fc20.x86_64
golang-pkg-linux-amd64-1.2.2-2.fc20.noarch
golang-pkg-bin-linux-amd64-1.2.2-2.fc20.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Create directory with src/bug1/hello.go containing the attached file.
2. GOPATH=$(PWD) /usr/bin/go install bug1
Actual results:
go install runtime/cgo: open /usr/lib/golang/pkg/linux_amd64/runtime/cgo.a:
permission denied
Expected results:
Produces bin/bug1, which when run prints hello world. This worked fine with
1.2.1 (before today's update).
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.