1 |
Hi Michael, |
2 |
|
3 |
I am running prefix on Sierra, without issues. Please note, however, that I bootstrapped when I was still on El Capitan. |
4 |
|
5 |
My only guess, is make sure that xcode command line tools are used instead of full Xcode package (sudo xcode-select -s /Library/Developer/CommandLineTools). |
6 |
|
7 |
Good luck, |
8 |
-- |
9 |
Askar Bektassov (Аскар Бектасов) |
10 |
Sent from mobile, please excuse my brevity and typos |
11 |
|
12 |
> On 30 Oct 2016, at 18:31, Michael Weiser <michael@×××××××××××××××.net> wrote: |
13 |
> |
14 |
> Hey guys, |
15 |
> |
16 |
> is anyone running prefix on Sierra yet? |
17 |
> |
18 |
> I am and I've had only one but majorish problem getting it to work: |
19 |
> Everything containing Objective-C code (gtk, dev-scheme/guile, git, |
20 |
> glib, lbdb) failed to compile with clang 3.8. The errors all were like |
21 |
> this: |
22 |
> |
23 |
> In file included from /usr/local/gentoo/var/tmp/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/gdk/quartz/GdkQuartzView.c:21: |
24 |
> In file included from /usr/local/gentoo/var/tmp/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/gdk/quartz/GdkQuartzView.h:21: |
25 |
> In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10: |
26 |
> In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10: |
27 |
> In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5: |
28 |
> /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:12: |
29 |
> error: unknown property attribute 'class' |
30 |
> @property (class, readonly) BOOL supportsSecureCoding; |
31 |
> ^ |
32 |
> |
33 |
> On a hunch that Apple once again started using new language constructs |
34 |
> in the system headers as soon as they became available in their latest |
35 |
> Xcode clang I've hacked the llvm-3.9.0 ebuild to install a working |
36 |
> clang-3.9 and lo and behold all the stuff that failed before compiled |
37 |
> and installed fine. |
38 |
> |
39 |
> Did anyone else observe this behaviour or is something screwed up on my |
40 |
> system? |
41 |
> |
42 |
> BTW: That system was a fresh install of El Capitan with Xcode 8 which I |
43 |
> upgraded just a few days later to Sierra. I manually updated the Xcode |
44 |
> command line tools to 8.0 for Sierra via the .pkg from |
45 |
> developer.apple.com. |
46 |
> |
47 |
> Another way might have been to downgrade Xcode to possibly get the older |
48 |
> system headers as well but I didn't try that. (The way out is forward. ;) |
49 |
> -- |
50 |
> Thanks, |
51 |
> Michael |
52 |
> |