From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com, Manuel Scunthorpe <u7181-wlodsazi@yahoo.co.uk>
Subject: Re: audit 2.5.1 released
Date: Thu, 28 Apr 2016 12:18:06 -0400 [thread overview]
Message-ID: <3022564.FRFgr3qNNA@x2> (raw)
In-Reply-To: <176682998.5729077.1461811556032.JavaMail.yahoo@mail.yahoo.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
^[[1m^[[31m==> ERROR:^[(B^[[m^[[1m A failure occurred in package().^[(B^[[m
^[[1m Aborting...^[(B^[[m
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
next prev parent reply other threads:[~2016-04-28 16:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <176682998.5729077.1461811556032.JavaMail.yahoo.ref@mail.yahoo.com>
2016-04-28 2:45 ` audit 2.5.1 released Manuel Scunthorpe
2016-04-28 16:18 ` Steve Grubb [this message]
[not found] <543804231.8112760.1462051758161.JavaMail.yahoo.ref@mail.yahoo.com>
2016-04-30 21:29 ` Manuel Scunthorpe
2016-05-09 14:01 ` Steve Grubb
2016-04-13 20:01 Steve Grubb
2016-04-13 20:07 ` Warron S French
2016-04-13 20:17 ` Steve Grubb
2016-04-13 21:05 ` Warron S French
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3022564.FRFgr3qNNA@x2 \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
--cc=u7181-wlodsazi@yahoo.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.