Bug 2259173

Summary: libprelude-5.2.0-23.fc40 FTBFS: ModuleNotFoundError: No module named 'distutils'
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: libpreludeAssignee: Orphan Owner <extras-orphan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 40CC: gwync, thomas.andrejak, tscherf, zbyszek
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/libprelude
Whiteboard:
Fixed In Version: libprelude-5.2.0-26.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-04 02:22:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2231791    

Description Petr Pisar 2024-01-19 10:01:56 UTC
libprelude-5.2.0-23.fc40 fails to build in Fedora 40:

checking for python3... /usr/bin/python3
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'distutils'
checking Python.h usability... no
checking Python.h presence... no
checking for Python.h... no
[...]
Processing files: python3-prelude-5.2.0-23.fc40.x86_64
error: File not found: /builddir/build/BUILDROOT/libprelude-5.2.0-23.fc40.x86_64/usr/lib64/python3.12/site-packages/_prelude.*so
RPM build errors:
error: File not found: /builddir/build/BUILDROOT/libprelude-5.2.0-23.fc40.x86_64/usr/lib64/python3.12/site-packages/__pycache__/prelude.cpython-312.*pyc
error: File not found: /builddir/build/BUILDROOT/libprelude-5.2.0-23.fc40.x86_64/usr/lib64/python3.12/site-packages/prelude-5.2.0-py3.12.egg-info
error: File not found: /builddir/build/BUILDROOT/libprelude-5.2.0-23.fc40.x86_64/usr/lib64/python3.12/site-packages/prelude.py
    File not found: /builddir/build/BUILDROOT/libprelude-5.2.0-23.fc40.x86_64/usr/lib64/python3.12/site-packages/_prelude.*so
    File not found: /builddir/build/BUILDROOT/libprelude-5.2.0-23.fc40.x86_64/usr/lib64/python3.12/site-packages/__pycache__/prelude.cpython-312.*pyc
    File not found: /builddir/build/BUILDROOT/libprelude-5.2.0-23.fc40.x86_64/usr/lib64/python3.12/site-packages/prelude-5.2.0-py3.12.egg-info
    File not found: /builddir/build/BUILDROOT/libprelude-5.2.0-23.fc40.x86_64/usr/lib64/python3.12/site-packages/prelude.py

A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/17075886>. This failure is probably triggered by change in a dependency chain which leads to a removal of python3-setuptools. In other words, libprelude should explicitly build-require python3-setuptools.

Comment 1 Aoife Moloney 2024-02-15 23:10:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Fedora Admin user for bugzilla script actions 2024-08-22 18:32:07 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Miro HronĨok 2024-08-23 12:53:06 UTC
Automation has figured out the package is retired in Fedora 40.

If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement

Comment 4 Petr Pisar 2024-08-26 10:44:48 UTC
The automation is wrong. This packages is not retired in Fedora 40:

$ koji list-pkgs --show-blocked --package=libprelude |grep f4
libprelude              f40                                      orphan         
libprelude              f41                                      orphan          [BLOCKED]
libprelude              f40-Beta                                 totol          
libprelude              f42                                      orphan          [BLOCKED]

Moreover, blocking a package in an already released distribution is against a support policy.

Comment 5 Fedora Update System 2024-08-26 13:34:27 UTC
FEDORA-2024-5415c8b26a (libprelude-5.2.0-26.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5415c8b26a

Comment 6 Fedora Update System 2024-08-27 16:46:46 UTC
FEDORA-2024-5415c8b26a has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5415c8b26a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5415c8b26a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-09-04 02:22:58 UTC
FEDORA-2024-5415c8b26a (libprelude-5.2.0-26.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.