Bug 1961773 - failed to build as pver macros not expanded correctly
Summary: failed to build as pver macros not expanded correctly
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ansible-tripleo-ipa
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z7
: 16.1 (Train on RHEL 8.2)
Assignee: Ade Lee
QA Contact: Jeremy Agee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-18 16:37 UTC by Ade Lee
Modified: 2021-06-30 21:55 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-30 21:55:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ade Lee 2021-05-18 16:37:15 UTC
Description of problem:

When attempting to build rdopkg, we get errors in parsing the spec file - in particular in parsing the pyver macros.

The solution - which is already in place upstream - is to expand the vars correctly as in here:

https://github.com/rdo-packages/tripleo-ipa-distgit/blob/train-rdo/ansible-tripleo-ipa.spec#L8-L10

This needs to be done to the downstream spec file.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Ade Lee 2021-06-30 21:55:10 UTC
This turns out to be a problem with my build environment - which was f32.
Builds in dlrn are working just fine.

The issue is https://fedoraproject.org/wiki/Changes/PythonMacroError

which is fixed by adding the following line in ~/.rpmmacros

 %__python /usr/bin/python3


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