[MacPorts] #59168: clamav @0.102.0 does not build on PPC Tiger, Mac Os X 10.4.11, because of "fatal error: Security/SecRequirement.h: No such file or directory"

MacPorts noreply at macports.org
Mon Oct 7 23:56:15 UTC 2019


#59168: clamav @0.102.0 does not build on PPC Tiger, Mac Os X 10.4.11, because of
"fatal error: Security/SecRequirement.h: No such file or directory"
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.1
Resolution:             |   Keywords:  tiger
      Port:  clamav     |
------------------------+--------------------

Comment (by grumpybozo):

 Replying to [comment:1 kencu]:
 > Hey Peter. When did it last build on Tiger? Can you see what has changed
 since then? Looks like they are calling in some non-Tiger API now. Can you
 find a way to turn it off and use something Tiger has?

 FWIW, v0.101.4_1 built on 10.6.8-i386. As of v0.102, it fails with
 "undeclared identifier" errors for stuff defined in Security/SecItem.h.
 Adding an #include to  cert_util_mac.m didn't fix it, so there's something
 I'm missing...

 Anyway, with the Portfile patch provided, a clang-8.0 build on 10.6.8-i386
 worked and a freshclam --debug  run showed the cert being verified. I
 believe that patch also creates a dependency on curl-ca-bundle, since the
 debug run says this:

 {{{

 * successfully set certificate verify locations:
 *   CAfile: /opt/local/share/curl/curl-ca-bundle.crt

 }}}

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


More information about the macports-tickets mailing list