You are not logged in.
Pages: 1
Topic closed
Hey community!
I was trying to optimize my boot time by installing E4rat but I'm stuck at this step.
Quoting the wiki:
" In order to build it, you must first rebuild audit from the ABS with staticlibs option explicitly enabled. Simply installing the default audit package will result in a build error.
Audit needs these options to be enabled in the kernel configuration (CONFIG_AUDIT) together with support for auditing system calls (CONFIG_AUDITSYSCALL) also see Kernels/Arch Build System. Probably you will need audit=1 to add to your kernel parameters."
On trying to install abs arch doesn't recognize the package name.
"
$ sudo pacman -S abs
error: target not found: abs
"
I have not used ABS extensively and I'm not sure how to go about this. Couldn't find any wiki to help out either.
Can anyone provide the steps to go about this?
Last edited by anshulsg (2018-11-15 05:09:21)
Offline
I see no mention of any package called abs in the documentation.
Offline
There is a wiki page, though.
Edit: crap, didn't see the link. Sorry.
Last edited by Scimmia (2018-11-15 05:27:16)
Offline
There used to be an abs package, but it was deprecated ages ago. I find asp works even nicer than the old abs used to.
Offline
Okay so I did this:
1. Command: abs checkout audit
2. In the audit PKGBUILD added the option for staticlibs
3. Command: makepkg -si
But I get the following errors:
error: failed to commit transaction (conflicting files)
/usr/lib/golang/src/pkg/redhat.com/audit/audit.go exists in both 'audit' and 'python2-audit'
/usr/lib/golang/src/pkg/redhat.com/audit/audit.go exists in both 'audit' and 'python-audit'
/usr/lib/golang/src/pkg/redhat.com/audit/audit.go exists in both 'python2-audit' and 'python-audit'
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).
Offline
Adding the staticlibs option did not add /usr/lib/golang/src/pkg/redhat.com/audit/audit.go to the audit package when I built it locally
git diff
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index e541d6b..c41f3ba 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -15,7 +15,7 @@ url='https://people.redhat.com/sgrubb/audit'
arch=('x86_64')
makedepends=('krb5' 'libcap-ng' 'libldap' 'swig' 'linux-headers' 'python' 'python2')
license=('GPL')
-options=('emptydirs')
+options=('emptydirs' 'staticlibs')
source=(${pkgbase}-${pkgver}.tar.gz::https://people.redhat.com/sgrubb/audit/${pkgbase}-${pkgver}.tar.gz)
sha512sums=('5795c565effab995cee447a2dc457ef6a6f15201fb185d7104992ac373a3cb5cfc865dd661c0896a895c96f452eff392d455064d0eead55cd7364d96e0d15c4a')
pacman -Qlp audit-2.8.4-2-x86_64.pkg.tar.xz | grep redhatPlease post the PKGBUILD after you are using.
Offline
OP cross-posted. https://bbs.archlinux.org/viewtopic.php … 0#p1830130
Closing.
Offline
Pages: 1
Topic closed