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

Nir Soffer nsoffer at redhat.com
Wed May 10 08:46:06 UTC 2017


Wed, May 10, 2017 at 11:16 AM Yaniv Kaul <ykaul at 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 at 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.
>


>
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170510/2e2ac8a4/attachment.html>


More information about the Devel mailing list