Bug 2180466

Summary: pykka fails to build with Sphinx 6.1.3
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: pykkaAssignee: Orphan Owner <extras-orphan>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: fti-bugs, mail, t-fedora, thrnciar
Target Milestone: ---Flags: fti-bugs: needinfo? (mail)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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, 2168842, 2168845, 2220041, 2220042, 2226017, 2226018, 2231790, 2231791, 2135122    
Attachments:
Description Flags
Fix-FTBFS-RHBZ-2180466.patch none

Description Karolina Surma 2023-03-21 14:34:45 UTC
pykka fails to build with Sphinx 6.1.3 in Fedora 39 (currently Rawhide).

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/sphinx-6.1.3/package/pykka/

You can test you package in mock running:

$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-6.1.3/fedora-rawhide-x86_64/ --no-clean your.src.rpm
$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-6.1.3/fedora-rawhide-x86_64/ shell

The issue detected:

Exception occurred:
File "/usr/lib/python3.11/site-packages/sphinx/ext/extlinks.py", line 103, in role
title = caption % part
        ~~~~~~~~^~~~~~
TypeError: not all arguments converted during string formatting

It's an error in configuration.
To resolve, edit the documentation `conf.py` and correct the `extlinks` definition to contain exactly one `%s` in the captions, eg.

Bad:
'github': ('https://github.com/%s', '')

Good:
'github': ('https://github.com/%s', '%s')

Sphinx 6.1.3 will be included in Fedora 39.
Let us know here if you have any questions. Thank you!

Comment 1 Karolina Surma 2023-04-05 09:30:55 UTC
Hi,

This is a friendly notice that Sphinx 6.1.3 will be shipped to Fedora Rawhide on April 13th. This package - unless fixed - will start to FTBFS.
I'll be happy to help with fixing the issues, should you need it.
If this package has already been handled, please ignore this message and ideally close the ticket. Thank you!

Comment 2 Miro HronĨok 2023-07-10 07:08:55 UTC
*** Bug 2220086 has been marked as a duplicate of this bug. ***

Comment 3 Tobias 2023-07-14 17:05:51 UTC
Created attachment 1975833 [details]
Fix-FTBFS-RHBZ-2180466.patch

I've had a quick look at this and the attached patch makes it build on rawhide for me again.

Fabian, if you want to, please add me as co-maintainer.

Comment 4 Fedora Fails To Install 2023-07-17 07:25:28 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/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 4+ weeks.
This is the second reminder (step 4) from the policy.

Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug.

Comment 5 Fedora Fails To Install 2023-08-15 06:59:06 UTC
This package has been orphaned.

You can pick it up at https://src.fedoraproject.org/rpms/pykka by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution.

Comment 6 Fedora Release Engineering 2023-08-16 07:12:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.