[MacPorts] #52142: root5 fails to build on Mac OSX 10.11.4

MacPorts noreply at macports.org
Wed Aug 31 06:19:30 PDT 2016


#52142: root5 fails to build on Mac OSX 10.11.4
---------------------------+----------------------
  Reporter:  donal.hill@…  |      Owner:  jonesc@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.4
Resolution:                |   Keywords:
      Port:  root5         |
---------------------------+----------------------

Comment (by gnwiii@…):

 Your log has:
 {{{
 :info:build /opt/local/bin/clang-mp-3.3 -O2 -m64 -pipe -Wshadow -W -Wall
 -fsigne
 d-char -fno-common -Iinclude -DR__HAVE_CONFIG     -pthread -o
 core/clib/src/mmtr
 ace.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.mac
 ports.org_release_tarballs_ports_science_root5/root5/work/root-5-34-36/core/clib
 /src/mmtrace.c
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_m
 acports_sources_rsync.macports.org_release_tarballs_ports_science_root5/root5/wo
 rk/root-5-34-36/core/macosx/src/CocoaUtils.mm:12:
 :info:build In file included from include/CocoaUtils.h:17:
 :info:build In file included from
 /System/Library/Frameworks/Foundation.framewor
 k/Headers/Foundation.h:10:
 :info:build In file included from
 /System/Library/Frameworks/Foundation.framewor
 k/Headers/NSArray.h:5:
 :info:build
 /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:21:
 error: expected a type
 :info:build - (id)copyWithZone:(nullable NSZone *)zone;
 :info:build                     ^
 :info:build
 /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:28:
 error: expected a type
 :info:build - (id)mutableCopyWithZone:(nullable NSZone *)zone;
 }}}


 [https://trac.macports.org/ticket/49440 Ticket 49440] reports a similar
 error due to using Xcode version
 lower than 7 on El Capitan.  If you are using Xcode 7, try building
 without the {{{+clang33}}} option.

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


More information about the macports-tickets mailing list