Summary: | sys-devel/libtool-2.4-r2 doesn't install libltdl.la (which breaks ltdl users at configure time like imagemagick) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francesco Riosa <vivo75> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | elliotdit, manuel.lauss, me |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 293921 | ||
Bug Blocks: | |||
Attachments: |
imagemagick-6.7.2.6:20110920-234133.log.gz
imagemagick-6.7.2.6:20110920-234133.log.gz config.log |
Description
Francesco Riosa
2011-09-21 10:59:35 UTC
Created attachment 287265 [details]
imagemagick-6.7.2.6:20110920-234133.log.gz
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 ? Created attachment 287275 [details]
imagemagick-6.7.2.6:20110920-234133.log.gz
upload again, 1st time the file got messed up, chosen application/octet-stream instead of auto-detect as content type
(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-6.7.2.6/work/ImageMagick-6.7.2-6/config.log * ERROR: media-gfx/imagemagick-6.7.2.6 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 91: Called src_configure * environment, line 2616: Called econf '--docdir=/usr/share/doc/imagemagick-6.7.2.6' '--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' * phase-helpers.sh, line 454: Called die * The specific snippet of code: * die "econf failed" OK, maybe I didn't typed it clearly enough the first time: ...the relevant *config.log*... Created attachment 287357 [details]
config.log
Not needed anyway here it is.
The problem was libtool related, re-emerging sys-devel/libtool-2.4-r1 fixed the compile failure.
I can make a pretty good guess - you've removed libltdl.la file - that's one of the few you should leave alone (those for imagemagick modules are another alike set). 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 should be all set now in the tree; thanks for the report! Commit message: Restore libltdl.la and add a comment noting its requirement to prevent future screw-ups http://sources.gentoo.org/sys-devel/libtool/libtool-2.4-r3.ebuild?rev=1.1 http://sources.gentoo.org/sys-devel/libtool/libtool-9999.ebuild?r1=1.7&r2=1.8 *** Bug 384283 has been marked as a duplicate of this bug. *** *** Bug 384621 has been marked as a duplicate of this bug. *** 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\/libltdl.la/with_ltdl_lib\/libltdl.so/g' -i configure Commit message: Disable search of libtool files (like ltdl.la) as well as -I/-L build paths http://sources.gentoo.org/media-gfx/imagemagick/imagemagick-6.7.8.7.ebuild?r1=1.8&r2=1.9 http://sources.gentoo.org/media-gfx/imagemagick/imagemagick-6.7.9.9.ebuild?r1=1.1&r2=1.2 |