[MacPorts] #14195: ImageMagick port installs libtool wrapper scripts instead of the actual binaries
#14195: ImageMagick port installs libtool wrapper scripts instead of the actual binaries ----------------------------------+----------------------------------------- Reporter: joh@gmx.net | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: ImageMagick, libtool | ----------------------------------+----------------------------------------- Trying to install ImageMagick results in all ImageMagick tools ending up as libtool-wrappers instead of the actual binaries: {{{ $ convert /opt/local/bin/convert: error: `/opt/local/bin/.libs/convert' does not exist This script is just a wrapper for convert. See the libtool documentation for more information. }}} The content of the files looks like this: {{{ #! /bin/sh # utilities/convert - temporary wrapper script for .libs/convert # Generated by ltmain.sh (GNU libtool 1.2569 2008/01/24 16:16:26) 2.1a # # The utilities/convert program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. }}} Some lines from the build/destroot/install phases: {{{ libtool: install: warning: remember to run `libtool --finish /opt/local/lib' /bin/sh ./libtool --silent --mode=install /usr/bin/install 'utilities/convert' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_graphics_ImageMagick/work/destroot/opt/local/bin/convert' libtool: install: warning: `magick/libMagick.la' has not been installed in `/opt /local/lib' libtool: install: warning: `wand/libWand.la' has not been installed in `/opt/loc al/lib' libtool: install: warning: `/opt/local/var/macports/build/_opt_local_var_macport s_sources_rsync.macports.org_release_ports_graphics_ImageMagick/work/ImageMagick -6.3.8/magick/libMagick.la' has not been installed in `/opt/local/lib' libtool: install: warning: cannot relink `utilities/convert' }}} Installing libtool from MacPorts and rebuilding makes no difference. Symlinking the resulting /opt/local/bin/glibtool to /opt/local/bin/libtool then (and rebuilding) results in working ImageMagick binaries, though. I've additionally attached the output of {{{ ./libtool --debug --mode=install /usr/bin/install 'utilities/convert' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/work/destroot/opt/local/bin/convert' }}} run from the build directory. Cc'd the upstream libtool maintainer Peter O'Gorman <peter@pogma.com> -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14195> MacPorts </projects/macports> Ports system for Mac OS
#14195: ImageMagick port installs libtool wrapper scripts instead of the actual binaries --------------------------+------------------------------------------------- Reporter: joh@gmx.net | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ImageMagick, libtool --------------------------+------------------------------------------------- Changes (by ram@macports.org): * cc: ram@macports.org (added) * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * milestone: => Port Bugs Comment: assigning to maintainer -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14195#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14195: ImageMagick port installs libtool wrapper scripts instead of the actual binaries --------------------------+------------------------------------------------- Reporter: joh@gmx.net | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ImageMagick, libtool --------------------------+------------------------------------------------- Comment (by peter@pogma.com): Ok, I can reproduce this outside of MacPorts, ImageMagick-6.3.8-4 did not even build for me without patches though - working on a fix, will report to upstream ImageMagick maintainer asking for a new source release when fixed -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14195#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14195: ImageMagick port installs libtool wrapper scripts instead of the actual binaries --------------------------+------------------------------------------------- Reporter: joh@gmx.net | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ImageMagick, libtool --------------------------+------------------------------------------------- Comment (by peter@pogma.com): As a workaround you can edit the generated libtool script (after config.status has run) and change: fast_install=no to fast_install=needless something like `perl -pe -e 's/^fast_install.*/fast_install=needless' libtool` Don't know yet why libtool is not getting the correct value for this var at configure time. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14195#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14195: ImageMagick port installs libtool wrapper scripts instead of the actual binaries --------------------------+------------------------------------------------- Reporter: joh@gmx.net | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ImageMagick, libtool --------------------------+------------------------------------------------- Comment (by peter@pogma.com): ImageMagick-6.3.8-5, available from ftp://ftp.imagemagick.org/pub/ImageMagick fixes this. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14195#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14195: ImageMagick port installs libtool wrapper scripts instead of the actual binaries --------------------------+------------------------------------------------- Reporter: joh@gmx.net | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ImageMagick, libtool --------------------------+------------------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed Comment: Great, that's easy! Updated to 6.3.8-5 in r33976. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14195#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts