<div>Trying to build 0.9.13 on XenServer6.0. Stucked with below things</div><div><br></div><div><div><br></div></div><div>1. I could not manage to solve below dependency problem. So edited libvirt.spec to by pass this.</div>
<div><br></div><div># rpmbuild -bb libvirt.spec </div><div>error: Failed build dependencies:</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>device-mapper-devel is needed by libvirt-0.9.13-1.i386</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>libwsman-devel >= 2.2.3 is needed by libvirt-0.9.13-1.i386</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libblkid-devel >= 2.17 is needed by libvirt-0.9.13-1.i386</div>
<div><br></div><div><br></div><div>2. "make check" is bypassed since below checks where failing.</div><div><div>TEST: viruritest</div><div>      ...........!....!.                       18  FAIL</div><div>FAIL: viruritest</div>
</div><div><div>TEST: interfaceschematest</div><div>      ..!.!!!!..........                       18  FAILED</div><div>FAIL: interfaceschematest</div></div><div><div>TEST: nwfilterschematest</div><div>      ......!..........................!...... 40 </div>
<div>      .                                        41  FAILED</div><div>FAIL: nwfilterschematest</div></div><div><br></div><div><br></div><div>3. rpmbuild -bb libvirt.spec</div><div><br></div><div>  RPM build errors:</div>
<div>    File not found: /var/tmp/libvirt-0.9.13-1-root/etc/rc.d/init.d/libvirtd</div><div>    File must begin with "/": rm</div><div>    File must begin with "/": -f</div><div>    File must begin with "/": $RPM_BUILD_ROOT/etc/sysctl.d/libvirtd</div>
<div>    File not found: /var/tmp/libvirt-0.9.13-1-root/var/log/libvirt/libxl</div><div>    File not found: /var/tmp/libvirt-0.9.13-1-root/etc/libvirt/lxc.conf</div><div>    File not found: /var/tmp/libvirt-0.9.13-1-root/var/run/libvirt/lxc</div>
<div>    File not found: /var/tmp/libvirt-0.9.13-1-root/var/lib/libvirt/lxc</div><div>    File not found: /var/tmp/libvirt-0.9.13-1-root/var/run/libvirt/libxl</div><div>    File not found: /var/tmp/libvirt-0.9.13-1-root/var/lib/libvirt/libxl</div>
<div>    File not found: /var/tmp/libvirt-0.9.13-1-root/usr/share/augeas/lenses/libvirtd_lxc.aug</div><div>    File not found: /var/tmp/libvirt-0.9.13-1-root/usr/share/augeas/lenses/tests/test_libvirtd_lxc.aug</div><div>    File not found: /var/tmp/libvirt-0.9.13-1-root/usr/libexec/libvirt_lxc</div>
<div>    File not found: /var/tmp/libvirt-0.9.13-1-root/usr/libexec/libvirt_parthelper</div><div>    File not found: /var/tmp/libvirt-0.9.13-1-root/usr/lib/libvirt/connection-driver/libvirt_driver_lxc.so</div><div>    File not found: /var/tmp/libvirt-0.9.13-1-root/usr/lib/libvirt/connection-driver/libvirt_driver_libxl.so</div>
<div><br></div><div><br></div><div><br></div><div><div><div>[root@localhost SPECS]# cat /proc/version </div><div>Linux version 2.6.32.12-0.7.1.xs5.6.100.307.170586xen (geeko@buildhost) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Nov 30 09:55:20 EST 2010</div>
</div></div><div><br></div><div><br></div>Any idea ?<div><br></div><div><br></div><div>Arun</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 12:28 AM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/08/2012 11:25 AM, Arun Sharma wrote:<br>
> Hello<br>
><br>
> Getting below error while connecting with XenServer using virsh. I have<br>
> builded libvirt version 0.9.3 (--with-xenapi) from tar file and installed<br>
> on Xen 5.6 FP1.<br>
<br>
</div>If you're going to build your own libvirt anyway, can you try again with<br>
0.9.13 or even libvirt.git instead of 0.9.3?  It would be nice to know<br>
if the problem has been fixed in the meantime.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   <a href="mailto:eblake@redhat.com">eblake@redhat.com</a>    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br>Arun Sharma<br>09987668884<br><br>
</div>