[MacPorts] #64842: xar @1.8.0.483_3: error: use of undeclared identifier 'XAR_CKSUM_SHA256', 'XAR_CKSUM_SHA512'
MacPorts
noreply at macports.org
Thu Mar 17 18:31:16 UTC 2022
#64842: xar @1.8.0.483_3: error: use of undeclared identifier 'XAR_CKSUM_SHA256',
'XAR_CKSUM_SHA512'
-------------------------+-------------------------------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: tiger leopard snowleopard lion
Port: xar | mountainlion mavericks
-------------------------+-------------------------------------------------
Comment (by jmroot):
I think what is happening is that an external xar.h is being included,
i.e. one from the SDK or MacPorts prefix, not the one in the worksrcdir.
The one in the SDK only has those defines on the newer OS versions. This
theory is supported by the fact that if I have the xar port already
installed on the older OSes, the build succeeds.
--
Ticket URL: <https://trac.macports.org/ticket/64842#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list