[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


             Bug #: 1968
           Summary: openssh won't build with --with-audit=bsm on Solaris
    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.
(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
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\"
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