[MacPorts] #65310: libdeflate @1.11: error: use of undeclared identifier 'NGROUPS_MAX' (was: libdeflate fails (while installing aseprite dependencies))

MacPorts noreply at macports.org
Wed Jun 8 19:14:43 UTC 2022


#65310: libdeflate @1.11: error: use of undeclared identifier 'NGROUPS_MAX'
-------------------------+-------------------------
  Reporter:  TrantorLix  |      Owner:  nickblack@…
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  libdeflate  |
-------------------------+-------------------------

Comment (by ryandesign):

 Since you are on an Apple Silicon Mac, I suspect you are seeing the same
 [https://build.macports.org/builders/ports-
 12_arm64-builder/builds/51973/steps/install-port/logs/stdio problem we see
 on our Apple Silicon build machine]:

 {{{
 In file included from lib/arm/cpu_features.c:130:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/sysctl.h:83:
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/ucred.h:104:20:
 error: use of undeclared identifier 'NGROUPS_MAX'
         gid_t   cr_groups[NGROUPS];     /* advisory group list */
                           ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/param.h:100:25:
 note: expanded from macro 'NGROUPS'
 #define NGROUPS         NGROUPS_MAX     /* max number groups */
                         ^
 }}}

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


More information about the macports-tickets mailing list