[systemd-devel] 220: --disable-audit broken?

balducci at units.it balducci at units.it
Fri May 22 02:16:46 PDT 2015


while building 220 I get:

    In file included from src/journal/audit-type.c:32:0:
    src/journal/audit_type-to-name.h: In function 'audit_type_to_string':
    src/journal/audit_type-to-name.h:23:14: error: 'AUDIT_USER_AUTH' undeclared (first use in this function)
             case AUDIT_USER_AUTH: return "USER_AUTH";

    [...bunch of errors like above...]

    Makefile:17228: recipe for target 'src/journal/libsystemd_la-audit-type.lo' failed
    make[3]: *** [src/journal/libsystemd_la-audit-type.lo] Error 1
    Makefile:19901: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    Makefile:9976: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/home/balducci/tmp/install-us-d/systemd-219.d/systemd-220'

219 built just fine with exactly the same build/install script I use
for 220

Trying to run w/ --disable-audit doesn't fix things

As far as I seem to understand, audit_type-to-name.h is
*unconditionally* using macros defined in libaudit.h...

Here is my configure call:

./configure --prefix=/usr \
            --libdir=/usr/lib64 \
            --sysconfdir=/etc \
            --disable-nls \
            --disable-silent-rules \
            --with-rootprefix=/usr \
            --with-rootlibdir=/usr/lib64 \
            --with-dbuspolicydir=/usr/share/dbus-1/policy \
            --with-dbussessionservicedir=/usr/share/dbus-1/services \
            --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
            --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
            --disable-manpages \

Am I missing something?


More information about the systemd-devel mailing list