[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
MacPorts
noreply at macports.org
Fri Oct 25 02:51:24 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: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Resolution: | Keywords: snowleopard
Port: openssh |
-------------------------+-------------------------
Comment (by Ionic):
Okay: `SecItem.h` is being included by `Security.h` on later platforms,
but not on 10.6. They might have forgotten the include or just didn't need
it.
`kSecClassGenericPassword` is declared in
[https://opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-55017/lib/SecItemPriv.h.auto.html
SecItemPriv.h] on 10.6 (just like `kSecAttrAccessGroup`), so I'll need to
add it to the shim.
I wonder if that'll work, because
[https://opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-55017/lib/SecItem.h.auto.html
SecItem.h] includes this comment:
{{{
IMPORTANT: on Mac OS X 10.6, only items
of class kSecClassInternetPassword are currently supported.
}}}
Hopefully that's not true for that part of the interface, or at least only
accurate for the **public** interface, but I know that it can't generally
be true because other functions actually were able to use
GenericPasswords, c.f.,
[https://opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-55017/lib/SecKeychain.h.auto.html
SecKeychain.h].
Let's go for the next run...
--
Ticket URL: <https://trac.macports.org/ticket/59397#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list