Bug 40018 - rpm-build-python3: %add_python3_path ignored
Summary: rpm-build-python3: %add_python3_path ignored
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build-python3 (show other bugs)
Version: unstable
Hardware: all Linux
: P5 blocker
Assignee: Ivan Zakharyaschev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-30 00:58 MSK by Yuri N. Sedunov
Modified: 2021-04-30 02:21 MSK (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri N. Sedunov 2021-04-30 00:58:38 MSK
* Thu Apr 29 2021 Dmitry V. Levin <ldv@altlinux.org> 0.1.15-alt1
- python3.prov, python3.req: enhanced error diagnostics.

C этим rpm-build-python3, как минимум, %add_python3_path перестал работать.

Было:
Can't list '/home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/python3/site-packages'
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib/python3/site-packages/gi/overrides/Ide.py
Bytecompiling python3 modules with optimization-2 in /home/aris/RPM/TMP/gnome-builder-buildroot using /usr/bin/python3 -OO
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib/python3/site-packages/gi/overrides/Ide.py
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/cargo_plugin.py
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/copyright_plugin.py
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/eslint_plugin.py
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/find_other_file.py
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/gjs_symbols.py
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/go_langserver_plugin.py
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/gvls_plugin.py
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/html_preview.py
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/jedi_plugin.py
....


Стало:
Bytecompiling python3 modules in /home/aris/RPM/TMP/gnome-builder-buildroot using /usr/bin/python3
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib/python3/site-packages/gi/overrides/Ide.py
Bytecompiling python3 modules with optimization in /home/aris/RPM/TMP/gnome-builder-buildroot using /usr/bin/python3 -O
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib/python3/site-packages/gi/overrides/Ide.py
Bytecompiling python3 modules with optimization-2 in /home/aris/RPM/TMP/gnome-builder-buildroot using /usr/bin/python3 -OO
compile /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib/python3/site-packages/gi/overrides/Ide.py
...
RPM build errors:
    No such file or directory: /home/aris/RPM/TMP/gnome-builder-buildroot/usr/lib64/gnome-builder/plugins/__pycache__
Comment 1 Repository Robot 2021-04-30 02:21:48 MSK
rpm-build-python3-0.1.16-alt1 -> sisyphus:

 Thu Apr 29 2021 Dmitry V. Levin <ldv@altlinux> 0.1.16-alt1
 - brp-bytecompile_python3: fixed typo made in the previous release
   (closes: #40018).