Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381683 - sys-fs/udev-171-r1 fails with: error while loading shared libraries libffi.so.6: cannot open shared object file
Summary: sys-fs/udev-171-r1 fails with: error while loading shared libraries libffi.so...
Status: RESOLVED DUPLICATE of bug 381149
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-03 10:59 UTC by RCV
Modified: 2011-09-03 12:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RCV 2011-09-03 10:59:16 UTC
compile udev with USE="acl extras gudev hwdb keymap rule_generator"
Here is the error message:

udev/udevadm-settle.c: В функции ‘udevadm_settle’:
udev/udevadm-settle.c:196:9: предупреждение: ignoring return value of ‘read’, declared with attribute warn_unused_result
  CC     udev/udevadm-trigger.o
  CCLD   udev/udevadm
  GEN    extras/gudev/GUdev-1.0.gir
extras/gudev/gudevenumtypes.h:24: Warning: GUdev: symbol='_GUDEV_INSIDE_GUDEV_H': Unknown namespace for symbol 'GUDEV_INSIDE_GUDEV_H'
g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -mtune=native -march=native -fomit-frame-pointer -I./extras -I./extras -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o /var/tmp/portage/sys-fs/udev-171-r1/work/udev-171/tmp-introspectQee8WT/GUdev-1.0.o /var/tmp/portage/sys-fs/udev-171-r1/work/udev-171/tmp-introspectQee8WT/GUdev-1.0.c
g-ir-scanner: link: libtool --mode=link --tag=CC --silent gcc -o /var/tmp/portage/sys-fs/udev-171-r1/work/udev-171/tmp-introspectQee8WT/GUdev-1.0 -export-dynamic -O2 -pipe -mtune=native -march=native -fomit-frame-pointer -L. -lgudev-1.0 -L./libudev -L./extras/gudev -pthread -lgio-2.0 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 /var/tmp/portage/sys-fs/udev-171-r1/work/udev-171/tmp-introspectQee8WT/GUdev-1.0.o
extras/gudev/gudevdevice.c:376: Warning: GUdev: g_udev_device_get_parent: return value: Missing (transfer) annotation
extras/gudev/gudevdevice.c:407: Warning: GUdev: g_udev_device_get_parent_with_subsystem: return value: Missing (transfer) annotation
  GEN    extras/gudev/GUdev-1.0.typelib
g-ir-compiler: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
make[2]: *** [extras/gudev/GUdev-1.0.typelib] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed


But I have installed virtual/libffi and dev-libs/libffi


Reproducible: Always

Steps to Reproduce:
1. emerge -v1 udev




emerge --info =sys-fs/udev-171-r1
Portage 2.1.10.12 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 2.6.38-gentoo-r7 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r7-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 03 Sep 2011 08:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7-r2
dev-util/cmake:           2.8.5-r2::science
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo lisp science rion sunrise my_local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=native -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://mirror2.corbina.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ "
LANG="ru_RU.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/lisp /usr/local/portage/layman/science /usr/local/portage/layman/rion /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 aspell berkdb bluetooth branding bzip2 cairo cdr cleartype cli cracklib crypt cxx dbus dirac djvu dri dts dvd dvdr emacs emboss encode faac faad fam ffmpeg firefox flac fortran gdbm gdu gif gnutls gs iconv imagemagick int64 jbig jpeg jpeg2k lapack laptop latex lcdfilter lcms mad mercurial mmx mng modules mopac7 mp3 mp4 mpeg mpqc mudflap multilib ncurses network nls nptl nptlonly ogg openbabel opencore-amr opengl openmp pam pango pcre pdf pic plotutils png ppds pppd preview-latex qt3support readline schroedinger session speex spell sse sse2 ssl ssse3 svg sysfs system-sqlite tcpd theora threads tiff truetype udev umfpack unicode usb v4l2 vorbis x264 xanim xcb xft xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 RCV 2011-09-03 11:02:53 UTC
emerge -pqv =sys-fs/udev-171-r1

[ebuild   R   ] sys-fs/udev-171-r1  USE="acl extras gudev hwdb keymap rule_generator -action_modeswitch -build -debug -edd -floppy -introspection (-selinux) -test"
Comment 2 Rafał Mużyło 2011-09-03 12:58:39 UTC
> But I have installed virtual/libffi and dev-libs/libffi
That's great. Now, use revdep-rebuild and you should be fine.

*** This bug has been marked as a duplicate of bug 381149 ***