[libvirt-users] libvirt build issue - make check fails , file name long

Eric Blake eblake at redhat.com
Fri Jul 11 16:33:44 UTC 2014


On 07/11/2014 04:13 AM, Raj Ravi wrote:
> Hi,
> I was trying to build libvirt-0.10.2-29.

That's a downstream port.  Which distro did you get it from? Have you
reported it to the distro?

> 
> Now, it builds fine in simple directory setting:
> like /home/itsme/test/libvirt/
> 
> But, if the directory setting is long:
> like /home/public/test/abc-v1/liibvrt-v1-v2/   = > it fails.
> 
> 
> Reason for failure is :qemumonitorjsontest
> 
> I tried running the specific test case like :
> VIR_TEST_VERBOSE=1  ./qemumonitorjsontest
> 
> ========================
>  1) GetStatus
> ... libvir: XML-RPC error : Path
> /home/public/abc_v1_v2/libvirt_0.10.2_29/BUILD/libvirt-0.10.2/tests/qemumonitorjsontest.sock
> too long for unix socket: File name too long

Looks like that downstream port failed to include this upstream commit:

commit 0e7fd31fb52482903ebd34764c065867d26f93b5
Author: Guido Günther <agx at sigxcpu.org>
Date:   Mon Oct 29 09:28:15 2012 +0100

    Create temporary dir for socket

    to avoid ENAMETOOLONG:


https://buildd.debian.org/status/fetch.php?pkg=libvirt&arch=amd64&ver=1.0.0~rc1-1&stamp=1351453521

> Is this a known issue ?

Yes, and one fixed upstream.

> 
> Is there any specific patch which addresses this issue ? Please let me know.

I just did :)

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140711/655ef306/attachment.sig>


More information about the libvirt-users mailing list