[MacPorts] #60508: gimp2:error: use of undeclared identifier 'MACH_TASK_BASIC_INFO_COUNT

MacPorts noreply at macports.org
Fri Aug 28 23:02:15 UTC 2020


#60508: gimp2:error: use of undeclared identifier 'MACH_TASK_BASIC_INFO_COUNT
---------------------+--------------------------------------------
  Reporter:  iEFdev  |      Owner:  dbevans
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.2
Resolution:          |   Keywords:  lion snowleopard leopard tiger
      Port:  gimp2   |
---------------------+--------------------------------------------

Comment (by dbevans):

 Anyway the place the build breaks (for < 10.8) is in
 app/widgets/gimpdashboard.c and it looks like it could be bypassed, if
 needed, by just using #undef HAVE_MEMORY_GROUP there.

 On the more recent machines, the missing definitions are in
 <mach/task_info.h>.  The GIMP code includes <mach/mach.h> which eventually
 includes this header. (mach/mach.h includes mach/mach_types.h includes
 mach/task_info.h)

 I'd be interested if this is the case on the failing machines or not or
 something else. Appreciate it if you could take a look for me.

 Thanks in advance.

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


More information about the macports-tickets mailing list