[MacPorts] #43400: sudo port install php5 failes osx 10.9.2

MacPorts noreply at macports.org
Fri Apr 18 01:11:07 PDT 2014


#43400: sudo port install php5 failes osx 10.9.2
--------------------------+--------------------------------
  Reporter:  prabackar@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:  invalid      |   Keywords:
      Port:  php5         |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: ryandesign@… (added)
 * priority:  High => Normal
 * resolution:   => invalid
 * port:   => php5


Old description:

> I tried
> $sudo port clean php5
> $sudo port install php5
>
> but it still fails
> ========================logs=====================
>

> :debug:main Executing org.macports.main (php5)
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 506
> :debug:main euid changed to: 501
> :debug:main Skipping completed org.macports.archivefetch (php5)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (php5)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (php5)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:extract extract phase started at Fri Apr 18 00:44:32 PDT 2014
> :notice:extract --->  Extracting php5
> :debug:extract setting option extract.cmd to /usr/bin/bzip2
> :debug:extract Executing org.macports.extract (php5)
> :info:extract --->  Extracting php-5.3.28.tar.bz2
> :debug:extract setting option extract.args to
> '/opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2'
> :debug:extract Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work/.CC_PRINT_OPTIONS'
> LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
> MACOSX_DEPLOYMENT_TARGET='10.9'
> :debug:extract Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work"
> && /usr/bin/bzip2 -dc
> '/opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2' |
> /usr/bin/gnutar --no-same-owner -xf -'
> :debug:extract Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work"
> && /usr/bin/bzip2 -dc
> '/opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2' |
> /usr/bin/gnutar --no-same-owner -xf -
> :info:extract sh: /usr/bin/gnutar: No such file or directory
> :info:extract
> :info:extract bzip2: I/O or other error, bailing out.  Possible reason
> follows.
> :info:extract bzip2: Broken pipe
> :info:extract   Input file =
> /opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2, output file =
> (stdout)
> :info:extract Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work"
> && /usr/bin/bzip2 -dc
> '/opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2' |
> /usr/bin/gnutar --no-same-owner -xf -
> :info:extract Exit code: 127
> :error:extract org.macports.extract for port php5 returned: command
> execution failed
> :debug:extract Error code: NONE
> :debug:extract Backtrace: command execution failed
>     while executing
> "$procedure $targetname"
> :info:extract Warning: targets not executed for php5:
> org.macports.activate org.macports.extract org.macports.patch
> org.macports.configure org.macports.build org.macports.destroot
> org.macports.install
> :notice:extract Please see the log file for port php5 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/main.log

New description:

 I tried
 {{{
 $sudo port clean php5
 $sudo port install php5
 }}}

 but it still fails
 ========================logs=====================

 {{{
 :debug:main Executing org.macports.main (php5)
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 506
 :debug:main euid changed to: 501
 :debug:main Skipping completed org.macports.archivefetch (php5)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (php5)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (php5)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:extract extract phase started at Fri Apr 18 00:44:32 PDT 2014
 :notice:extract --->  Extracting php5
 :debug:extract setting option extract.cmd to /usr/bin/bzip2
 :debug:extract Executing org.macports.extract (php5)
 :info:extract --->  Extracting php-5.3.28.tar.bz2
 :debug:extract setting option extract.args to
 '/opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2'
 :debug:extract Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.9'
 :debug:extract Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work"
 && /usr/bin/bzip2 -dc
 '/opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2' |
 /usr/bin/gnutar --no-same-owner -xf -'
 :debug:extract Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work"
 && /usr/bin/bzip2 -dc
 '/opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2' |
 /usr/bin/gnutar --no-same-owner -xf -
 :info:extract sh: /usr/bin/gnutar: No such file or directory
 :info:extract
 :info:extract bzip2: I/O or other error, bailing out.  Possible reason
 follows.
 :info:extract bzip2: Broken pipe
 :info:extract   Input file =
 /opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2, output file =
 (stdout)
 :info:extract Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work"
 && /usr/bin/bzip2 -dc
 '/opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2' |
 /usr/bin/gnutar --no-same-owner -xf -
 :info:extract Exit code: 127
 :error:extract org.macports.extract for port php5 returned: command
 execution failed
 :debug:extract Error code: NONE
 :debug:extract Backtrace: command execution failed
     while executing
 "$procedure $targetname"
 :info:extract Warning: targets not executed for php5:
 org.macports.activate org.macports.extract org.macports.patch
 org.macports.configure org.macports.build org.macports.destroot
 org.macports.install
 :notice:extract Please see the log file for port php5 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/main.log
 }}}

--

Comment:

 You need to reinstall MacPorts, now that you've upgraded to Mavericks.
 Please read wiki:MavericksProblems and wiki:Migration.

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


More information about the macports-tickets mailing list