[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
Tue Oct 22 16:26:06 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: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Resolution: fixed | Keywords: snowleopard
Port: openssh |
-------------------------+-------------------------
Comment (by grumpybozo):
Replying to [comment:12 Ionic]:
> Let's see how well this works.
>
> If this doesn't fix building on 10.6, please re-open the bug report and
upload the **new** main.log. We might need multiple iterations.
Fixed the include problem, now there's a new issue. I will attach the new
main.log but here's the key excerpt:
{{{
ccache /opt/local/bin/clang-mp-9.0 -pipe -Os -arch i386 -pipe -Wunknown-
warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized
-Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-
sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv
-fno-builtin-memset -fstack-protector-strong -fPIE -I. -I.
-I/opt/local/include -I/opt/local/include -I/opt/local/include
-DBROKEN_STRNVIS=1 -D__APPLE_SANDBOX_NAMED_EXTERNAL__
-D__APPLE_API_STRICT_CONFORMANCE -I/opt/local/include/editline
-I/opt/local/include -I/opt/local/include -D__APPLE_KEYCHAIN__
-D__APPLE_MEMBERSHIP__ -D__APPLE_TMPDIR__ -D__APPLE_LAUNCHD__
-DSSHDIR=\"/opt/local/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/opt/local/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/local/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/opt/local/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/opt/local/libexec/ssh-keysign\"
-D_PATH_SSH_PKCS11_HELPER=\"/opt/local/libexec/ssh-pkcs11-helper\"
-D_PATH_SSH_PIDDIR=\"/opt/local/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c sshpty.c -o
sshpty.o
In file included from keychain.m:33:
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:81:
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17:
In file included from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21:
In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:85:
In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:32:
In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:61:
/usr/include/sys/acl.h:39:19: error: use of undeclared identifier
'KAUTH_VNODE_READ_DATA'
ACL_READ_DATA = KAUTH_VNODE_READ_DATA,
^
/usr/include/sys/acl.h:40:23: error: use of undeclared identifier
'KAUTH_VNODE_LIST_DIRECTORY'
ACL_LIST_DIRECTORY = KAUTH_VNODE_LIST_DIRECTORY,
^
/usr/include/sys/acl.h:41:20: error: use of undeclared identifier
'KAUTH_VNODE_WRITE_DATA'
ACL_WRITE_DATA = KAUTH_VNODE_WRITE_DATA,
^
/usr/include/sys/acl.h:42:18: error: use of undeclared identifier
'KAUTH_VNODE_ADD_FILE'
ACL_ADD_FILE = KAUTH_VNODE_ADD_FILE,
^
/usr/include/sys/acl.h:43:17: error: use of undeclared identifier
'KAUTH_VNODE_EXECUTE'
ACL_EXECUTE = KAUTH_VNODE_EXECUTE,
^
/usr/include/sys/acl.h:44:16: error: use of undeclared identifier
'KAUTH_VNODE_SEARCH'
ACL_SEARCH = KAUTH_VNODE_SEARCH,
^
/usr/include/sys/acl.h:45:16: error: use of undeclared identifier
'KAUTH_VNODE_DELETE'; did you mean 'DISPATCH_VNODE_DELETE'?
ACL_DELETE = KAUTH_VNODE_DELETE,
^
/usr/include/dispatch/source.h:216:2: note: 'DISPATCH_VNODE_DELETE'
declared here
DISPATCH_VNODE_DELETE = 0x1,
^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59397#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list