Hi Sharad,
There is an update pep8 that you have to use when compiling vdsm, that may be the
problem.
See
http://wiki.ovirt.org/Vdsm_Developers
(however this document is frequently outdated)
----- Original Message -----
From: snmishra(a)linux.vnet.ibm.com
To: engine-devel(a)ovirt.org
Sent: Wednesday, March 6, 2013 10:48:17 PM
Subject: [Engine-devel] VDSM: make rpm is failing.
Hi,
Using latest VDSM source, I see make rpm failing bunch on tests.
Running with 'NOSE_EXCLUDE=.*' I see the following error -
----------------------------------------------------------------------
Ran 0 tests in 0.081s
OK
make[4]: Leaving directory `/root/rpmbuild/BUILD/vdsm-4.10.3/tests'
make[3]: Leaving directory `/root/rpmbuild/BUILD/vdsm-4.10.3/tests'
make[2]: Leaving directory `/root/rpmbuild/BUILD/vdsm-4.10.3/tests'
Making check in vdsm-tool
make[2]: Entering directory
`/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm-tool'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm-tool'
Making check in vdsm_api
make[2]: Entering directory
`/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm_api'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm_api'
Making check in yajsonrpc
make[2]: Entering directory
`/root/rpmbuild/BUILD/vdsm-4.10.3/yajsonrpc'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/root/rpmbuild/BUILD/vdsm-4.10.3/yajsonrpc'
make[2]: Entering directory `/root/rpmbuild/BUILD/vdsm-4.10.3'
make check-local
make[3]: Entering directory `/root/rpmbuild/BUILD/vdsm-4.10.3'
find . -path './.git' -prune -type f -o \
-name '*.py' -o -name '*.py.in' | xargs /usr/bin/pyflakes
./vdsm/storage/lvm.py:608: list comprehension redefines 'lv' from
line 603
make[3]: *** [check-local] Error 123
make[3]: Leaving directory `/root/rpmbuild/BUILD/vdsm-4.10.3'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/vdsm-4.10.3'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/vdsm-4.10.3'
error: Bad exit status from /var/tmp/rpm-tmp.pay1sz (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.pay1sz (%check)
make: *** [rpm] Error 1
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel