[MacPorts] #71151: xar @1.8.0.498: error: use of undeclared identifier 'XAR_CKSUM_SHA256', 'XAR_CKSUM_SHA512'

MacPorts noreply at macports.org
Thu Oct 24 01:23:08 UTC 2024


#71151: xar @1.8.0.498: error: use of undeclared identifier 'XAR_CKSUM_SHA256',
'XAR_CKSUM_SHA512'
-------------------------+-------------------------------------------------
  Reporter:  0xbf00      |      Owner:  Schamschula
      Type:  defect      |     Status:  assigned
  Priority:  High        |  Milestone:
 Component:  ports       |    Version:  2.10.2
Resolution:              |   Keywords:  tiger leopard snowleopard lion
      Port:  xar         |  mountainlion mavericks
-------------------------+-------------------------------------------------

Comment (by ryandesign):

 It looks like both this issue and #71151 have the same root cause:
 inadvertently using the system's outdated xar.h header instead of the new
 one in the xar source code.

 Question is, why did [changeset:910521d9f3c891a6aa147f59890a10603968093d
 /macports-ports the fix] for #64842 use a patchfile to remove the check
 for `XARSIG_BUILDING_WITH_XAR`, rather than just defining
 `XARSIG_BUILDING_WITH_XAR` like the Xcode project does?

 Marius, when you say the fix no longer works for the current version of
 xar, what do you mean? You said in #71151 you don't have older systems to
 test on.

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


More information about the macports-tickets mailing list