[Users] Build RPM packages vdm from source code

?????? zorro at megatrone.ru
Wed Apr 11 11:25:05 UTC 2012


I build vdsm version with commands:

git clone git://gerrit.ovirt.org/vdsm

./autogen.sh --system && ./configure

make clean && make rpm

make rpm

Command "make rpm" ( and make check) return error:

make[3]: Entering directory `/root/rpmbuild/BUILD/vdsm-4.9.6/tests'

../tests/run_tests.sh main.py miscTests.py resourceManagerTests.py
processPoolTests.py fileUtilTests.py guestIFTests.py

Traceback (most recent call last):

  File "../tests/testrunner.py", line 192, in <module>

    hackVdsmModule()

  File "../tests/testrunner.py", line 187, in hackVdsmModule

    import utils

  File "/root/rpmbuild/BUILD/vdsm-4.9.6/vdsm/utils.py", line 40, in <module>

    import ethtool

ImportError: No module named ethtool

make[3]: *** [check-local] Error 1

make[3]: Leaving directory `/root/rpmbuild/BUILD/vdsm-4.9.6/tests'

make[2]: *** [check-am] Error 2

make[2]: Leaving directory `/root/rpmbuild/BUILD/vdsm-4.9.6/tests'

make[1]: *** [check-recursive] Error 1

make[1]: Leaving directory `/root/rpmbuild/BUILD/vdsm-4.9.6'

error: Bad exit status from /var/tmp/rpm-tmp.zBdCcy (%check)

 

 

RPM build errors:

    Bad exit status from /var/tmp/rpm-tmp.zBdCcy (%check)

make: *** [rpm] Error 1

 

 

python-ethtool installed:

[root at noc-2-synt ovirt-engine]# yum install python-ethtool

Loaded plugins: fastestmirror, security, versionlock

Loading mirror speeds from cached hostfile

* elrepo: elrepo.org

* epel: mirror.xfes.ru

* sl: ftp2.scientificlinux.org

* sl-debuginfo: ftp2.scientificlinux.org

* sl-fastbugs: ftp2.scientificlinux.org

* sl-security: ftp2.scientificlinux.org

* sl-testing: ftp2.scientificlinux.org

* sl-testing-source: ftp2.scientificlinux.org

Setting up Install Process

Package python-ethtool-0.6-1.el6.x86_64 already installed and latest version

Nothing to do

[root at noc-2-synt ovirt-engine]#

 

This is possible as you fix it?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120411/8deada20/attachment-0001.html>


More information about the Users mailing list