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

2015-05-26 Thread Lennart Poettering
On Fri, 22.05.15 11:27, Marc-Antoine Perennou (marc-anto...@perennou.com) wrote:

 Hi,
 
 On 22 May 2015 at 11:16,  baldu...@units.it wrote:
  hello,
 
  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;
^
 
 I got the same here
 
 rm src/journal/audit_type-to-name.h src/udev/keyboard-keys-from-name.gperf
 
 Solved this one and another udev-related. These generated files are in
 the tarball when they shouldn't.

I think this is now solved with Tom's commit
ee3c31bf69746c5afc764c3d0337feec1bf25f0e of your patch.

 Btw src/boot/efi is missing from the tarball, too.

I think this is now solved with Tom's commit
f80099c06fd12c87da4d2207fb2e2f31ffaec6ed of your patch.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2015-05-22 Thread Marc-Antoine Perennou
Hi,

On 22 May 2015 at 11:16,  baldu...@units.it wrote:
 hello,

 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;
   ^

I got the same here

rm src/journal/audit_type-to-name.h src/udev/keyboard-keys-from-name.gperf

Solved this one and another udev-related. These generated files are in
the tarball when they shouldn't.

Btw src/boot/efi is missing from the tarball, too.

Regards,
Marc-Antoine
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2015-05-22 Thread balducci
hello,

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 \
--disable-audit


Am I missing something?


thanks
ciao
gabriele

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel