Wed, May 10, 2017 at 11:16 AM Yaniv Kaul <ykaul(a)redhat.com>
wrote:
> 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@ykaul vdsm]$ sudo dnf install `cat
> automation/check-patch.packages.fc*`
>
Both fc24 and fc25 includes sanlock-python, so this package should
be installed after running this.
Did you try running instead:
sudo dnf install `cat automation/check-patch.packages.fc25`
> ...
> 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.
>
Match for what?
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.
>