[Bug 1968] New: openssh won't build with --with-audit=bsm on Solaris 11

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jan 3 04:27:18 EST 2012


https://bugzilla.mindrot.org/show_bug.cgi?id=1968

             Bug #: 1968
           Summary: openssh won't build with --with-audit=bsm on Solaris
                    11
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 5.9p1
          Platform: ix86
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: magnus.johansson at foxt.com


When doing ./configure --with-audit=bsm the build fails on Solaris 11.
Apparently
(https://forums.oracle.com/forums/thread.jspa?threadID=2150559) the BSM
API has changed between Solaris 10 and 11. The error also occurs when I
try openssh-SNAP-20120103. Below is the exact error:

./configure --with-audit=bsm
[snip]
make
[snip]
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
-Wformat-security -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -fno-builtin-memset -fstack-protector-all -I. -I. 
-DSSHDIR=\"/usr/local/etc\"  -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"
 -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" 
-D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" 
-D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" 
-D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" 
-D_PATH_SSH_PIDDIR=\"/var/run\" 
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c
audit-bsm.c
audit-bsm.c: In function ‘selected’:
audit-bsm.c:178:3: warning: implicit declaration of function ‘getacna’
audit-bsm.c: In function ‘bsm_audit_record’:
audit-bsm.c:216:2: error: too few arguments to function ‘au_close’
/usr/include/bsm/libbsm.h:119:12: note: declared here
audit-bsm.c: In function ‘bsm_audit_bad_login’:
audit-bsm.c:258:15: error: ‘BSM_TEXTBUFSZ’ undeclared (first use in
this function)
audit-bsm.c:258:15: note: each undeclared identifier is reported only
once for each function it appears in
audit-bsm.c:258:7: warning: unused variable ‘textbuf’
audit-bsm.c: In function ‘audit_event’:
audit-bsm.c:322:18: error: ‘BSM_TEXTBUFSZ’ undeclared (first use in
this function)
audit-bsm.c:322:10: warning: unused variable ‘textbuf’
*** Error code 1
make: Fatal error: Command failed for target `audit-bsm.o'

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list