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

MacPorts noreply at macports.org
Sat Aug 29 16:14:49 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 iEFdev):

 Replying to [comment:25 kencu]:
 > so perhaps we just
 >
 > …

 Yes, almost. Got another, but simular error. I think I've fixed it, and
 have prepared a patch.

 I used this:

 {{{
 #ifdef HAVE_MEMORY_GROUP
 #ifdef PLATFORM_OSX
   #if MAC_OS_X_VERSION_MAX_ALLOWED < 1080
     #define MACH_TASK_BASIC_INFO_COUNT TASK_BASIC_INFO_COUNT
     #define mach_task_basic_info_data_t task_basic_info_data_t

     #define MACH_TASK_BASIC_INFO TASK_BASIC_INFO
     #define mach_task_basic_info task_basic_info
   #endif
 static void
 }}}

 …and it finished the build, but since I had prepared the Portfile (and my
 muscle memory must've ⌘S that), so it errored on destroot. But, it did
 build. :–)

 {{{
 $ sudo port destroot gimp2 +python27 +quartz
 --->  Computing dependencies for gimp2
 --->  Configuring gimp2
 --->  Building gimp2
 Portfile changed since last build; discarding previous state.
 --->  Staging gimp2 into destroot
 Error: Failed to destroot gimp2: command execution failed
 }}}

 I'll retry in a moment, and see if I can fix the (2) offsets on the othe
 patches to before that.

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


More information about the macports-tickets mailing list