I installed app-emulation/emul-linux-x86-java-1.4.2.02 to have openoffice-bin-2.0.0 working with USE="java" enabled on my amd64 system. Now whenever I run "revdep-rebuild -p" I get: principale ~ # revdep-rebuild -p Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /opt/java32/lib/i386/libjsoundalsa.so (requires libasound.so.2 libjvm.so libjvm.so libjvm.so) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) All prepared. Starting rebuild... emerge --oneshot --nodeps -p =app-emulation/emul-linux-x86-java-1.4.2.02 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-emulation/emul-linux-x86-java-1.4.2.02 Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild. Of course if I re-emerge the package the problem comes up again Reproducible: Always Steps to Reproduce: 1. cat "app-emulation/emul-linux-x86-java" >> /etc/portage/package.keywords 2. emerge -1 emul-linux-x86-java 3. revdep-rebuild -p Actual Results: The error above regarding linking consistency Expected Results: Installed fine, without linking problems. Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64) ================================================================= System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3800+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://gentoo.inode.at/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.du.se/pub/os/gentoo" LC_ALL="it_IT.utf8" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d aalib acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib caps cdparanoia cdr crypt cups curl dga dio divx4linux doc dvd dvdread eds emboss encode evo exif expat fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gcj gd ggi gif gnutls gphoto2 gpm gstreamer gtk2 hal idn imagemagick java javascript joystick jpeg kde kdeenablefinal lcms libcaca libwww lm_sensors lzw lzw-tiff mad maildir matroska mbox mng mozilla mp3 mpeg mpi ncurses nls nptl nsplugin offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl png posix ppds python qt quicktime readline sasl scanner sdl sockets sox speex spell ssl svg symlink sysvipc tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales videos vorbis wmf xine xml2 xosd xpm xv xvid zlib linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY
As said numerous times, revdep-rebuild sucks with binary packages...
Added RDEPEND on emul-linux-x86-soundlibs which provides libasound.so.2.