[Libguestfs] libguestfs build fails with: /usr/lib64/golang/pkg/linux_amd64/libguestfs.org/guestfs.a -- no such file
Kashyap Chamarthy
kchamart at redhat.com
Thu Jan 2 16:28:42 UTC 2014
On 01/01/2014 06:00 PM, Richard W.M. Jones wrote:
> On Tue, Dec 31, 2013 at 04:29:37PM +0100, Kashyap Chamarthy wrote:
>> I'm on libguestfs Fedora git master branch:
> [...]
>> go install libguestfs.org/guestfs: open
>> /usr/lib64/golang/pkg/linux_amd64/libguestfs.org/guestfs.a: permission denied
>
> I believe this happens if you have golang-guestfs installed at the
> same time that you try to compile things locally.
Indeed -- once I removed the golang-guestfs package, and re-issued
a local build, it goes through just fine:
$ git log | head -1
commit 8eb1aa2406632eb4202bbd976459334854295a77
$ fedpkg local
[. . .]
Wrote: /home/kashyap/fedora-packaging/libguestfs/master/libguestfs-1.25.18-1.fc21.src.rpm
Wrote:
/home/kashyap/fedora-packaging/libguestfs/master/x86_64/libguestfs-1.25.18-1.fc21.x86_64.rpm
[. . .]
$ echo $?
0
Thanks.
> It's a serious
> design flaw in golang that the language is resistant to being properly
> packaged. (There is a bugzilla thread on this topic, but I can't find
> it at the moment ...)
>
> Rich.
>
--
/kashyap
More information about the Libguestfs
mailing list