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)
Comment 1Richard W.M. Jones
2014-05-14 09:54:42 UTC
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?
(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
Comment 5Richard W.M. Jones
2014-05-16 13:10:55 UTC
The spec file as it exists right now won't build anyway. I'm
in the middle of fixing virt-p2v.
Comment 6Richard W.M. Jones
2014-05-16 13:29:01 UTC