ryandesign at macports.org
Tue Apr 19 15:26:59 PDT 2011
On Apr 19, 2011, at 12:19, Nathan Derstine wrote:
> Thanks for advice. I went with the sync option, and this is what I got:
> Derstine$ sudo port sync
> ~ Derstine$ sudo port install ImageMagick
> ---> Computing dependencies for ImageMagick
> ---> Building ImageMagick
> Error: Target org.macports.build 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_ports_graphics_ImageMagick/main.log
> Error: Status 1 encountered during processing.
> The last portion of the log file says:
> :msg:main ---> Building ImageMagick
> :debug:build build phase started at Tue Apr 19 07:13:02 HST 2011
> :debug:build Executing org.macports.build (ImageMagick)
> :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
> :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/work/ImageMagick-6.6.9-1" && /usr/bin/make -j2 all'
> :info:build sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/work/ImageMagick-6.6.9-1: No such file or directory
> :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/work/ImageMagick-6.6.9-1" && /usr/bin/make -j2 all " returned error 1
> :error:build Target org.macports.build returned: shell command failed (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for ImageMagick): org.macports.activate org.macports.build org.macports.destroot org.macports.install
> :notice:build Log for ImageMagick is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/main.log
> What now? Is uninstalling it all and starting over an easier option?
Looks like the ImageMagick source directory doesn't exist (you probably deleted it in your cleanup efforts), but MacPorts is starting here from the Build phase, meaning it thinks it's already completed the earlier phases Fetch, Extract (during which the source directory would have been created), Patch, Configure. So you just need to clean the port and try again.
sudo port clean ImageMagick
sudo port install ImageMagick
If it fails again, please send the complete main.log.
P.S: Cleaning and trying again should be the first thing you try anytime something fails in MacPorts.
P.P.S: Use Reply All so the discussion stays on the mailing list so others can follow it and participate.
More information about the macports-users