[CentOS-devel] Sphinx - Warnings treated as errors

Alfredo Moralejo Alonso

amoralej at redhat.com
Fri Jan 24 12:04:39 UTC 2020


On Fri, Jan 24, 2020 at 12:54 PM Neale Ferguson <neale at sinenomine.net>
wrote:

> The source RPM comes from the CentOS vault. I’m building it for a
> non-supported architecture. Sphinx 1.8.4 was also built from the vault.
> There was a parameter added to Sphinx to get it to ignore these type of
> errors but the default is not too so I am assuming there is a conf.py file
> somewhere in the build environment or some other means of providing that
> setting.
>
>
>

When using "%{pyver_bin} setup.py build_sphinx -b html", warning iserror is
taken from a parameter in setup.cfg:

https://github.com/openstack/oslo.reports/blob/stable/train/setup.cfg#L42

It's enabled there. However, in RDO, we disable it with macro
py_req_cleanup:

https://github.com/openstack/rpm-packaging/blob/stable/train/openstack/openstack-macros/macros.openstack-rdo#L22

Are you using the updated version of openstack-macros?, can you check how
py_req_cleanup is defined?


> Neale Ferguson
>
>
>
>
>
>
>
> Hi,
>
>
>
> What spec are you using to build it?, we use:
>
>
>
>
> https://github.com/rdo-packages/oslo-reports-distgit/blob/train-rdo/python-oslo-reports.spec#L109
>
>
>
> can't you just pull the rpms from centos repos
>
>
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20200124/480006f0/attachment-0002.html>


More information about the CentOS-devel mailing list