Han,

Does it work for you now with my fixes?

Thanks,

Fabian


On 04-09-2016 17:06:56 +0200, Fabian Groffen wrote:
> Han, Michael,
> 
> I've got the exact same scenario on my El Capitan.  With the help of
> Michael's pointers, I managed to track down what goes wrong.
> 
> Michael pointed out there is a call to some function that will return an
> empty string for systems where xcodebuild barfs, and the later code
> checks if the variable is set.  Obviously it is (to an empty string),
> with a result of "-isysroot".
> 
> I've patched the function to return / in case xcodebuild returns nothing
> useful, such that we fall back to /usr/include, which makes the whole
> thing compile for me.
> 
> Fabian
> 
> On 02-09-2016 19:31:02 +0000, Han H. wrote:
> > Hi Michael,
> > 
> > Yes /usr/include is there. I am not able to install mac packages so an
> > update must not be run by me.
> > 
> > $ xcodebuild -version -sdk macosx
> > xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer
> > directory '/Library/Developer/CommandLineTools' is a command line tools
> > instance
> > 
> > I saw in the check
> > 
> > -- Finding valid architectures for osx...
> > -- OSX supported arches: i386;x86_64;x86_64h
> > -- Finding valid architectures for 10.4...
> > -- OSX 10.4 supported arches: i386;x86_64;x86_64h
> > -- Compiler-RT supported architectures: i386;x86_64;x86_64h
> > 
> > does that mean it detects my system is 10.4?
> > 
> > I also tried 3.8.1-r2 but same thing happens. llvm-3.9.0_rc3 requires more
> > upgrade (cmake...) and not sure if uncomplete upgrade (if cmake updates and
> > llvm remains 3.7.1) will cause a broken toolchain.
> > 
> > Thanks,
> > Han
> > 
> 
> -- 
> Fabian Groffen
> Gentoo on a different level



-- 
Fabian Groffen
Gentoo on a different level

Attachment: signature.asc
Description: Digital signature

Reply via email to