[MacPorts] #41646: Python 3.3.3 upgrade staging error

MacPorts noreply at macports.org
Mon Dec 2 21:00:08 PST 2013


#41646: Python 3.3.3 upgrade staging error
----------------------------+-------------------
  Reporter:  samuelandjw@…  |      Owner:  jwa@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.1
Resolution:                 |   Keywords:
      Port:  python33       |
----------------------------+-------------------

Comment (by nad@…):

 Take a look at `/usr/include/objc-api.h`.  It should look like
 [http://opensource.apple.com/source/objc4/objc4-551.1/runtime/objc-api.h
 this].  That's where the magic takes place to create the right
 preprocessor `#define`'s for available objc features.  It appears that is
 being skipped somehow.  The things causing the compile errors,
 `OBJC_ARC_UNAVAILABLE` and `OBJC_ROOT_CLASS` and `OBJC_EXPORT`, are macros
 defined in `objc-api.h`.  Some possibilities are that this file is not
 being included somehow or has been overwritten or the preprocessor stage
 is being skipped (unlikely).  Do you have some funky environment variable
 set?  Have you by any chance installed another version of llvm or clang,
 from `MacPorts` perhaps?  Or had a pre-release version of Mavericks and/or
 Xcode installed?  If you are very careful, you *could* just `rm -r
 /usr/include` and reinstall the Command Line Tools package, not something
 I would normally advise doing!

-- 
Ticket URL: <https://trac.macports.org/ticket/41646#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list