Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Cc: "Han H." <twn@×××××××.com>
Subject: Re: [gentoo-alt] Update clang failed (El Captain)
Date: Tue, 06 Sep 2016 07:55:24
Message-Id: 20160906075512.GA10667@gentoo.org
In Reply to: Re: [gentoo-alt] Update clang failed (El Captain) by Fabian Groffen
1 Han,
2
3 Does it work for you now with my fixes?
4
5 Thanks,
6
7 Fabian
8
9
10 On 04-09-2016 17:06:56 +0200, Fabian Groffen wrote:
11 > Han, Michael,
12 >
13 > I've got the exact same scenario on my El Capitan. With the help of
14 > Michael's pointers, I managed to track down what goes wrong.
15 >
16 > Michael pointed out there is a call to some function that will return an
17 > empty string for systems where xcodebuild barfs, and the later code
18 > checks if the variable is set. Obviously it is (to an empty string),
19 > with a result of "-isysroot".
20 >
21 > I've patched the function to return / in case xcodebuild returns nothing
22 > useful, such that we fall back to /usr/include, which makes the whole
23 > thing compile for me.
24 >
25 > Fabian
26 >
27 > On 02-09-2016 19:31:02 +0000, Han H. wrote:
28 > > Hi Michael,
29 > >
30 > > Yes /usr/include is there. I am not able to install mac packages so an
31 > > update must not be run by me.
32 > >
33 > > $ xcodebuild -version -sdk macosx
34 > > xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer
35 > > directory '/Library/Developer/CommandLineTools' is a command line tools
36 > > instance
37 > >
38 > > I saw in the check
39 > >
40 > > -- Finding valid architectures for osx...
41 > > -- OSX supported arches: i386;x86_64;x86_64h
42 > > -- Finding valid architectures for 10.4...
43 > > -- OSX 10.4 supported arches: i386;x86_64;x86_64h
44 > > -- Compiler-RT supported architectures: i386;x86_64;x86_64h
45 > >
46 > > does that mean it detects my system is 10.4?
47 > >
48 > > I also tried 3.8.1-r2 but same thing happens. llvm-3.9.0_rc3 requires more
49 > > upgrade (cmake...) and not sure if uncomplete upgrade (if cmake updates and
50 > > llvm remains 3.7.1) will cause a broken toolchain.
51 > >
52 > > Thanks,
53 > > Han
54 > >
55 >
56 > --
57 > Fabian Groffen
58 > Gentoo on a different level
59
60
61
62 --
63 Fabian Groffen
64 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-alt] Update clang failed (El Captain) Matt Michalowski <nextdayflight@×××××.com>