Opened 8 years ago
Last modified 8 years ago
#52588 closed defect
mercurial 3.9.1 error: 'swift_name' attribute cannot be applied — at Version 1
Reported by: | rgacote | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | mercurial |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Change History (1)
comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | swift_name removed |
Summary: | Mercurial 3.9.1 error: 'swift_name' attribute cannot be applied → mercurial 3.9.1 error: 'swift_name' attribute cannot be applied |
Note: See
TracTickets for help on using
tickets.
Errors encountered in system headers usually mean you haven't installed the latest version of the Xcode command line tools. Use can use
xcode-select --install
to do that.