Bug 1535692 - Missing python-macro-helper file
Summary: Missing python-macro-helper file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1536231 (view as bug list)
Depends On:
Blocks: 1536202
TreeView+ depends on / blocked
 
Reported: 2018-01-17 22:39 UTC by Laura Abbott
Modified: 2018-05-14 09:51 UTC (History)
9 users (show)

Fixed In Version: rpm-4.14.1-2.fc28
Clone Of:
Environment:
Last Closed: 2018-01-30 08:28:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1577860 0 unspecified CLOSED /usr/bin/python: can't open file '/usr/lib/rpm/python-macro-helper': [Errno 2] No such file or directory 2021-02-22 00:41:40 UTC

Internal Links: 1577860

Description Laura Abbott 2018-01-17 22:39:54 UTC
The python-macro-helper file was added in https://github.com/rpm-software-management/rpm/commit/7ac3f07ac41a2 but it doesn't seem to be installed.

If I run

rpmspec -P <spec file with python macros>

I get

/usr/bin/python: can't open file '/usr/lib/rpm/python-macro-helper': [Errno 2] No such file or directory

And if I check, that file isn't present in /usr/lib/rpm

Comment 1 Panu Matilainen 2018-01-18 09:11:17 UTC
Oops. Should've double-checked it really is there but then since there was no unpackaged files errors on build... 

Thanks for reporting, fixed in rpm-4.14.1-2.fc28.

Comment 2 Miro Hrončok 2018-01-18 23:49:38 UTC
*** Bug 1536231 has been marked as a duplicate of this bug. ***

Comment 3 Frédéric Lepied 2018-01-27 10:23:01 UTC
It seems to still not be present in rpm-4.14.1-2.fc28

$ rpm -qpl rpm-4.14.1-2.fc28.x86_64.rpm|grep python-macro-helper
$

Comment 4 Miro Hrončok 2018-01-28 11:07:56 UTC
$ rpm -ql rpm-build

?

Comment 5 Frédéric Lepied 2018-01-30 08:28:28 UTC
Sorry about the noise. It's working now.


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