#49786 closed defect (fixed)
Issue installing libgcc on elcaptain
Reported by: | Baaaaam (Mouginot Baptiste) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | p.rousset@…, beany_kelly@…, 984065175@…, jeremyhu (Jeremy Huddleston Sequoia) | |
Port: | libgcc |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I try to install libgcc on el captain... and I got :
Error: org.macports.build for port libgcc returned: command execution failed 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_gcc5/libgcc/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port libgcc failed
Attachments (6)
Change History (22)
Changed 9 years ago by Baaaaam (Mouginot Baptiste)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | libgcc added |
Changed 9 years ago by Baaaaam (Mouginot Baptiste)
Attachment: | config.log added |
---|
Changed 9 years ago by p.rousset@…
Attachment: | main.2.log added |
---|
comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | p.rousset@… added |
---|
@mouginot.baptiste, the config.log you attached does not appear to be the correct one. The gcc build creates multiple config.log files. Look for the one that contains the string "cannot compute suffix of object files".
@p.rousset: please attach your config.log file as well.
Changed 9 years ago by 984065175@…
Attachment: | config.2.log added |
---|
comment:4 Changed 9 years ago by 984065175@…
Changed 9 years ago by Baaaaam (Mouginot Baptiste)
Attachment: | config.3.log added |
---|
correct config.log
comment:5 follow-up: 10 Changed 9 years ago by Baaaaam (Mouginot Baptiste)
@ryandesign : I upload the correct one... sorry about the first one...
comment:6 Changed 9 years ago by xun911@…
I ran into the same problem then found out it's caused by my firewall app. So make sure you disable any outbound firewall such as Little Snitch running in the background.
comment:7 Changed 9 years ago by beany_kelly@…
I'm having problems installing libgcc on El Capitan as well. My error log looks different, though. It's complaining about an illegal instruction in libgcc2.c:
:info:build if (isnan (c)) c = COPYSIGN (0, c);
Possibly there's a header it can't locate that defines the COPYSIGN macro?
ETA: it can't be the macro, because it's defined in the same source file, and used without complaint in the two lines just before the failing one. Also, "isnan" is used in a conditional that governs the code block this sits in, so that can't be the issue, either.
Changed 9 years ago by beany_kelly@…
Attachment: | libgcc_failure_BK.log added |
---|
My failing installation log.
comment:9 Changed 9 years ago by beany_kelly@…
Follow-up: apparently my problem was fixed by a from-source reinstall of the "gmp" package (following advice from a different ticket: #41364)
comment:10 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | 984065175@… jeremyhu@… added |
---|
Replying to 984065175@…:
Me too
Replying to mouginot.baptiste@…:
@ryandesign : I upload the correct one... sorry about the first one...
Both of these config.logs say the problem is:
/opt/local/bin/as: assembler (/opt/local/bin/clang) not installed
Jeremy, any idea what's going on here? Why is /opt/local/bin/as expecting /opt/local/bin/clang to exist?
comment:12 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
cctools' as driver can be configured to use clang as the assembler.
I disabled that in r142831 as it's not quite ready for our use. If you have the older revision, it will work if you port select clang
to something other than none.
comment:13 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The main.log says:
Please attach the config.log, which might be in one of the two directories mentioned.