libguestfs-1.27.9-1.fc21 fails to build in F21: Making all in golang make[2]: Entering directory `/builddir/build/BUILD/libguestfs-1.27.9/golang' ../run go install libguestfs.org/guestfs go install runtime/cgo: open /usr/lib/golang/pkg/linux_amd64/runtime/cgo.a: permission denied make[2]: *** [pkg/linux_amd64/libguestfs.org/guestfs.a] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/libguestfs-1.27.9/golang' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/libguestfs-1.27.9' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.BhcxGp (%build)
It's hard to keep up with the latest Go packaging guidelines. However this looks like it's a bug in golang on Fedora. Is there any other reason why `go install' would fail?
Redirecting to Vincent who does 99% of the golang stuff these days.
I have disabled the golang subpackage in libguestfs for now.
(In reply to Richard W.M. Jones from comment #3) > I have disabled the golang subpackage in libguestfs for now. "%ifarch %{nill}" is not a valid expression, the spec file is refused by RPM tools: error: /home/petr/fedora/libguestfs/libguestfs.spec:107: Argument expected for %ifarch
The spec file as it exists right now won't build anyway. I'm in the middle of fixing virt-p2v.
There is now a build running: http://koji.fedoraproject.org/koji/taskinfo?taskID=6855930
I'm happy to report that the golang package in Rawhide works now. golang-1.2.2-7.fc21.x86_64