Bug 2154979
Summary: | python-smbpasswd fails to build with Python 3.12: ModuleNotFoundError: No module named 'distutils' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-smbpasswd | Assignee: | Michal Ambroz <rebus> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 39 | CC: | awilliam, fti-bugs, kparal, mhroncok, rebus, thrnciar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | AcceptedFreezeException | ||
Fixed In Version: | python-smbpasswd-1.0.2-15.fc39 python-smbpasswd-1.0.2-15.fc38 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-10-07 03:23:46 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: | 2135404, 2143447, 2168842, 2168845, 2231791 |
Description
Tomáš Hrnčiar
2022-12-19 18:09:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38. *** Bug 2220510 has been marked as a duplicate of this bug. *** Michal, I see you assigned this bugzilla 8 months ago. Have you made any progress? The package fails to install and fails to build. Fedora 39 Beta was just released. Is it probable that this will be fixed (or worked around) in time for the Fedora 39 Final Freeze (2023-10-03)? If not, could you please consider retiring the package, so we can obsolete it and unblock clean upgrades to Fedora 39? A retired package can be reintroduced later during the life time of Fedora 39. Adding:
BuildRequires: python3-setuptools
Makes the package build, but it is very broken:
(Using the example from README.txt):
>>> import smbpasswd
>>> passwd = 'mypassword'
>>> print('LANMAN hash is', smbpasswd.lmhash(passwd))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
This is also happening on Fedora 38. This package has been broken for a while and nobody seems to have noticed.
Note that I have requested retirement via https://pagure.io/fesco/issue/3080 If you plan to fix this in time for Fedora Linux 39 final release, please let me know ASAP. FEDORA-2023-8666d61708 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8666d61708 Thanks Miro for testing. I have fixed the s# formatting for post 3.10 FEDORA-2023-d695a9bb67 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d695a9bb67 FEDORA-2023-a07fa5e33d has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a07fa5e33d Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ All subpackages of a package against which this bug was filled are now installable or removed from Fedora 40. Thanks for taking care of it! FEDORA-2023-a07fa5e33d has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a07fa5e33d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a07fa5e33d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-d695a9bb67 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d695a9bb67` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d695a9bb67 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Can be installed. Functionality not tested. +4 in https://pagure.io/fedora-qa/blocker-review/issue/1379 , marking accepted. FEDORA-2023-a07fa5e33d has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-d695a9bb67 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. |