[ovirt-devel] Failing to make vdsm (master) - sanlock-python is not a build dep?
Dan Kenigsberg
danken at redhat.com
Wed May 10 08:22:46 UTC 2017
On Wed, May 10, 2017 at 11:15 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*`
> ...
> 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.
$ git grep sanlock-python |grep fc25
automation/build-artifacts.packages.fc25:sanlock-python
automation/check-patch.packages.fc25:sanlock-python
shows that sanlock-python is already listed. Can you share the full
output of `dnf install` to understand why it complained about "Error:
Unable to find a match" ?
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
More information about the Devel
mailing list