[MacPorts] #40548: Can't Update GCC on Mountain Lion

MacPorts noreply at macports.org
Fri Sep 20 20:12:09 PDT 2013


#40548: Can't Update GCC on Mountain Lion
-------------------------------+--------------------------------
  Reporter:  pina.frederick@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.0
Resolution:                    |   Keywords:
      Port:                    |
-------------------------------+--------------------------------

Old description:

> Please help !
>
> Last login: Fri Sep 20 10:02:02 on console
> Fredericks-MacBook-Pro:~ frederickpina$ sudo port install gcc
> Password:
> Error: Port gcc not found
> Fredericks-MacBook-Pro:~ frederickpina$ sudo port install gcc +universal
> Password:
> Error: Port gcc not found
> Fredericks-MacBook-Pro:~ frederickpina$ gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
> 5658) (LLVM build 2336.11.00)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is
> NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> Fredericks-MacBook-Pro:~ frederickpina$ sudo port install gcc48
> +gfortran+universal
> --->  Computing dependencies for gcc48
> --->  Dependencies to be installed: libgcc
> --->  Building libgcc
> Error: org.macports.build for port libgcc returned: command execution
> failed
> Error: Failed to install libgcc
> Please see the log file for port libgcc for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/main.log
> Error: The following dependencies were not installed: libgcc
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port gcc48 failed
> Fredericks-MacBook-Pro:~ frederickpina$ sudo port clean gcc48
> --->  Cleaning gcc48
> Fredericks-MacBook-Pro:~ frederickpina$ sudo port install gcc48
> +universal
> --->  Computing dependencies for gcc48
> --->  Dependencies to be installed: libgcc
> --->  Building libgcc
> Error: org.macports.build for port libgcc returned: command execution
> failed
> Error: Failed to install libgcc
> Please see the log file for port libgcc for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/main.log
> Error: The following dependencies were not installed: libgcc
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port gcc48 failed
> Fredericks-MacBook-Pro:~ frederickpina$

New description:

 Please help !

 {{{
 Last login: Fri Sep 20 10:02:02 on console
 Fredericks-MacBook-Pro:~ frederickpina$ sudo port install gcc
 Password:
 Error: Port gcc not found
 Fredericks-MacBook-Pro:~ frederickpina$ sudo port install gcc +universal
 Password:
 Error: Port gcc not found
 Fredericks-MacBook-Pro:~ frederickpina$ gcc --version
 i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
 5658) (LLVM build 2336.11.00)
 Copyright (C) 2007 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 Fredericks-MacBook-Pro:~ frederickpina$ sudo port install gcc48
 +gfortran+universal
 --->  Computing dependencies for gcc48
 --->  Dependencies to be installed: libgcc
 --->  Building libgcc
 Error: org.macports.build for port libgcc returned: command execution
 failed
 Error: Failed to install libgcc
 Please see the log file for port libgcc for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/main.log
 Error: The following dependencies were not installed: libgcc
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port gcc48 failed
 Fredericks-MacBook-Pro:~ frederickpina$ sudo port clean gcc48
 --->  Cleaning gcc48
 Fredericks-MacBook-Pro:~ frederickpina$ sudo port install gcc48 +universal
 --->  Computing dependencies for gcc48
 --->  Dependencies to be installed: libgcc
 --->  Building libgcc
 Error: org.macports.build for port libgcc returned: command execution
 failed
 Error: Failed to install libgcc
 Please see the log file for port libgcc for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/main.log
 Error: The following dependencies were not installed: libgcc
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port gcc48 failed
 Fredericks-MacBook-Pro:~ frederickpina$
 }}}

--

Comment (by larryv@…):

 As per the link that was mentioned several times in your output, please
 [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites
 clean, try again], and attach the `main.log` file, which was also
 mentioned several times in your output.

 By the way, there is no `gcc` port, and `gcc48` does not have a `gfortran`
 variant.

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


More information about the macports-tickets mailing list