Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51887 closed defect (worksforme)

rmtrash @0.3.3: error: unknown property attribute 'class'

Reported by: todd@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: sierra Cc: ryandesign (Ryan Carsten Schmidt)
Port: rmtrash

Description

Several compile errors related to unknown property attribute 'class' in Foundation.framework/Headers. The following is the first of many:

  :info:build /usr/bin/clang -Os -arch x86_64 -framework Foundation -arch x86_64 rmtrash.m -o rmtrash
  :info:build In file included from rmtrash.m:1:
  :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
  :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
  :info:build /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:12: error: unknown property attribute 'class'
  :info:build @property (class, readonly) BOOL supportsSecureCoding;
  :info:build            ^

Note that I'm running MacPorts compiled from source on the macOS Sierra Public Beta 1

Change History (3)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: rmtrash removed

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: sierra added
Resolution: worksforme
Status: newclosed
Summary: rmtrash @ 2.3.4 +compile error - build failurermtrash @0.3.3: error: unknown property attribute 'class'

Works for me on Sierra public beta 1 with Xcode 8 beta 2. On Sierra, make sure you're using Xcode ≥ 8. Note that Sierra public beta 2 and Xcode 8 beta 3 are out now. Note that it's best not to discuss issues relating to pre-release versions of Apple products in public forums like this issue tracker.

comment:3 Changed 8 years ago by RJVB (René Bertin)

Note that using clang-3.8 and clang-3.9 from MacPorts (versions current as of this post) will lead to the same errors.

Note: See TracTickets for help on using tickets.