From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: audit 2.5.1 released Date: Thu, 28 Apr 2016 12:18:06 -0400 Message-ID: <3022564.FRFgr3qNNA@x2> References: <176682998.5729077.1461811556032.JavaMail.yahoo.ref@mail.yahoo.com> <176682998.5729077.1461811556032.JavaMail.yahoo@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <176682998.5729077.1461811556032.JavaMail.yahoo@mail.yahoo.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com, Manuel Scunthorpe List-Id: linux-audit@redhat.com On Thursday, April 28, 2016 02:45:55 AM Manuel Scunthorpe wrote: > The build fails in Arch Linux openrc when configure has the option > --enable-systemd=no It seems to work and build the package but fails at the > end, I think it is a makefile error. I wanted to build the package with > static libs rather than use the precompiled Arch version.I tried the > standard 2.4.4 version in ABS then modified it slightly to build the latest > 2.5.1 version, they both gave the same result.For 2.5.1 I used this command > as the checksums were different to 2.4.4 and the modified PKGBUILD which I > attached to this message along with the log files, although they stop just > before the sed error. $ makepkg -L --skipinteg > The end of the build finishes like this:make[2]: Nothing to be done for > 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. > make[2]: Leaving directory '/home/steve/build/a3udit/src/audit-2.5.1' > make[1]: Leaving directory '/home/steve/build/a3udit/src/audit-2.5.1' > sed: can't read usr/lib/systemd/system/auditd.service: No such file or > directory ==> ERROR: A failure occurred in package(). > Aborting... The PKGBUILD script can't make up its mind on systemd. In the configure it says no, but then it tries to sed a systemd file. :-) make[1]: Leaving directory '/home/steve/build/a3udit/src/audit-2.5.1' sed: can't read usr/lib/systemd/system/auditd.service: No such file or directory ==> ERROR:(B A failure occurred in package().(B  Aborting...(B If you don't want systemd, then remove the usr/lib/systemd/system/auditd.service file from the sed command as well as the chmod of that file. Instead, you probably need to do something with etc/rc.d/init.d/audit.service. Also, if you do not need to send audit events to a zos server, then you can also add --disable-zos-remote which removes a dependency on openldap-devel which seems unaccounted for in your dependencies but is in your buildroot. That will also require deleting lines with zos-remote in the PKGBUILD. -Steve