[CentOS-devel] Sphinx - Warnings treated as errors

Alfredo Moralejo Alonso

amoralej at redhat.com
Fri Jan 24 11:50:27 UTC 2020


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?

Best regards,

Alfredo


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

> Hi,
>
> I am attempting to python-oslo-reports-1.30.0-1.el7 but Sphinx 1.8.4 is
> treating warnings as errors and terminating the build:
>
>
>
> DEBUG: Warning, treated as error:
>
> DEBUG:
> /builddir/build/BUILD/oslo.reports-1.30.0/oslo_reports/generators/conf.py:docstring
> of oslo_reports.generators.conf.ConfigReportGenerator:1:duplicate object
> description of oslo_reports.generators.conf.ConfigReportGenerator, other
> instance in
> /builddir/build/BUILD/oslo.reports-1.30.0/doc/source/reference/api/oslo_reports.generators.rst,
> use :noindex: for one of them
>
>
>
> I note from the CentOS build logs Sphinx is encountering the warnings but
> they are not being treated as errors. How is this behavior being changed?
>
>
>
> Neale Ferguson
>
>
> _______________________________________________
> 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/52ea94e6/attachment-0002.html>


More information about the CentOS-devel mailing list