Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 381149

Summary: x11-libs/gdk-pixbuf-2.24.0 failed (compile phase) because of lack of libffi.so.6
Product: Gentoo Linux Reporter: Amadeusz Żołnowski (RETIRED) <aidecoe>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal CC: derk.tebokkel, gnome, reich-cv
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gdk-pixbuf-build.log
libffi-3.0.10.files
libffi-3.0.10_rc8.files
emerge --info

Description Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-08-30 11:05:20 UTC
dev-libs/libffi-3.0.10_rc8 installs libffi.so.6, 
dev-libs/libffi-3.0.10 installs libffi.so.5 and no *.6, gdk-pixbuf-2.24.0 expects libffi.so.6.

Reproducible: Always

Actual Results:  
g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGDK_PIXBUF_DISABLE_DEPRECATED -march=native -O2 -pipe -Wall -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng14 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o /var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf/tmp-introspectKrHAJp/GdkPixbuf-2.0.o /var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf/tmp-introspectKrHAJp/GdkPixbuf-2.0.c
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC --silent gcc -o /var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf/tmp-introspectKrHAJp/GdkPixbuf-2.0 -export-dynamic -DGDK_PIXBUF_DISABLE_DEPRECATED -march=native -O2 -pipe -Wall -L. libgdk_pixbuf-2.0.la -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf/tmp-introspectKrHAJp/GdkPixbuf-2.0.o
gdk-pixdata.c:627: Warning: GdkPixbuf: gdk_pixdata_to_csource: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
gdk-pixdata.c:411: Warning: GdkPixbuf: gdk_pixbuf_from_pixdata: return value: Missing (transfer) annotation
/usr/bin/g-ir-compiler  --includedir=. GdkPixbuf-2.0.gir -o GdkPixbuf-2.0.typelib
/usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
make[4]: *** [GdkPixbuf-2.0.typelib] Error 127
make[4]: Leaving directory `/var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0'
make: *** [all] Error 2
Comment 1 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-08-30 11:06:18 UTC
Created attachment 285069 [details]
gdk-pixbuf-build.log
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-08-30 11:09:30 UTC
Created attachment 285071 [details]
libffi-3.0.10.files
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-08-30 11:09:43 UTC
Created attachment 285073 [details]
libffi-3.0.10_rc8.files
Comment 4 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-08-30 11:12:59 UTC
Created attachment 285075 [details]
emerge --info
Comment 5 Rafał Mużyło 2011-08-30 11:34:34 UTC
Well, no.
gdk-pixbuf expects revdep-rebuild after emerging 3.0.10.

Frankly, upstream git qualifies into "messy as hell" category, but the log entries suggest ABI change that was present in rc8 was reverted for ARM Fedora release.

Nice of the upstream, ain't it ? 

Well, at least glib 2.30 (which will depend on libffi) isn't released ATM.
Comment 6 Rafał Mużyło 2011-08-30 11:38:04 UTC
*** Bug 381103 has been marked as a duplicate of this bug. ***
Comment 7 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-08-30 13:18:50 UTC
Right, after revdep-rebuild all compiles fine.
Comment 8 Rafał Mużyło 2011-09-03 12:58:39 UTC
*** Bug 381683 has been marked as a duplicate of this bug. ***