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(a)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&...
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