[MacPorts] #59397: openssh @8.1_1: fails to build on 10.6: audit-bsm.c:66:10: fatal error: 'bsm/audit_session.h' file not found (was: openssh 8.1 will not build on Snow Leopard)

MacPorts noreply at macports.org
Mon Oct 21 23:26:33 UTC 2019


#59397: openssh @8.1_1: fails to build on 10.6: audit-bsm.c:66:10: fatal error:
'bsm/audit_session.h' file not found
-------------------------+-------------------------
  Reporter:  grumpybozo  |      Owner:  Ionic
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.1
Resolution:              |   Keywords:  snowleopard
      Port:  openssh     |
-------------------------+-------------------------
Changes (by Ionic):

 * status:  new => accepted
 * owner:  (none) => Ionic
 * cc: Ionic (removed)


Comment:

 Not really expected, but there was a possibility.

 Yeah, Apple's new implementation of the keychain integration is different
 nowadays.

 Interestingly, 10.6 misses `bsm/audit_session.h`. Digging into that might
 turn out to be difficult... what header files do you have in
 `/usr/include/bsm`?

 Also, this warning is a bit concerning, but AFAIK unpatched code:

 {{{
 :info:build sshbuf-misc.c:225:11: warning: implicit declaration of
 function 'memmem' is invalid in C99 [-Wimplicit-function-declaration]
 2274    :info:build         if ((p = memmem(sshbuf_ptr(b) + start_offset,
 2275    :info:build                  ^
 2276    :info:build sshbuf-misc.c:225:9: warning: incompatible integer to
 pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
 2277    :info:build         if ((p = memmem(sshbuf_ptr(b) + start_offset,
 2278    :info:build                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2279    :info:build 2 warnings generated.
 }}}

 Something that I should look into as well.

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


More information about the macports-tickets mailing list