Bug 2247185
Summary: | pygobject3 fails to build in current Fedora Rawhide (F40) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | pygobject3 | Assignee: | Colin Walters <walters> |
Status: | CLOSED COMPLETED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 40 | CC: | icq, mhroncok, walters |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | pygobject3-3.48.2-1.fc40, pygobject3-3.48.2-2.fc41 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-09-04 16:08:59 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 |
Description
Karolina Surma
2023-10-31 07:21:07 UTC
https://koschei.fedoraproject.org/package/pygobject3 indicates this started recently: https://koschei.fedoraproject.org/build/16528542 Other than a few upgrades, this Koschei build stopped pulling gstreamer1-plugins-bad-free and pulls in gstreamer1-plugins-bad-free-libs instead, caused by https://src.fedoraproject.org/rpms/gstreamer1-plugins-bad-free/c/2d1a75dff9a6565cb3dcb8fcf61e57fa67548f12?branch=rawhide I will investigate if installing the full gstreamer1-plugins-bad-free package makes a difference and if so, bisect the transitional dependencies. Installing gstreamer1-plugins-bad-free makes this build... The transitive dependency that makes a difference is gtk3. When gtk3 is installed, the tests pass, when it is not installed, we get: @unittest.skipIf(Gdk._version == "4.0", 'Gdk4 doesn\'t have GdkAtom') E AttributeError: 'NoneType' object has no attribute '_version' if Gtk is None: E NameError: name 'Gtk' is not defined GTK4 = (Gtk._version == "4.0") E AttributeError: 'NoneType' object has no attribute '_version' Since this is all about gtk4, the fact that gtk3 is needed is kinda weird :/ This fixes the problem, but I am a bit hesitant to push that, considering my lack of knowledge about gobject introspection and GTK: --- a/pygobject3.spec +++ b/pygobject3.spec @@ -22,6 +22,7 @@ BuildRequires: python3-devel >= %{python3_version} BuildRequires: python3-setuptools # Test dependencies. BuildRequires: python3dist(pytest) +BuildRequires: gtk3 BuildRequires: gtk4 BuildRequires: xorg-x11-server-Xvfb Could you please have a look at this? This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |