Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45514 closed defect (invalid)

libgcc build fail on Yosemite

Reported by: ja_macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: yosemite Cc:
Port: libgcc

Description

After an update to Yosemite, Xcode 6.1 and MacPorts 2.3.2. I'm rebuilding everything and I have a strange error preventing me to build libgcc

Attachments (1)

libgcc.log (4.5 MB) - added by ja_macports@… 10 years ago.
main.log from libgcc build

Change History (8)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Uh, okay? So what’s the error?

Changed 10 years ago by ja_macports@…

Attachment: libgcc.log added

main.log from libgcc build

comment:2 Changed 10 years ago by ja_macports@…

Forgot to mention, that despite the message 'The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build' Command line tools 6.1 are installed as:

xcode-select -p /Applications/Xcode.app/Contents/Developer

comment:3 in reply to:  2 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: newclosed

You don’t have the Command Line Tools installed, you have Xcode installed. Many of the executables in /usr/bin are shims that call the executables in Xcode automatically, but many ports still try to find headers in /usr/include.

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.1/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No such file or directory

The Command Line Tools install those headers; install them with xcode-select --install, clean libgcc, and try again.

comment:4 Changed 10 years ago by ja_macports@…

It doesn't seem to find the <stdio.h> headers while building stage1-bubble I'm trying to reinstall Xcode command line just to be certain. (But I have already rebuilt a lot of ports)

Ok that was it, I had 6 updates for the command line tools in Software Update. Now Software Updates tells me I have installed the command line tools 18 times! (Don't tell me I didn't :) ) Looks like a glitch in Apple tools.

Thanks

comment:5 in reply to:  4 Changed 10 years ago by larryv (Lawrence Velázquez)

Did that work? Make sure /usr/include exists.

comment:6 Changed 10 years ago by ja_macports@…

Yes /usr/include looks complete now. Install succesful. Though this morning Software Update had to install two more time the Command Line tools! That makes 20.

comment:7 in reply to:  6 Changed 10 years ago by larryv (Lawrence Velázquez)

Well that sure sounds weird, but we’ll call it fixed.

Note: See TracTickets for help on using tickets.