Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 512032

Summary: gcc-apple-4.2.1_p5666-r1 fails because of missing /usr/include
Product: Gentoo/Alt Reporter: Volker Wegert <gentoo>
Component: Mac OSXAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description Volker Wegert 2014-06-01 11:26:28 UTC
After a complete reinstallation of one of my Mac systems, I'm trying a fresh bootstrap of Gentoo Prefix. I've installed OS X 10.9.3 and Xcode 5.1.1. The bootstrap process fails when merging gcc-apple-4.2.1_p5666-r1 because "The directory that should contain system headers does not exist: /usr/include".

The fix is rather trivial: execute xcode-select --install before attempting the bootstrap prefix. Would it be possible to add this to the instructions -- perhaps even extend the bootstrapping script so that it prints out a warning early in the process and provides a hint on how to resolve the situation?

Thanks
  Volker


Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2014-06-15 16:36:21 UTC
I added the hint to the bootstrap-prefix.sh script, thanks!