FS#72510 - [python-gobject] Cannot find libffi

Attached to Project: Arch Linux
Opened by David Yang (davidy22) - Friday, 22 October 2021, 06:00 GMT
Last edited by Antonio Rojas (arojas) - Friday, 22 October 2021, 06:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
A user in a downstream project has recently reported the error

Traceback (most recent call last):
File "/usr/local/bin/guake", line 6, in <module>
from guake.main import exec_main
File "/usr/lib/python3.9/site-packages/guake/main.py", line 49, in <module>
from guake.support import print_support
File "/usr/lib/python3.9/site-packages/guake/support.py", line 5, in <module>
import gi
File "/home/az/.local/lib/python3.9/site-packages/gi/__init__.py", line 40, in <module>
from . import _gi
ImportError: libffi.so.7: cannot open shared object file: No such file or directory


when trying to run Guake. They upgraded to libffi.so.8, which seems to be offered in the arch repositories, but pygobject seems to have a hard dependency on libffi.so.7 judging by the error message. Either needs to require and install libffi.so.7, or detect and use later versions here.

Additional info:
* Occurs specifically when user upgrades to libffi.so.8 from libffi.so.7.
* Submitted on behalf of a bug report from a project that depends upon this https://github.com/Guake/guake/issues/1944

Steps to reproduce:
Upgrade to libffi.so.8
Try to run Guake
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 22 October 2021, 06:03 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Friday, 22 October 2021, 06:03 GMT
"/home/az/.local/lib/python3.9/site-packages/gi/__init__.py"

This is on your home dir, so nothing to do with Arch packaging.

Loading...