[MacPorts] #34907: Failed installation of gcc48 +gfortran breaks earlier gfortran builds

MacPorts noreply at macports.org
Mon Jun 18 16:42:26 PDT 2012


#34907: Failed installation of gcc48 +gfortran breaks earlier gfortran builds
-------------------------------+--------------------------------------------
 Reporter:  rouson@…           |       Owner:  mww@…           
     Type:  defect             |      Status:  new             
 Priority:  Normal             |   Milestone:                  
Component:  ports              |     Version:  2.1.1           
 Keywords:                     |        Port:  gcc48           
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * priority:  High => Normal
  * port:  => gcc48
  * owner:  macports-tickets@… => mww@…


Old description:

> Attempting to install gcc48 +gfortran has somehow broken my earlier
> builds (and thereby brought all of my work to a halt).  The trailing
> lines output from the build follow:
>
> --->  Building gcc48
> Error: org.macports.build for port gcc48 returned: command execution
> failed
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port gcc48 failed
>
> After this, running gfortran on a simple one-line program produces the
> following ICE
>
> $cat end.f90
> end
> $ gfortran-mp-4.7 end.f90
> dyld: Library not loaded: /opt/local/lib/libppl.9.dylib
>   Referenced from: /opt/local/libexec/gcc/x86_64-apple-
> darwin10/4.7.0/f951
>   Reason: image not found
> gfortran-mp-4.7: internal compiler error: Trace/BPT trap (program f951)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
>
> Damian

New description:

 Remember to use WikiFormatting when writing in Trac. Cc the maintainer of
 the affected port so that he receives an email about your ticket and can
 begin to look into the problem.

 Attempting to install gcc48 +gfortran has somehow broken my earlier builds
 (and thereby brought all of my work to a halt).  The trailing lines output
 from the build follow:

 {{{
 --->  Building gcc48
 Error: org.macports.build for port gcc48 returned: command execution
 failed
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port gcc48 failed
 }}}

 After this, running gfortran on a simple one-line program produces the
 following ICE

 {{{
 $cat end.f90
 end
 $ gfortran-mp-4.7 end.f90
 dyld: Library not loaded: /opt/local/lib/libppl.9.dylib
   Referenced from: /opt/local/libexec/gcc/x86_64-apple-darwin10/4.7.0/f951
   Reason: image not found
 gfortran-mp-4.7: internal compiler error: Trace/BPT trap (program f951)
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <http://gcc.gnu.org/bugs.html> for instructions.
 }}}

 Damian

--

Comment:

 You did not show it in your error message, but when gcc48 failed to
 install, it should have printed the location of gcc48's main.log file. (If
 it did not, you are using an outdated version of MacPorts and should
 upgrade to MacPorts 2.1.1 by using "sudo port selfupdate".) You should
 attach that log file to this ticket so that we can see why it failed. You
 can use the command "port logfile gcc48" to see where it is.

 gcc48 depends on ppl, so if an update of ppl was available, MacPorts would
 have upgraded ppl first before trying to install gcc48. If that increased
 ppl's library version, you would now also need to rebuild any other ports
 that use ppl, such as gcc47. (On my system, the ppl port installed
 libppl.11.dylib, and no longer the older libppl.9.dylib that your gcc47
 says it is expecting.) After running "sudo port selfupdate", use "port
 outdated" to see if gcc47 and any other ports have upgrades available; if
 so, upgrade them using "sudo port upgrade outdated".

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


More information about the macports-tickets mailing list