Created attachment 426816 [details] build.log.bz2 My system is OS X El Capitan (10.11.3). I'm using an installation built with a successful bootstrap from bug 564814. When building dev-lang/R-3.2.3 the errors begin on line 1733: x86_64-apple-darwin15-gcc -I../../../../include -DNDEBUG -I../../../include -I../../../../src/include -DHAVE_CONFIG_H -fPIC -g -O2 -fobjc-exceptions -c qdCocoa.m -o qdCocoa.o In file included from /usr/include/os/object.h:75, from /usr/include/dispatch/dispatch.h:48, from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15, from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13, from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19, from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23, from ../../../../include/R_ext/QuartzDevice.h:101, from qdCocoa.h:24, from qdCocoa.m:24: /usr/include/objc/NSObject.h:22: error: expected ‘)’ before ‘instancetype’ /usr/include/objc/NSObject.h:36: error: expected ‘)’ before ‘instancetype’ /usr/include/objc/NSObject.h:38: error: expected ‘)’ before ‘instancetype’ /usr/include/objc/NSObject.h:60: error: expected ‘)’ before ‘instancetype’ /usr/include/objc/NSObject.h:66: error: expected ‘)’ before ‘instancetype’ /usr/include/objc/NSObject.h:67: error: expected ‘)’ before ‘instancetype’ /usr/include/objc/NSObject.h:68: error: expected ‘)’ before ‘instancetype’
this seems to suggest you built some gcc, which one?
I think we need dragonegg for this
That would be the one in bug 574736. I also tried using clang explicitly using package.env but got the same error.
Sorry, when I used clang explicitly, I didn't use it for Objective C. Doing that it works. $ cat env/clang CC=clang CXX=clang++ OBJC=clang OBJCXX=clang++ USE=lapack also works, for which it uses x86_64-apple-darwin15-gfortran.
I've added OBJC and OBJCXX to the bootstrap script. I don't quite know how to fix that without modifying your etc/portage/make.conf. To complete fixing this bug, we need to get fortran support somehow working. I think dragonegg would be the best way for that.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a27553c3b1915174847f348f4e7b42f358308f5 commit 8a27553c3b1915174847f348f4e7b42f358308f5 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2020-12-13 16:59:30 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2020-12-13 16:59:30 +0000 dev-lang/R: drop ~x64-macos keyword Closes: https://bugs.gentoo.org/575860 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org> dev-lang/R/R-3.4.1.ebuild | 2 +- dev-lang/R/R-3.6.3-r1.ebuild | 2 +- dev-lang/R/R-4.0.2.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)