[MacPorts] #49886: ImageMagick install not completing because create archive command execution failed

MacPorts noreply at macports.org
Thu Dec 3 03:55:40 PST 2015


#49886: ImageMagick install not completing because create archive command execution
failed
--------------------------+--------------------------
  Reporter:  jtran@…      |      Owner:  ryandesign@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:               |   Keywords:
      Port:  ImageMagick  |
--------------------------+--------------------------

Comment (by jtran@…):

 Thank you Ryan! You were right, I followed the steps you mentioned, and
 the install completes successfully.

 Here is the log:

 {{{
 # - uninstall previous ImageMagick install
 port installed | grep ImageMagick
   ImageMagick @6.8.9-0_0+wmf+x11 (active)

 sudo port uninstall ImageMagick @6.8.9-0_0+wmf+x11

 """
 --->  Unable to uninstall ImageMagick @6.8.9-0_0+wmf+x11, the following
 ports depend on it:
 --->    rb-rmagick @2.9.0_0
 --->    rb-rmagick @2.13.2_1
 Error: org.macports.uninstall for port ImageMagick returned: Please
 uninstall the ports that depend on ImageMagick first.
 Please see the log file for port ImageMagick for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_ImageMagick-6.8.9-0_0_009b641f60a6e7e06c1743dc0f6da365eb89949e1c75600c8b96a4a5b5c119da-7265/ImageMagick/main.log
 Warning: Failed to execute portfile from registry for ImageMagick
 @6.8.9-0_0+wmf+x11
 --->  Unable to uninstall ImageMagick @6.8.9-0_0+wmf+x11, the following
 ports depend on it:
 --->    rb-rmagick @2.9.0_0
 --->    rb-rmagick @2.13.2_1
 Error: port uninstall failed: Please uninstall the ports that depend on
 ImageMagick first.

 """

 ## uninstall first ports depending on ImageMagick
 sudo port uninstall rb-rmagick @2.9.0_0
 sudo port uninstall rb-rmagick @2.13.2_1

 ## uninstall ImageMagick
 sudo port uninstall ImageMagick @6.8.9-0_0+wmf+x11

 # - clean ImageMagick port
 sudo port clean ImageMagick

 # - remove the directory /opt/local/var/macports/software/imagemagick
 ls -la /opt/local/var/macports/software/imagemagick

 """
 total 18720
 drwxrwxrwx    3 root   admin      102  3 déc 11:38 .
 drwxr-xr-x  666 root   admin    22644  3 déc 11:37 ..
 -rw-r--r--    1 josse  admin  9580622  3 déc 10:06
 ImageMagick-6.9.2-4_0+wmf+x11.darwin_10.x86_64.tgz

 """

 sudo rm -rf /opt/local/var/macports/software/imagemagick

 # - reinstall php56-imagick/ImageMagick
 sudo port install php56-imagick

 """
 sudo port install php56-imagick
 --->  Computing dependencies for php56-imagick
 --->  Dependencies to be installed: ImageMagick
 --->  Fetching archive for ImageMagick
 --->  Attempting to fetch ImageMagick-6.9.2-4_0+x11.darwin_10.x86_64.tbz2
 from http://lil.fr.packages.macports.org/ImageMagick
 --->  Attempting to fetch ImageMagick-6.9.2-4_0+x11.darwin_10.x86_64.tbz2
 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/ImageMagick
 --->  Attempting to fetch ImageMagick-6.9.2-4_0+x11.darwin_10.x86_64.tbz2
 from http://nue.de.packages.macports.org/macports/packages/ImageMagick
 --->  Fetching distfiles for ImageMagick
 --->  Verifying checksums for ImageMagick
 --->  Extracting ImageMagick
 --->  Configuring ImageMagick
 --->  Building ImageMagick
 --->  Staging ImageMagick into destroot
 --->  Installing ImageMagick @6.9.2-4_0+x11
 --->  Activating ImageMagick @6.9.2-4_0+x11
 --->  Cleaning ImageMagick
 --->  Fetching archive for php56-imagick
 --->  Attempting to fetch php56-imagick-3.1.2_1.darwin_10.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/php56-imagick
 --->  Attempting to fetch php56-imagick-3.1.2_1.darwin_10.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/php56-imagick
 --->  Attempting to fetch php56-imagick-3.1.2_1.darwin_10.x86_64.tbz2 from
 http://nue.de.packages.macports.org/macports/packages/php56-imagick
 --->  Fetching distfiles for php56-imagick
 --->  Verifying checksums for php56-imagick
 --->  Extracting php56-imagick
 --->  Configuring php56-imagick
 --->  Building php56-imagick
 --->  Staging php56-imagick into destroot
 --->  Installing php56-imagick @3.1.2_1
 --->  Activating php56-imagick @3.1.2_1
 --->  Cleaning php56-imagick
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors

 """

 # ImageMagick archive folder
 cd /opt/local/var/macports/software/ImageMagick/
 ls -la
 total 18688
 drwxr-xr-x    3 root  admin      102  3 déc 11:43 .
 drwxr-xr-x  667 root  admin    22678  3 déc 11:43 ..
 -rw-r--r--    1 root  admin  9565671  3 déc 11:43
 ImageMagick-6.9.2-4_0+x11.darwin_10.x86_64.tgz

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49886#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list