I'm trying to emerge gmime, and it fails with the following error while building the docs. cd . && gtkdoc-fixxref --module-dir=html --html-dir=/usr/share/gtk-doc/html touch html-build.stamp make[3]: Leaving directory `/var/tmp/portage/gmime-2.1.9-r3/work/gmime-2.1.9/docs/reference' Making all in tutorial make[3]: Entering directory `/var/tmp/portage/gmime-2.1.9-r3/work/gmime-2.1.9/docs/tutorial' (cd .; \ docbook2html gmime-tut.sgml; \ test -d html && rm -r html; \ mv gmime-tut html) head: `-1' option is obsolete; use `-n 1' since this will be removed in the future Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#html Working on: /var/tmp/portage/gmime-2.1.9-r3/work/gmime-2.1.9/docs/tutorial/gmime-tut.sgml jade: error while loading shared libraries: libosp.so.3: cannot open shared object file: No such file or directory mv: cannot stat `gmime-tut': No such file or directory make[3]: *** [html] Error 1 make[3]: Leaving directory `/var/tmp/portage/gmime-2.1.9-r3/work/gmime-2.1.9/docs/tutorial' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gmime-2.1.9-r3/work/gmime-2.1.9/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gmime-2.1.9-r3/work/gmime-2.1.9' make: *** [all] Error 2 !!! ERROR: dev-libs/gmime-2.1.9-r3 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! configure failed !!! If you need support, post the topmost build error, NOT this status message. assuming the error is 'libosp.so.3: cannot open shared object file'. max@yoke $ equery belongs /usr/lib/libosp.so.4 [ Searching for file(s) /usr/lib/libosp.so.4 in *... ] app-text/opensp-1.5.1 (/usr/lib/libosp.so.4 -> libosp.so.4.0.0) so I assume the fix is to change add a dependency on whatever version of opensp generates libosp.so.3.0.0 For the record: max@yoke morocco-april-2005 $ emerge --info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, May 9 2005, 13:40:33)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.2.3-r5, 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.21, 2.6.8.1-r2, 2.4.19-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.math.bme.hu" LANG="en_GB" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://mirror.mxtelecom.com/gentoo-portage" USE="x86 X aalib acpi4linux alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo bootsplash cddb cdr cjk crypt cscope cups curl dnd doc dvd eds emboss encode escreen esd ethereal etwin evo exiscan-acl faad fam fbcon ffmpeg firebird flac foomaticdb foreign-package foreign-sysvinit fortran freetds gb gd gdbm ggi gif gmail gmailtimestamps gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib innodb ipv6 ithreads jabber java jpeg junit jython kde kdeenablefinal kerberos lcms ldap libg++ libwww live lmtp log4j mad maildir md5sum mikmod mime mmx mmxext motif mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn music mysql nas ncurses nls nogcj odbc offensive ogg oggvorbis opengl opie oss pam passfile pcre pda pdflib perl png postgres prebuilt python qt readline samba sasl sdl slang slp snmp speex spell sqlite ssl startup-notification stream stroke svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb v4l vim-with-x vorbis win32codecs wmf wxwindows xalan xine xinerama xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY If you need any further information, please let me know.
I should have posted: max@yoke $ locate libosp /usr/lib/libospgrove.la /usr/lib/libospgrove.so /usr/lib/libosp.la /usr/lib/libosp.so /usr/lib/libosp.so.4.0.0 /usr/lib/libospgrove.so.0 /usr/lib/libospgrove.a /usr/lib/libospgrove.so.0.0.1 /usr/lib/libosp.a /usr/lib/libosp.so.4
You need to run revdep-rebuidl
Remerge openjade - you have probably upgraded libosp recently, and /usr/bin/jade links to a non-existant .so file. This is not a gmime bug.
Reopen if suggested fix didn't help.
many thanks - your diagnosis was correct - revdep-rebuild solves all