[MacPorts] #40929: Mac OSX 10.9 Mavericks - Unable to upgrade port adns

MacPorts noreply at macports.org
Fri Oct 25 00:13:12 PDT 2013


#40929: Mac OSX 10.9 Mavericks - Unable to upgrade port adns
---------------------+-----------------------------------------------
  Reporter:  marc@…  |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.2.0
Resolution:          |   Keywords:  adns error upgrade 10.9 mavericks
      Port:          |
---------------------+-----------------------------------------------

Comment (by marc@…):

 '''Read the log file'''
 {{{
 version:1
 :debug:main Executing org.macports.main (adns)
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 20
 :debug:main euid changed to: 501
 :debug:main Skipping completed org.macports.fetch (adns)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (adns)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:extract extract phase started at Fri Oct 25 08:53:56 CEST 2013
 :notice:extract --->  Extracting adns
 :debug:extract Executing org.macports.extract (adns)
 :info:extract --->  Extracting adns-1.4.tar.gz
 :debug:extract setting option extract.args to
 '/opt/local/var/macports/distfiles/adns/adns-1.4.tar.gz'
 :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_net_adns/adns/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_net_adns/adns/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/adns/adns-1.4.tar.gz' | /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_net_adns/adns/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/adns/adns-1.4.tar.gz' | /usr/bin/gnutar
 --no-same-owner -xf -
 :info:extract sh: /usr/bin/gnutar: No such file or directory
 :info:extract gzip: error writing to output: Broken pipe
 :info:extract gzip:
 /opt/local/var/macports/distfiles/adns/adns-1.4.tar.gz: uncompress failed
 :info:extract Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_adns/adns/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/adns/adns-1.4.tar.gz' | /usr/bin/gnutar
 --no-same-owner -xf -
 :info:extract Exit code: 127
 :error:extract org.macports.extract for port adns 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 adns:
 org.macports.destroot org.macports.extract org.macports.patch
 org.macports.configure org.macports.build
 :notice:extract Please see the log file for port adns for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_adns/adns/main.log
 }}}

 '''Found the error'''
 {{{
 /var/macports/distfiles/adns/adns-1.4.tar.gz' | /usr/bin/gnutar --no-same-
 owner -xf -
 :info:extract sh: /usr/bin/gnutar: No such file or directory
 :info:extract gzip: error writing to output: Broken pipe
 }}}

 '''Dirty sollution'''
 {{{
 $ sudo su -
 # cd /usr/bin
 ln -s tar gnutar
 }}}

 Now perform the update again. This time it works.

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


More information about the macports-tickets mailing list