Bug#474644: libffi4-dev Provides: libffi-dev, but does not appear to actually be compatible
Package: libffi4-dev
Version: 4.1.2-6
Severity: normal
I have python-gobject-dev installed; python-gobject-dev Depends: on
libffi-dev. On my system, this dependency was satisfied by libffi4-dev,
because libffi4-dev Provides: libffi-dev.
However, this leaves me with a broken python-gobject-dev package, because
at least some operations seem to actually need libffi-dev; libffi4-dev
doesn't work:
# With libffi4-dev installed:
$ pkg-config --libs --cflags pygobject-2.0
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'PyGObject', not found
# With libffi-dev installed instead:
$ pkg-config --libs --cflags pygobject-2.0
-I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lgobject-2.0 -lglib-2.0
(I'm not entirely sure whether this should be considered a bug in
libffi or python-gobject; this is just my best guess.)
Reply to: