-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.3.0
-
None
-
python-rpm-macros-3.9-53.el9
-
None
-
None
-
rhel-sst-pt-python-ruby-nodejs
-
ssg_core_services
-
14
-
19
-
None
-
False
-
-
None
-
None
-
Approved Blocker
-
Pass
-
None
-
None
What were you trying to do that didn't work?
I was trying to build Python 3.12 in COPR using CentOS Stream 8/9 chroots.
Please provide the package NVR for which bug is seen: n/a
How reproducible: always
Steps to reproduce
- Build python3.12 in COPR
Expected results
Build succeeds
Actual results
Build failed
~~~~
+ ./build/optimized/python /usr/lib/rpm/redhat/pathfix.py -i /usr/bin/python3.12 -pn /builddir/build/BUILDROOT/python3.12-3.12.0~rc2-1.el9.x86_64 /builddir/build/BUILDROOT/python3.12-3.12.0~rc2-1.el9.x86_64/usr/bin/msgfmt3.12.py /builddir/build/BUILDROOT/python3.12-3.12.0~rc2-1.el9.x86_64/usr/bin/pygettext3.12.py /builddir/build/BUILDROOT/python3.12-3.12.0~rc2-1.el9.x86_64/usr/lib/debug//usr/lib64/libpython3.12.so.1.0-3.12.0~rc2-1.el9.x86_64.debug-gdb.py /builddir/build/BUILDROOT/python3.12-3.12.0~rc2-1.el9.x86_64/usr/lib/debug//usr/lib64/libpython3.12d.so.1.0-3.12.0~rc2-1.el9.x86_64.debug-gdb.py ./build/optimized/python: can't open file '/usr/lib/rpm/redhat/pathfix.py': [Errno 2] No such file or directory
~~~~
This is happening because pathfix.py script was removed from Python 3.12. In Fedora we brought it back as a part of python-rpm-macros.
- links to
-
RHBA-2023:124856 python-rpm-macros update
- mentioned on