Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40810 closed defect (invalid)

libgcc fails to build on OS X 10.9

Reported by: PerMildner Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: mavericks Cc: jeremyhu (Jeremy Huddleston Sequoia), 1002536r@…, feranick@…, cdeil (Christoph Deil)
Port: libgcc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The underlying problem may be libgcc:

...
--->  Building libgcc
Error: org.macports.build for port libgcc returned: command execution failed
Error: Failed to install libgcc

Attachments (1)

main.log (3.9 MB) - added by PerMildner 11 years ago.

Change History (11)

Changed 11 years ago by PerMildner

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: mavericks added
Owner: changed from macports-tickets@… to mww@…
Port: libgcc added; gcc48 removed
Summary: gcc48 fails to install on OS X 10.9libgcc fails to build on OS X 10.9

Hmm, in the log I see "xgcc: error trying to exec 'cc1': execvp: No such file or directory".

comment:2 Changed 11 years ago by chakuzo@…

Same Problem here. But different message.

:error:build Failed to install libgcc
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory

comment:3 Changed 11 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… added

comment:4 Changed 11 years ago by 1002536r@…

Cc: 1002536r@… added

Cc Me!

comment:5 Changed 11 years ago by feranick@…

Cc: feranick@… added

Cc Me!

comment:6 Changed 11 years ago by cdeil (Christoph Deil)

Cc: Deil.Christoph@… added

Cc Me!

comment:7 Changed 11 years ago by cdeil (Christoph Deil)

I get this error:

:info:build The directory that should contain system headers does not exist:
:info:build   /usr/include
:info:build make[3]: *** [stmp-fixinc] Error 1

Full log here: https://gist.github.com/cdeil/7176058

comment:8 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

User error. Please install MacPorts dependencies. See http://www.macports.org/install.php

comment:9 Changed 11 years ago by cdeil (Christoph Deil)

Jeremy ... in my case it's not clear to me what MacPorts dependency I could be missing. I have Xcode and command line tools installed. Can you please be more specific what you mean?

comment:10 Changed 11 years ago by cdeil (Christoph Deil)

In my case the problem was that the Xcode command line tools weren't installed.

Apparently after doing the update from OS X 10.8 to 10.9 the old Xcode 5 is still OK, but the command line tools have to be re-installed.

After installing the Xcode command line tools by typing xcode-select --install in the terminal everything works.

Note: See TracTickets for help on using tickets.