Bug 2157817 - python3-cairocffi: missing requires for gdk-pixbuf2, glib2, and gtk3
Summary: python3-cairocffi: missing requires for gdk-pixbuf2, glib2, and gtk3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cairocffi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carl George 🎩
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2025124
TreeView+ depends on / blocked
 
Reported: 2023-01-03 03:35 UTC by Carl George 🎩
Modified: 2023-02-20 01:15 UTC (History)
4 users (show)

Fixed In Version: python-cairocffi-1.3.0-6.fc38 python-cairocffi-1.3.0-6.fc37
Clone Of:
Environment:
Last Closed: 2023-01-03 17:37:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Carl George 🎩 2023-01-03 03:35:07 UTC
Description of problem:
python3-cairocffi opens several libraries via dlopen.

https://github.com/Kozea/cairocffi/blob/v1.3.0/cairocffi/pixbuf.py#L22-L37

- libgdk_pixbuf-2.0.so.0 (gdk-pixbuf2)
- libgobject-2.0.so.0 (glib2)
- libglib-2.0.so.0 (glib2)
- libgdk-3.so.0 (gtk3)

These libraries are not currently dependencies of the package.  I think they should be.


Version-Release number of selected component (if applicable):
python3-cairocffi-1.3.0-5.fc37


How reproducible:
always


Steps to Reproduce:
1. dnf install python3-cairocffi
2. python3 -c 'import cairocffi.pixbuf'


Actual results:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.11/site-packages/cairocffi/pixbuf.py", line 22, in <module>
    gdk_pixbuf = dlopen(
                 ^^^^^^^
  File "/usr/lib/python3.11/site-packages/cairocffi/__init__.py", line 45, in dlopen
    raise OSError(error_message)  # pragma: no cover
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: no library called "gdk_pixbuf-2.0" was found
no library called "libgdk_pixbuf-2.0-0" was found
cannot load library 'libgdk_pixbuf-2.0.so.0': libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
cannot load library 'libgdk_pixbuf-2.0.0.dylib': libgdk_pixbuf-2.0.0.dylib: cannot open shared object file: No such file or directory
cannot load library 'libgdk_pixbuf-2.0-0.dll': libgdk_pixbuf-2.0-0.dll: cannot open shared object file: No such file or directory


Expected results:
<module 'cairocffi.pixbuf' from '/usr/lib/python3.11/site-packages/cairocffi/pixbuf.py'>

Comment 2 Fedora Update System 2023-01-03 17:34:48 UTC
FEDORA-2023-97567074dd has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-97567074dd

Comment 3 Fedora Update System 2023-01-03 17:37:34 UTC
FEDORA-2023-97567074dd has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2023-01-03 17:40:55 UTC
FEDORA-2023-2de9f0bf50 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2de9f0bf50

Comment 5 Fedora Update System 2023-01-04 02:20:10 UTC
FEDORA-2023-2de9f0bf50 has been pushed to the Fedora 37 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-2de9f0bf50`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2de9f0bf50

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

Comment 6 Fedora Update System 2023-01-12 01:51:54 UTC
FEDORA-2023-2de9f0bf50 has been pushed to the Fedora 37 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.