Opened 8 years ago
Last modified 8 years ago
#52588 closed defect
Mercurial 3.9.1 error: 'swift_name' attribute cannot be applied — at Initial Version
Reported by: | rgacote | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | mercurial |
Description
Upgraded two computers to Sierra. Upgraded both to macports 2.3.4. Xcode 8.0 installed on both.
Trying to install mercurial (version 3.9.1). One computer installs without problems. Other fails with following error:
building 'mercurial.osutil' extension /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -Os -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mercurial/osutil.c -o build/temp.macosx-10.12-x86_64-2.7/mercurial/osutil.o In file included from mercurial/osutil.c:862: In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:27: In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h:28: In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h:28: In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h:24: In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h:8: /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:282:78: error: 'swift_name' attribute cannot be applied to this declaration typedef struct CF_BRIDGED_TYPE(id) IOSurface *IOSurfaceRef attribute((swift_name("IOSurfaceRef")));
Tried multiple rebuilds and cleaning the partial builds. Any thoughts appreciated. --Ray