ImageMagick Build failure

sierkb at gmx.de sierkb at gmx.de
Thu Mar 1 03:53:20 PST 2012


Software: MacOSX 10.7.3, Xcode 4.3, Xcode 4.3 Command Line Tools, MacPorts 2.0.4


$ xcode-select -print-path
/Applications/Xcode.app/Contents/Developer


$ sudo port outdated
Password:
The following installed ports are outdated:
ImageMagick                    6.7.4-0_0 < 6.7.5-3_1 
    
$ sudo port upgrade -u outdated
--->  Computing dependencies for ImageMagick
--->  Staging ImageMagick into destroot
Error: Target org.macports.destroot returned: shell command failed (see log for details)
Log for ImageMagick is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

$ tail -n 20 -f /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/main.log
:info:destroot 	  
:info:destroot env: /Developer/usr/bin/clang: No such file or directory
:info:destroot make[3]: *** [blib/arch/auto/Image/Magick/Magick.bundle] Error 127
:info:destroot make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.7.5-3/PerlMagick'
:info:destroot make[2]: *** [install-exec-perl] Error 2
:info:destroot make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.7.5-3'
:info:destroot make[1]: *** [install-am] Error 2
:info:destroot make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.7.5-3'
:info:destroot make: *** [install] Error 2
:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.7.5-3'
:info:destroot shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.7.5-3" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/destroot " returned error 2
:error:destroot Target org.macports.destroot returned: shell command failed (see log for details)
:debug:destroot Backtrace: shell command failed (see log for details)
    while executing
"command_exec destroot"
    (procedure "portdestroot::destroot_main" line 2)
    invoked from within
"$procedure $targetname"
:info:destroot Warning: the following items did not execute (for ImageMagick): org.macports.install org.macports.destroot
:notice:destroot Log for ImageMagick is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/main.log



Question for me:
What to do (maybe a temporary workaround) to let MacPorts successfully build ImageMagick?

To the MacPorts maintainers and Xcode maintainers:
Please fix!


Regards,
Sierk


More information about the macports-dev mailing list