[MacPorts] #37220: gcc @4.7 Error: Processing of port gcc47 failed
#37220: gcc @4.7 Error: Processing of port gcc47 failed ------------------------------+-------------------------------- Reporter: ryan.d.jamison@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gcc47 ------------------------------+-------------------------------- I'm trying to install gcc4.7 on a Lion machine. I've tried to self upgrade and clean the port multiple times without any success. I'm sure this is a noob question but I'm at a loss. Here is the log file: {{{ version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Executing org.macports.main (cctools-headers) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (cctools-headers) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (cctools-headers) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (cctools-headers) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (cctools-headers) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (cctools-headers) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (cctools-headers) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.build (cctools-headers) :debug:main Privilege de-escalation not attempted as not running as root. :debug:destroot destroot phase started at Wed Dec 5 16:46:59 MST 2012 :notice:destroot ---> Staging cctools-headers into destroot :debug:destroot Can't run destroot under sudo without elevated privileges (due to mtree). :debug:destroot Run destroot without sudo to avoid root privileges. :debug:destroot Going to escalate privileges back to root. :debug:destroot euid changed to: 0. egid changed to: 0. :info:destroot . missing (directory not created: File exists) :info:destroot ./Applications missing (directory not created: File exists) :info:destroot ./Developer missing (directory not created: File exists) :info:destroot ./Library missing (directory not created: File exists) :debug:destroot Executing org.macports.destroot (cctools-headers) :debug:destroot 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_devel_cctools-headers/cctools- headers/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' :debug:destroot Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/cctools-836" && /usr/bin/make -w installhdrs DSTROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/destroot/opt/local RC_ProjectSourceVersion=836 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/destroot' :debug:destroot Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/cctools-836" && /usr/bin/make -w installhdrs DSTROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/destroot/opt/local RC_ProjectSourceVersion=836 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/destroot :info:destroot sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/cctools-836: No such file or directory :info:destroot Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/cctools-836" && /usr/bin/make -w installhdrs DSTROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/destroot/opt/local RC_ProjectSourceVersion=836 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/destroot :info:destroot Exit code: 1 :error:destroot org.macports.destroot for port cctools-headers returned: command execution failed :debug:destroot Error code: CHILDSTATUS 742 1 :debug:destroot Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec destroot" (procedure "portdestroot::destroot_main" line 2) invoked from within "$procedure $targetname" :info:destroot Warning: targets not executed for cctools-headers: org.macports.activate org.macports.destroot org.macports.install :error:destroot Failed to install cctools-headers :debug:destroot 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]" :notice:destroot Please see the log file for port cctools-headers for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools-headers/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/37220> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37220: cctools-headers: staging error -------------------------------+------------------------ Reporter: ryan.d.jamison@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cctools-headers | -------------------------------+------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => jeremyhu@… * cc: mfeiri@… (added) * port: gcc47 => cctools-headers -- Ticket URL: <https://trac.macports.org/ticket/37220#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37220: cctools-headers: staging error -------------------------------+------------------------ Reporter: ryan.d.jamison@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cctools-headers | -------------------------------+------------------------ Comment (by jeremyhu@…): {{{ :info:destroot sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_cctools-headers/cctools- headers/work/cctools-836: No such file or directory }}} Please attach a log file from an install from clean. ie: {{{ sudo port -v clean cctools-headers sudo port -v upgrade cctools-headers }}} Attach the main.log that results from above. -- Ticket URL: <https://trac.macports.org/ticket/37220#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37220: cctools-headers: staging error -------------------------------+------------------------ Reporter: ryan.d.jamison@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cctools-headers | -------------------------------+------------------------ Comment (by ryan.d.jamison@…): Thanks for the quick response. I did as instructed and here is the output: {{{ sajn2009af:~ rdjamis$ sudo port -v clean cctools-headers ---> Cleaning cctools-headers ---> Removing work directory for cctools-headers sajn2009af:~ rdjamis$ sudo port -v upgrade cctools-headers Error: cctools-headers is not installed To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} I then ran: {{{ sudo port -v install cctools-headers }}} And this was the output: {{{ sajn2009af:~ rdjamis$ sudo port -v install cctools-headers ---> Fetching archive for cctools-headers ---> cctools-headers-836_0.darwin_11.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch cctools-headers-836_0.darwin_11.noarch.tbz2 from http://packages.macports.org/cctools-headers % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 34672 100 34672 0 0 22071 0 0:00:01 0:00:01 --:--:-- 23666 ---> Attempting to fetch cctools-headers- 836_0.darwin_11.noarch.tbz2.rmd160 from http://packages.macports.org /cctools-headers % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 512 100 512 0 0 640 0 --:--:-- --:--:-- --:--:-- 866 ---> Installing cctools-headers @836_0 ---> Activating cctools-headers @836_0 x ./ x ./+COMMENT x ./+CONTENTS x ./+DESC x ./+PORTFILE x ./+STATE x ./opt/ x ./opt/local/ x ./opt/local/include/ x ./opt/local/include/mach/ x ./opt/local/include/mach-o/ x ./opt/local/include/mach-o/arch.h x ./opt/local/include/mach-o/arm/ x ./opt/local/include/mach-o/fat.h x ./opt/local/include/mach-o/getsect.h x ./opt/local/include/mach-o/i386/ x ./opt/local/include/mach-o/ldsyms.h x ./opt/local/include/mach-o/loader.h x ./opt/local/include/mach-o/nlist.h x ./opt/local/include/mach-o/ppc/ x ./opt/local/include/mach-o/ranlib.h x ./opt/local/include/mach-o/reloc.h x ./opt/local/include/mach-o/stab.h x ./opt/local/include/mach-o/swap.h x ./opt/local/include/mach-o/x86_64/ x ./opt/local/include/mach-o/x86_64/reloc.h x ./opt/local/include/mach-o/ppc/reloc.h x ./opt/local/include/mach-o/ppc/swap.h x ./opt/local/include/mach-o/i386/swap.h x ./opt/local/include/mach-o/arm/reloc.h x ./opt/local/include/mach/machine.h ---> Cleaning cctools-headers ---> Removing work directory for cctools-headers ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors }}} It looked like cctools-headers was successfully install. Is this correct? Is the next step to now try gcc47? -- Ticket URL: <https://trac.macports.org/ticket/37220#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37220: cctools-headers: staging error -------------------------------+------------------------ Reporter: ryan.d.jamison@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: cctools-headers | -------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => invalid Comment: Yeah, it looks like that cleaned up whatever issue you were having. -- Ticket URL: <https://trac.macports.org/ticket/37220#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts