Opened 12 years ago
Last modified 12 years ago
#34907 closed defect
Failed installation of gcc48 +gfortran breaks earlier gfortran builds — at Version 3
Reported by: | rouson@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | ryandesign@… | |
Port: | gcc48 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Change History (3)
comment:1 Changed 12 years ago by rouson@…
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to mww@… |
Port: | gcc48 added |
Priority: | High → Normal |
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".
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
P.S. In case it helps, the aforementioned behavior happens on a machine with Snow Leopard (OS X 10.6.8). (I successfully built gcc48 +gfortran about two weeks ago on a machine with Lion.) Running "sudo port update outdated" fixes my gcc46 and gcc47 builds on my Snow Leopard machine. I'm hesitant to attempt a re-installation of gcc48 in case it breaks the gcc46 and gcc47 builds again. Any advice in this regard would be very much appreciative. There are new features in gfortran 4.8 that I'd like to access.