[MacPorts] #57310: tiemu3 @3.03 build fails on mojave

MacPorts noreply at macports.org
Sat Oct 5 04:52:21 UTC 2019


#57310: tiemu3 @3.03 build fails on mojave
----------------------+--------------------
  Reporter:  rlhamil  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.4
Resolution:           |   Keywords:  mojave
      Port:  tiemu3   |
----------------------+--------------------

Comment (by elyb01):

 Thank you, Joshua! Based on your comment, I was able to get this working
 on macOS 10.14 by temporarily commenting out the pre-existing abort
 function in the Xcode library, then re-enabling it once the install
 finished. I had just updated to Xcode 10.15, so for me this was:

 sudo vim
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h
 line 131 (original):       void     abort(void) __cold __dead2;
 line 131 (disabled):     /* void     abort(void) __cold __dead2; */

 Replying to [comment:1 jmroot]:
 > Looks like a name collision.
 > {{{
 > :info:build In file included from core/state.c:39:
 > :info:build In file included from ./core/ti68k_int.h:31:
 > :info:build In file included from ./core/ti68k_def.h:39:
 > :info:build In file included from /opt/local/include/glib-2.0/glib.h:32:
 > :info:build In file included from
 /opt/local/include/glib-2.0/glib/gasyncqueue.h:32:
 > :info:build In file included from
 /opt/local/include/glib-2.0/glib/gthread.h:34:
 > :info:build In file included from
 /opt/local/include/glib-2.0/glib/gutils.h:306:
 > :info:build
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:131:13:
 error: too many arguments provided to function-like macro invocation
 > :info:build void     abort(void) __dead2;
 > :info:build                ^
 > :info:build ./core/uae/sysdeps.h:141:9: note: macro 'abort' defined here
 > :info:build #define abort() \
 > :info:build         ^
 > }}}
 > It's trying to define its own abort function but abort already exists as
 a macro.

-- 
Ticket URL: <https://trac.macports.org/ticket/57310#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list