[ovirt-devel] Failing to make vdsm (master) - sanlock-python is not a build dep?

Yaniv Kaul ykaul at redhat.com
Wed May 10 08:15:30 UTC 2017


I'm trying to follow
http://www.ovirt.org/develop/developer-guide/vdsm/developers/ to build
vdsm, and I'm failing (master, on F25). There is one issue in the middle:

[ykaul at ykaul vdsm]$ sudo dnf install `cat
automation/check-patch.packages.fc*`
...
Package rpm-build-4.13.0.1-1.fc25.x86_64 is already installed, skipping.
Package rpmlint-1.9-9.fc25.noarch is already installed, skipping.
Package sudo-1.8.19p2-1.fc25.x86_64 is already installed, skipping.
Package yum-3.4.3-510.fc25.noarch is already installed, skipping.
Package yum-utils-1.1.31-511.fc25.noarch is already installed, skipping.
Error: Unable to find a match.


And then, ./autogen.sh --system succeeds, but 'make' fails:
Making all in api
make[3]: Entering directory '/home/ykaul/vdsm/lib/vdsm/api'
  Generate vdsm-api.html
chmod u+w .
PYTHONPATH=./../../:./../../vdsm \
/usr/bin/python schema_to_html.py vdsm-api.yml vdsm-api.html
Traceback (most recent call last):
  File "schema_to_html.py", line 29, in <module>
    from vdsm.api import vdsmapi
  File "/home/ykaul/vdsm/lib/vdsm/api/vdsmapi.py", line 28, in <module>
    from vdsm import utils
  File "/home/ykaul/vdsm/lib/vdsm/utils.py", line 33, in <module>
    from .compat import pickle
  File "/home/ykaul/vdsm/lib/vdsm/compat.py", line 96, in <module>
    import sanlock
ImportError: No module named sanlock


which seems to be solved with manually installing sanlock-python.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170510/0ca74169/attachment.html>


More information about the Devel mailing list