[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 12:36:34 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     |
-------------------------+-------------------------
Changes (by grumpybozo):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 We've reached the point where I'm entirely mystified by the errors, which
 I guess means we're almost there...

 {{{
 ccache /opt/local/bin/clang-mp-9.0 -o sftp progressmeter.o sftp.o sftp-
 client.o sftp-common.o sftp-glob.o -L. -Lopenbsd-compat/ -L/opt/local/lib
 -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-search_paths_first -arch i386 -fstack-protector-strong -pie  -lssh
 -lopenbsd-compat -lcrypto -lbsm -lz  -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch i386  -L/opt/local/lib  -L/lib
 -lssl  -lcrypto -lldns -lresolv -L/opt/local/lib -ledit
 clang: warning: argument unused during compilation: '-pie' [-Wunused-
 command-line-argument]
 ld: warning: directory not found for option '-L/lib'
 clang: warning: argument unused during compilation: '-pie' [-Wunused-
 command-line-argument]
 clang: warning: argument unused during compilation: '-pie' [-Wunused-
 command-line-argument]
 ld: warning: directory not found for option '-L/lib'
 ld: warning: directory not found for option '-L/lib'
 keychain.m:100:32: error: unexpected type name 'BOOL': expected expression
                                (id)kSecReturnData: @YES};
                                                     ^
 /usr/include/objc/objc.h:49:26: note: expanded from macro 'YES'
 #define YES             (BOOL)1
                          ^
 keychain.m:160:60: error: unexpected type name 'BOOL': expected expression
         NSMutableDictionary *searchQuery = [@{(id)kSecReturnRef: @YES}
 mutableCopy];
                                                                   ^
 /usr/include/objc/objc.h:49:26: note: expanded from macro 'YES'
 #define YES             (BOOL)1
                          ^
 keychain.m:250:32: error: unexpected type name 'BOOL': expected expression
                                 (id)kSecReturnAttributes: @YES,
                                                            ^
 /usr/include/objc/objc.h:49:26: note: expanded from macro 'YES'
 #define YES             (BOOL)1
                          ^
 keychain.m:263:29: error: expected method to read dictionary element not
 found on object of type 'NSDictionary *'
                 NSString        *accountString =
 itemAttributes[(id)kSecAttrAccount];
                                                  ^
 4 errors generated.
 make: *** [keychain.o] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openssh/openssh/work/openssh-8.1p1'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openssh/openssh/work/openssh-8.1p1"
 && /usr/bin/make -j4 -w all
 Exit code: 2
 }}}

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


More information about the macports-tickets mailing list