[MacPorts] #55131: squeak doesn't compile.

MacPorts noreply at macports.org
Sat Oct 21 04:31:16 UTC 2017


#55131: squeak doesn't compile.
----------------------------+--------------------
  Reporter:  informatimago  |      Owner:
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:  duplicate      |   Keywords:
      Port:  squeak         |
----------------------------+--------------------
Changes (by ryandesign):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 The log says:

 {{{
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_squeak/squeak/work/Squeak-3.9/platforms/unix/vm/debug.c:3:
 :info:build /usr/include/stdio.h:445:18: error: too many arguments
 provided to function-like macro invocation
 :info:build int     dprintf(int, const char * __restrict, ...)
 __printflike(2, 3) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
 :info:build                      ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_squeak/squeak/work/Squeak-3.9/platforms/unix/vm/debug.h:18:10:
 note: macro 'dprintf' defined here
 :info:build # define dprintf(ARGS)  ((void)0)
 :info:build          ^
 }}}

 So, the operating system defines a function `dprintf`, which it uses in
 its headers, but squeak defines a `dprintf` macro that overrides it and is
 incompatible. squeak shouldn't be doing that.

 Duplicate of #36369.

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


More information about the macports-tickets mailing list