Bug 2246380

Summary: gtts fails to build from source in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: gttsAssignee: Peter Robinson <pbrobinson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: fti-bugs, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: gtts-2.5.1-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-12 16:11:56 UTC Type: ---
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, 2244836, 2260875, 2260877    

Description Karolina Surma 2023-10-26 13:17:27 UTC
The build fails with:

+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
/usr/bin/python3: can't open file '/builddir/build/BUILD/gTTS-2.3.2/setup.py': [Errno 2] No such file or directory

It seems the latest packaged version doesn't use setup.py anymore. In order to package projects using pyproject.toml, port the package to the pyproject-rpm-macros which are documented in the current Guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/


Reproducible: Always

Comment 1 Peter Robinson 2023-10-26 14:02:11 UTC
Yes, known, it's on my todo list, I think it's moved to a new build system.

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

Comment 3 Fedora Update System 2024-06-12 13:59:03 UTC
FEDORA-2024-332856efee (gtts-2.5.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-332856efee

Comment 4 Karolina Surma 2024-06-12 14:55:45 UTC
*** Bug 2291541 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Fails To Install 2024-06-12 16:11:56 UTC
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 41.

Thanks for taking care of it!

Comment 6 Fedora Update System 2024-06-13 03:51:03 UTC
FEDORA-2024-332856efee 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-332856efee`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-332856efee

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

Comment 7 Fedora Update System 2024-06-21 12:36:08 UTC
FEDORA-2024-332856efee (gtts-2.5.1-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.