[MacPorts] #70473: stklos @1.70: error: macro names must be identifiers (was: stklos build failure: error: macro names must be identifiers)

MacPorts noreply at macports.org
Thu Aug 1 05:29:38 UTC 2024


#70473: stklos @1.70: error: macro names must be identifiers
---------------------------+------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  accepted
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:  powerpc
      Port:  stklos        |
---------------------------+------------------------
Changes (by ryandesign):

 * keywords:   => powerpc
 * status:  new => accepted
 * cc: ryandesign (removed)
 * owner:  (none) => ryandesign


Comment:

 Replying to [ticket:70473 barracuda156]:

 > {{{
 > SUMMARY
 > *******
 >                System:  -
 >               OS nick:  _
 >               OS type:
 > }}}

 Probably relevant that it hasn't identified your operating system above
 because:

 > {{{
 > extraconf.h:34:24: error: macro names must be identifiers
 > extraconf.h:41:10: error: macro names must be identifiers
 > }}}

 [https://github.com/egallesio/STklos/blob/48954a2ee3a63d09eab79e7bd05ba116bcbe8cef/src/extraconf.h.in#L34
 Line 34] is:

 {{{#!c
 #define @OS_NAME@               1
 }}}

 [https://github.com/egallesio/STklos/blob/48954a2ee3a63d09eab79e7bd05ba116bcbe8cef/src/extraconf.h.in#L41
 Line 41] is:

 {{{#!c
 #define @OS_FLAVOUR@ 1
 }}}

 I presume those placeholders didn't get replaced with something valid on
 your system.

 I see you are on Mac OS X 10.6 ppc. From build logs on Mac OS X 10.6
 x86_64 you should be seeing something more like:

 {{{
 SUMMARY
 *******
                System:  Darwin-10.8.0
               OS nick:  DARWIN_10
               OS type:  unix
 }}}

 Version 2.00 is available and includes several fixes I submitted and I
 should update the port but these placeholders are still there in 2.00 so
 it may not improve on this problem.

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


More information about the macports-tickets mailing list