Every time I upgrade mysql I run revdep-rebuild on the uninstalled library, and every time revdep-rebuild fails to pick up /usr/qt/3/plugins/sqldrivers/libqsqlmysql.so and in turn qt3 never gets rebuilt. Steps to Reproduce: 1. emerge qt3 with USE="mysql" 2. upgrade mysql 3. run revdep-rebuild emerge --info Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo-r2.0 x86_64) ================================================================= System uname: 2.6.14-gentoo-r2.0 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre15 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" 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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac alsa apache2 avi berkdb bitmap-fonts bzip2 crypt cups curl dbus divx4linux dts dv dvd dvdread eds emboss encode exif expat fame ffmpeg fftw flac foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imlib java jpeg kde kdeenablefinal lcms lzw lzw-tiff mad mng mozilla mp3 mpeg mpeg4 mysql ncurses nls nptl ogg oggvorbis pam pcre pdflib perl php png python qt quicktime readline samba sdl server spell sql sqlite ssl subtitles tcpd theora tidy tiff transcode truetype truetype-fonts type1-fonts usb userlocales v4l vorbis xine xml xml2 xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_savage" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Can you do me a favor? Create a file in /etc/revdep-rebuild, say "50-qt3", with the text: SEARCH_DIRS="/usr/qt/3/lib /usr/qt/3/plugins*" And see if revdep-rebuild catches it. If so, I'll fix the qt3 ebuild to add this file.
Yes this picks it up :D Is it allright if I leave this file around until the fix hits portage, or should i delete it?
No harm leaving it. I'm going to add this to Qt-3 now.
Should now be fixed in 3.3.4-r8 and 3.3.5. I think Qt4 doesn't suffer from this problem since the libraries are already in /usr/lib. I didn't revbump the releases, because 3.3.6 will be coming out soon.
*** Bug 129279 has been marked as a duplicate of this bug. ***