Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383929 - sys-devel/libtool-2.4-r2 doesn't install (which breaks ltdl users at configure time like imagemagick)
Summary: sys-devel/libtool-2.4-r2 doesn't install (which breaks ltdl users ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
: 384283 384621 (view as bug list)
Depends on: 293921
  Show dependency tree
Reported: 2011-09-21 10:59 UTC by Francesco Riosa
Modified: 2013-01-21 03:42 UTC (History)
3 users (show)

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

imagemagick- (imagemagick-,6.52 KB, application/x-gzip)
2011-09-21 11:00 UTC, Francesco Riosa
imagemagick- (imagemagick-,6.52 KB, application/octet-stream)
2011-09-21 12:24 UTC, Francesco Riosa
config.log (config.log,114.95 KB, text/plain)
2011-09-21 19:54 UTC, Francesco Riosa

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2011-09-21 10:59:35 UTC
see also bug #354479
same as bug #383915
Comment 1 Francesco Riosa 2011-09-21 11:00:28 UTC
Created attachment 287265 [details]
Comment 2 Rafał Mużyło 2011-09-21 11:47:11 UTC
1. be more careful, while attaching - it's another one of your logs that's actually .gz.gz
2. what's the error in the relevant config.log ?
Comment 3 Francesco Riosa 2011-09-21 12:24:48 UTC
Created attachment 287275 [details]

upload again, 1st time the file got messed up, chosen application/octet-stream instead of auto-detect as content type
Comment 4 Francesco Riosa 2011-09-21 12:28:27 UTC
(In reply to comment #2)
> 1. be more careful, while attaching - it's another one of your logs that's
> actually .gz.gz

Should be "be more careful, while reporting a bug", seem to be not related to libpng at all, I've no time to investigate this immediately, could we suspend this until friday?

> 2. what's the error in the relevant config.log ?

checking whether lt_dlinterface_register is declared... yes
checking for lt_dladvise_preload in -lltdl... yes
configure: error: invalid ltdl library directory: `/usr/lib64'

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-gfx/imagemagick-
 * ERROR: media-gfx/imagemagick- failed (configure phase):
 *   econf failed
 * Call stack:
 *, line   91:  Called src_configure
 *        environment, line 2616:  Called econf '--docdir=/usr/share/doc/imagemagick-' '--enable-static' '--enable-hdri' '--disable-opencl' '--with-threads' '--without-included-ltdl' '--with-ltdl-include=/usr/include' '--with-ltdl-lib=/usr/lib64' '--with-modules' '--with-quantum-depth=16' '--with-magick-plus-plus' '--with-perl' '--with-perl-options=INSTALLDIRS=vendor' '--with-gs-font-dir=/usr/share/fonts/default/ghostscript' '--with-bzlib' '--without-x' '--with-zlib' '--with-autotrace' '--without-dps' '--with-djvu' '--with-dejavu-font-dir=/usr/share/fonts/dejavu' '--with-fftw' '--without-fpx' '--without-fontconfig' '--with-freetype' '--without-gslib' '--with-gvc' '--with-jbig' '--with-jpeg' '--with-jp2' '--without-lcms' '--with-lcms2' '--without-lqr' '--with-lzma' '--with-openexr' '--with-png' '--with-rsvg' '--with-tiff' '--with-webp' '--with-windows-font-dir=/usr/share/fonts/corefonts' '--without-wmf' '--with-xml' '--enable-openmp'
 *, line  454:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
Comment 5 Rafał Mużyło 2011-09-21 14:25:17 UTC
OK, maybe I didn't typed it clearly enough the first time:
...the relevant *config.log*...
Comment 6 Francesco Riosa 2011-09-21 19:54:48 UTC
Created attachment 287357 [details]

Not needed anyway here it is.

The problem was libtool related, re-emerging sys-devel/libtool-2.4-r1 fixed the compile failure.
Comment 7 Rafał Mużyło 2011-09-21 20:03:21 UTC
I can make a pretty good guess - you've removed file - that's one of the few you should leave alone (those for imagemagick modules are another alike set).
Comment 8 Martin Gysel (bearsh) 2011-09-23 14:03:48 UTC
but then please make sure libtool has been built with USE=static-libs as latest revision doesn't install .la files anymore without USE=static-libs
Comment 9 SpanKY gentoo-dev 2011-09-24 06:39:49 UTC
should be all set now in the tree; thanks for the report!

Commit message: Restore and add a comment noting its requirement to prevent future screw-ups
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2011-09-24 07:44:59 UTC
*** Bug 384283 has been marked as a duplicate of this bug. ***
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2011-09-27 08:00:13 UTC
*** Bug 384621 has been marked as a duplicate of this bug. ***
Comment 12 Luke 2012-03-09 09:03:24 UTC
why fix this by restoring the .la file? I found this fix in the forums, and it seems to fix the problem nicely in the imagemacgick ebuild:

add next line to src_prepare() in ebuild

sed 's/with_ltdl_lib\/\/' -i configure
Comment 13 SpanKY gentoo-dev 2013-01-21 03:42:58 UTC
Commit message: Disable search of libtool files (like as well as -I/-L build paths