Bug 1792965 - python-octaviaclient fails to create SRPM in Fedora
Summary: python-octaviaclient fails to create SRPM in Fedora
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-octaviaclient
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos Goncalves
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F32FTBFS PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-20 12:59 UTC by Miro Hrončok
Modified: 2020-01-20 16:17 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-20 12:59:31 UTC
python-octaviaclient fails to create SRPM due to unescaped nested macros.

error: Cannot use %python if %__python wasn't redefined to something other than /usr/bin/python.
error: lua script failed: [string "<lua>"]:4: error expanding macro
error: /builddir/build/SPECS/python-octaviaclient.spec: line 8: Macro %pyver_sitelib failed to expand


Possible fix is at https://src.fedoraproject.org/rpms/python-debtcollector/pull-request/3

Alternate fix is also described there.

This blocks the Python 3.9 rebuild.

Comment 1 Alfredo Moralejo 2020-01-20 16:17:31 UTC
Fixed in https://src.fedoraproject.org/rpms/python-octaviaclient/c/ca22bf44fbf991c891976bf08675036b7852dfc2?branch=master

Tested with python3.9 copr mock config.


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