Fails to build when libaudit not installed

Bug #1500966 reported by Brendan James
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Fix Released
High
Unassigned
1.16
Fix Released
High
Unassigned

Bug Description

I have been trying to install LightDM 1.16.2 from source after installing all the dependencies (as listed in ebuild files found in the Portage tree for LightDM 1.16.1, http://gpo.zugaina.org/AJAX/Ebuild/10364684/View) with Entropy. To do this I downloaded the source code tarball (.tar.xz), extracted it, cd'ed to the extracted directory and ran:

./configure
make

at which point I got the error message:

session-child.c:420:26: error: ‘AUDIT_USER_LOGIN’ undeclared (first use in this function)
             audit_event (AUDIT_USER_LOGIN, username, -1, remote_host_name, tty, FALSE);
                          ^
session-child.c:420:26: note: each undeclared identifier is reported only once for each function it appears in
session-child.c:775:26: error: ‘AUDIT_USER_LOGOUT’ undeclared (first use in this function)
             audit_event (AUDIT_USER_LOGOUT, username, uid, remote_host_name, tty, TRUE);
                          ^
Makefile:1061: recipe for target 'lightdm-session-child.o' failed
make[2]: *** [lightdm-session-child.o] Error 1
make[2]: Leaving directory '/home/fusion809/Programs/lightdm-1.16.2/src'
Makefile:481: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/fusion809/Programs/lightdm-1.16.2'
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2

I get the same error when I run:

./autogen.sh
make

Tags: build-error

Related branches

tags: added: build-error
Changed in lightdm:
milestone: none → 1.17.0
status: New → Fix Committed
importance: Undecided → High
summary: - LightDM fails to build on Sabayon
+ Fails to build when libaudit not installed
Changed in lightdm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.