Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76566 - imlib2 wouldn't build when using revdep-rebuild
Summary: imlib2 wouldn't build when using revdep-rebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-03 14:57 UTC by Adam
Modified: 2005-01-04 14:12 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 Adam 2005-01-03 14:57:29 UTC
When I ran revdep-rebuild (after updating my system), it was trying to emerge imlib2:
>>> emerge (2 of 2) media-libs/imlib2-1.1.2 to /
but it failed with this error:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lltdl

A little while ago, I accidentally ran emerge --update world (i.e. without putting --deep like I usually do), this gave some errors, then later I realized what I did and ran it again with --update and --deep, followed by emerge depclean.  The error occurred when trying to run revdep-rebuild right after that.  This may or may not be related to the bug.

I don't really know what imlib2 is and I don't want it specifically but apparently something I want requires it.


Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.




root>emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.3.20040420-r2,
2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://mirror.datapipe.net/gentoo
http://mirror.clarkson.edu/pub/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow acl alsa arts avi bitmap-fonts cdr crypt cups dvd encode fam
foomaticdb fortran gdbm gif gpm gtk2 imagemagick imlib ipv6 java jpeg junit kde
libwww mmx mozilla mpeg mysql ncurses oggvorbis opengl pam pdflib perl png ppds
qt quicktime readline scanner sdl slang ssl tcpd tiff truetype usb xml2 xmms
xprint zlib"
Comment 1 Adam 2005-01-03 15:08:32 UTC
Also, revdep-rebuild wants to build imagemagick-6.1.3.4.  Each time I try it, it builds that successfully first but fails at imlib2.  But then when I run the command again, it tries to build imagemagick again, even though it was already built.

I tried the commands without revdep-rebuild, and they failed too, including trying to build imlib2 by itself.
Comment 2 Adam 2005-01-03 15:50:33 UTC
Here's something else interesting: the revdep-rebuild command printed this output for ImageMagick:

  broken /usr/lib/perl5/site_perl/5.8.5/i686-linux/auto/Image/Magick/Magick.so (requires libltdl.so.3)

libltdl is probably the same library as lltdl which the error message was mentioning.
Comment 3 SpanKY gentoo-dev 2005-01-03 20:40:46 UTC
not an imlib2 bug

*** This bug has been marked as a duplicate of 69705 ***
Comment 4 Adam 2005-01-04 12:06:53 UTC
But bug 69705 says it's fixed in version 6.1.3.4.  That's the version it's installing for me, so either that bug isn't fixed or this bug isn't a duplicate of it.

I also noticed when I continuously run revdep-rebuild, it keeps re-installing imagemagick (i.e. some libraries are still broken).  That might be related or it might be another bug.
Comment 5 SpanKY gentoo-dev 2005-01-04 12:18:15 UTC
just because you have the new imagemagick doesnt mean your libtool isnt broken

you need to re-emerge libtool
Comment 6 Adam 2005-01-04 14:12:40 UTC
Thanks, I think that fixed it.  But how did libtool get broken in the first place?  Is it because I was using a version of imagemagick earlier than 6.1.3.4 which caused that other bug?  (Otherwise the fact that it was broken might itself be a bug).