#49886: ImageMagick install not completing because create archive command execution failed ----------------------------+-------------------------------- Reporter: jtran@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: "Snow Leopard" | Port: ImageMagick ----------------------------+-------------------------------- Summary: ImageMagick @6.9.2-4_0+wmf+x11 Install error - create archive failure Description: I tried to install php56-imagick @3.1.2_1, and macports tried to upgrade ImageMagick but cannot complete the install process due to a create archive command execution failure. The configure, building steps are ok but the not install step. I tailed the log below for further informations. To me, it seems related to some eval error when executing the create archive command. Here are details about my system and the log: {{{ # system info sw_vers -productVersion 10.6.8 # system info details system_profiler SPSoftwareDataType Software: System Software Overview: System Version: Mac OS X 10.6.8 (10K549) Kernel Version: Darwin 10.8.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: bioinfo User Name: Tran Joseph (josse) Secure Virtual Memory: Enabled 64-bit Kernel and Extensions: Yes Time since boot: 7 days 7 minutes # macports info sudo port selfupdate """ # stdout ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.4 installed, MacPorts base version 2.3.4 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated """ # clean first sudo port clean ImageMagick Password: ---> Cleaning ImageMagick # command executed sudo port install php56-imagick """ # stdout ---> Computing dependencies for ImageMagick ---> Fetching archive for ImageMagick ---> Attempting to fetch ImageMagick-6.9.2-4_0+wmf+x11.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/ImageMagick ---> Attempting to fetch ImageMagick-6.9.2-4_0+wmf+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+wmf+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+wmf+x11 Error: org.macports.install for port ImageMagick returned: command execution failed Please see the log file for port ImageMagick for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade ImageMagick failed """ # tail log tail -30 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/main.log """ # stdout :debug:install Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/work/destroot" && /usr/bin/tar -cvf - . | /usr/bin/gzip -c9 > /opt/local/var/macports/software/imagemagick/ImageMagick-6.9.2-4_0+wmf+x11.darwin_10.x86_64.tgz' :debug:install Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/work/destroot" && /usr/bin/tar -cvf - . | /usr/bin/gzip -c9 > /opt/local/var/macports/software/imagemagick/ImageMagick-6.9.2-4_0+wmf+x11.darwin_10.x86_64.tgz :info:install sh: /opt/local/var/macports/software/imagemagick/ImageMagick-6.9.2-4_0+wmf+x11.darwin_10.x86_64.tgz: Operation not permitted :info:install a . :info:install a ./+COMMENT :info:install a ./+CONTENTStar: Write error: Broken pipe :info:install Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/work/destroot" && /usr/bin/tar -cvf - . | /usr/bin/gzip -c9 > /opt/local/var/macports/software/imagemagick/ImageMagick-6.9.2-4_0+wmf+x11.darwin_10.x86_64.tgz :info:install Exit code: 1 :error:install org.macports.install for port ImageMagick returned: command execution failed :debug:install Error code: CHILDSTATUS 85317 1 :debug:install Backtrace: command execution failed while executing "system $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec archive" (procedure "create_archive" line 210) invoked from within "create_archive $location $portarchivetype" (procedure "portinstall::install_main" line 22) invoked from within "portinstall::install_main org.macports.install" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:install Warning: targets not executed for ImageMagick: org.macports.install:notice:install Please see the log file for port ImageMagick for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/main.log """ }}} -- Ticket URL: <https://trac.macports.org/ticket/49886> MacPorts <https://www.macports.org/> Ports system for OS X