Bug 2283104 - gplugin: FTBFS with upcoming gi-docgen 2024.1 due to --fatal-warnings
Summary: gplugin: FTBFS with upcoming gi-docgen 2024.1 due to --fatal-warnings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gplugin
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2281806
TreeView+ depends on / blocked
 
Reported: 2024-05-24 13:38 UTC by Ben Beasley
Modified: 2024-06-11 01:58 UTC (History)
2 users (show)

Fixed In Version: gplugin-0.43.1-3.fc40 gplugin-0.43.1-3.fc39
Clone Of:
Environment:
Last Closed: 2024-06-11 01:49:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2024-05-24 13:38:16 UTC
The gplugin package was the only one that showed a regression in an impact check for gi-docgen 2024.1[1]:

[66/230] /usr/bin/gi-docgen generate --quiet --fatal-warnings --config=gplugin/reference/gplugin.toml --output-dir=gplugin/reference/gplugin --no-namespace-dir --content-dir=/builddir/build/BUILD/gplugin-0.43.1/gplugin/reference gplugin/GPlugin-1.0.gir
FAILED: gplugin/reference/gplugin 
/usr/bin/gi-docgen generate --quiet --fatal-warnings --config=gplugin/reference/gplugin.toml --output-dir=gplugin/reference/gplugin --no-namespace-dir --content-dir=/builddir/build/BUILD/gplugin-0.43.1/gplugin/reference gplugin/GPlugin-1.0.gir
WARNING: Unknown namespace Gio
The ID of the [class] schema for the plugin.
              ^~~~~~~~~~~~~~~~~~~~

I claim that --fatal-warnings is too strict for downstream packaging, and it should be removed. I opened a PR to do that[2]. Please review the PR at your earliest convenience. I would like to provide gi-docgen 2024.1[3] in all branches (Rawhide/F41, F40, F39, and EPEL9), so I would appreciate it if the --fatal-warnings removal could be backported to all releases as well.

If you agree with the PR but are too busy to deal with it, I am happy to use provenpackager privilege to merge it and create updates – just let me know that I have your consent and I will proceed.

[1] https://copr.fedorainfracloud.org/coprs/music/gi-docgen/packages/
[2] https://src.fedoraproject.org/rpms/gplugin/pull-request/3
[3] https://src.fedoraproject.org/rpms/gi-docgen/pull-request/10

Reproducible: Always

Comment 1 Ben Beasley 2024-05-24 13:39:40 UTC
While I have a bug open, let me hijack it slightly to mention [1], which would ensure the correct unbundled fonts are installed for the packaged HTML documentation.

[1] https://src.fedoraproject.org/rpms/gplugin/pull-request/2

Comment 2 Ben Beasley 2024-05-28 16:39:55 UTC
If there is no feedback in this bug or on https://src.fedoraproject.org/rpms/gplugin/pull-request/3 and https://src.fedoraproject.org/rpms/gplugin/pull-request/2 in one week, by 2024-06-04, then I intend to merge both PR’s to Rawhide/F41, F40, and F39 using provenpackager privilege in order to unblock gi-docgen-2024.1.

Comment 3 Ben Beasley 2024-06-02 12:19:48 UTC
PR’s “verbally” approved on Matrix chat. Thanks!

Comment 4 Fedora Update System 2024-06-02 19:06:15 UTC
FEDORA-2024-9a42270afe (gi-docgen-2024.1-1.fc40 and gplugin-0.43.1-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9a42270afe

Comment 5 Fedora Update System 2024-06-02 19:36:54 UTC
FEDORA-2024-f01a9699c8 (gi-docgen-2024.1-1.fc39 and gplugin-0.43.1-3.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f01a9699c8

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

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

Comment 7 Fedora Update System 2024-06-03 04:15:20 UTC
FEDORA-2024-9a42270afe 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-9a42270afe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9a42270afe

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

Comment 8 Fedora Update System 2024-06-11 01:49:43 UTC
FEDORA-2024-9a42270afe (gi-docgen-2024.1-1.fc40 and gplugin-0.43.1-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2024-06-11 01:58:47 UTC
FEDORA-2024-f01a9699c8 (gi-docgen-2024.1-1.fc39 and gplugin-0.43.1-3.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.