[MacPorts] #40574: ld64 @136 upgrade failure

MacPorts noreply at macports.org
Tue Sep 24 08:32:54 PDT 2013


#40574: ld64 @136 upgrade failure
----------------------+--------------------------------
 Reporter:  karel@…   |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.2.0
 Keywords:  tar ld64  |       Port:  ld64
----------------------+--------------------------------
 When run as root, port upgrade ld64 fails. Port clean doesn't help and
 AFAIK the directory settings are OK, other upgrades succeed without a
 problem.
 {{{
 --->  Computing dependencies for ld64
 --->  Extracting ld64
 Error: org.macports.extract for port ld64 returned: command execution
 failed
 Please see the log file for port ld64 for details:
 /opt/local/var/macports/logs/_Volumes_HD_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64/main.log
 Error: Unable to upgrade port: 1
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 }}}

 The log is attached. This is somehow due to incorrect directory settings;
 tar extraction barfs. Abbreviated output when -d flag is given follows:

 {{{
 DEBUG: egid changed to: 501
 DEBUG: euid changed to: 502
 DEBUG: Skipping completed org.macports.archivefetch (ld64)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.fetch (ld64)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.checksum (ld64)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: extract phase started at Tue Sep 24 17:28:20 CEST 2013
 --->  Extracting ld64
 DEBUG: Executing org.macports.extract (ld64)
 --->  Extracting ld64-136.tar.gz
 DEBUG: setting option extract.args to
 '/opt/local/var/macports/distfiles/ld64/ld64-136.tar.gz'
 DEBUG: Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Volumes_HD_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_Volumes_HD_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/ld64/ld64-136.tar.gz' | /usr/bin/gnutar
 --no-same-owner -xf -'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_Volumes_HD_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/ld64/ld64-136.tar.gz' | /usr/bin/gnutar
 --no-same-owner -xf -
 /usr/bin/gnutar: ld64-136: Cannot mkdir: Operation not permitted
 /usr/bin/gnutar: ld64-136/APPLE_LICENSE: Cannot open: No such file or
 directory
 /usr/bin/gnutar: ld64-136/doc: Cannot mkdir: No such file or directory
 /usr/bin/gnutar: ld64-136/doc/design: Cannot mkdir: No such file or
 directory
 /usr/bin/gnutar: ld64-136/doc/design/linker.html: Cannot open: No such
 file or directory
 .
 .
 .
 usr/bin/gnutar: ld64-136/src/other/machochecker.cpp: Cannot open: No such
 file or directory
 /usr/bin/gnutar: ld64-136/src/abstraction: Cannot mkdir: No such file or
 directory
 /usr/bin/gnutar: ld64-136/src/abstraction/MachOTrie.hpp: Cannot open: No
 such file or directory
 /usr/bin/gnutar: ld64-136/src/abstraction/FileAbstraction.hpp: Cannot
 open: No such file or directory
 /usr/bin/gnutar: ld64-136/src/abstraction/MachOFileAbstraction.hpp: Cannot
 open: No such file or directory
 /usr/bin/gnutar: Error exit delayed from previous errors
 Command failed:  cd
 "/opt/local/var/macports/build/_Volumes_HD_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/ld64/ld64-136.tar.gz' | /usr/bin/gnutar
 --no-same-owner -xf -
 Exit code: 2
 Error: org.macports.extract for port ld64 returned: command execution
 failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: command execution failed
     while executing
 "$procedure $targetname"
 Warning: targets not executed for ld64: org.macports.install
 org.macports.extract org.macports.patch org.macports.configure
 org.macports.build org.macports.destroot
 Please see the log file for port ld64 for details:
 /opt/local/var/macports/logs/_Volumes_HD_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64/main.log
 DEBUG: couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 Error: Unable to upgrade port: 1
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 }}}

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


More information about the macports-tickets mailing list