Hi, List,
I am seeing following problems when building libvirt-1.0.0-1.fc17.src.rpm.
The first failed test case is xml2sexprtest as you can see below.
$ sudo rpmbuild -ba SPECS/libvirt.spec
+ make check
TEST: virshtest
........................................ 40
........... 51 OK
TEST: sockettest
...................................... 38 OK
TEST: virbuftest
.... 4 OK
TEST: commandtest
..................... 21 OK
TEST: virhashtest
.............. 14 OK
TEST: virnetmessagetest
..... 5 OK
TEST: virnetsockettest
............... 15 OK
TEST: viratomictest
.. 2 OK
TEST: utiltest
... 3 OK
TEST: virnettlscontexttest
........................................ 40
........ 48 OK
TEST: shunloadtest
. 1 OK
TEST: virtimetest
............... 15 OK
TEST: viruritest
.................. 18 OK
TEST: virkeyfiletest
. 1 OK
TEST: virauthconfigtest
...... 6 OK
TEST: virbitmaptest
...... 6 OK
TEST: virlockspacetest
....... 7 OK
TEST: securityselinuxtest
TEST: virdrivermoduletest
....... 7 OK
TEST: xml2sexprtest
.!.!!.....................!..!!!!.!!!!!! 40
!!!!!!!!!!... 53 FAIL
TEST: sexpr2xmltest
........................................ 40
........... 51 OK
TEST: xmconfigtest
..............!.!.!.!.!.!.!.!.!.!.!.!.!. 40
!.!.!.!.!.!.!.!.!...!.!.!. 66 FAIL
TEST: xencapstest
.......... 10 OK
TEST: statstest
TEST: reconnect
TEST: qemuxml2argvtest
........................................ 40
........................................ 80
........................................ 120
........................................ 160
........................................ 200
........................................ 240
...... 246 OK
TEST: qemuxml2xmltest
........................................ 40
........................................ 80
................................... 115 OK
TEST: qemuxmlnstest
....... 7 OK
TEST: qemuargv2xmltest
........................................ 40
................................... 75 OK
TEST: qemuhelptest
................ 16 OK
TEST: domainsnapshotxml2xmltest
....... 7 OK
TEST: qemumonitortest
.. 2 OK
TEST: qemumonitorjsontest
!!!!! 5 FAIL
TEST: esxutilstest
.... 4 OK
TEST: vmx2xmltest
........................................ 40
.......... 50 OK
TEST: xml2vmxtest
........................................ 40
..... 45 OK
TEST: networkxml2xmltest
................ 16 OK
TEST: networkxml2argvtest
......... 9 OK
TEST: nwfilterxml2xmltest
........................................ 40
. 41 OK
TEST: storagevolxml2xmltest
....... 7 OK
TEST: storagepoolxml2xmltest
............. 13 OK
TEST: nodedevxml2xmltest
............. 13 OK
TEST: interfacexml2xmltest
................... 19 OK
TEST: cputest
........................................ 40
.......................... 66 OK
TEST: eventtest
............... 15 OK
TEST: libvirtdconftest
....................................... 39 OK
make[1]: *** [check-TESTS] Error 1
make: *** [check-am] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.E2o2Vs (%check)
Bad exit status from /var/tmp/rpm-tmp.E2o2Vs (%check)
Not sure whether the failures are related to xml. Anyway, following is a
list of xml packages installed,
python-lxml-2.2.3-1.1.el6.x86_64
xmldb-api-sdk-0.1-0.4.20011111cvs.1.5.el6.noarch
xmlto-0.0.23-3.el6.x86_64
xmlrpc-c-1.16.24-1209.1840.el6.x86_64
xml-commons-resolver-1.1-4.18.el6.x86_64
xmlrpc-c-client-1.16.24-1209.1840.el6.x86_64
xmldb-api-0.1-0.4.20011111cvs.1.5.el6.noarch
xmlrpc3-client-3.0-4.15.el6.noarch
xmlgraphics-commons-1.3.1-1.1.el6.noarch
libxml2-devel-2.7.6-4.el6_2.4.x86_64
libxml2-2.7.6-4.el6_2.4.x86_64
xml-common-0.6.3-32.el6.noarch
perl-libxml-perl-0.08-10.el6.noarch
libxml2-python-2.7.6-4.el6_2.4.x86_64
xml-commons-apis-1.3.04-3.6.el6.x86_64
# cat /proc/version
Linux version 2.6.32-279.el6.x86_64 (mockbuild(a)c6b9.bsys.dev.centos.org)
(gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Jun 22
12:19:21 UTC 2012
Thanks, Frank