Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1793029 - python-string_utils fails to build in Fedora: Wrong RHEL 8 conditionals
Summary: python-string_utils fails to build in Fedora: Wrong RHEL 8 conditionals
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-string_utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jkim
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F32FTBFS PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-20 14:16 UTC by Miro Hrončok
Modified: 2020-01-20 16:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-20 16:03:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-20 14:16:33 UTC
python-string_utils fails to build:

+ sphinx-build docs/ html
Running Sphinx v2.2.2
making output directory... done
WARNING: html_static_path entry '_static' does not exist
Theme error:
sphinx_rtd_theme is no longer a hard dependency since version 1.4.0. Please install it manually.(pip install sphinx_rtd_theme)


The spec has:
	
%if 0%{?rhel} < 8
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%else
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-sphinx_rtd_theme
%endif


But 0%{?rhel} < 8 is true in Fedora (because 0 < 8), hence the dependency on python3-sphinx_rtd_theme is missing.


This blocks the Python 3.9 rebuild.

Comment 1 Jason Montleon 2020-01-20 16:03:47 UTC
I believe this should be fixed now. Please reopen the bug if you still have trouble. Thanks!


Note You need to log in before you can comment on or make changes to this bug.