You are not logged in.
I am trying to install e4rat by this method:
$ git clone [url]https://aur.archlinux.org/e4rat.git[/url]
$ cd e4rat
$ makepkg -si
then I got error:
CMake Error at src/cmake/Findaudit.cmake:17 (MESSAGE):
Could not find audit
Call Stack (most recent call first):
src/CMakeLists.txt:83 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/edward/e4rat/src/e4rat-0.2.3/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Aborting...
(complete output and error here: http://sprunge.us/WVUV )
Then after reading comment on AUR page for e4rat I did:
- change "!staticlibs" to "staticlibs" in /etc/makepkg.conf
- install abs => sudo pacman -S abs
- ran sudo abs to generate file tree
- navigate to /var/abs/community/audit, copy the folder "audit" to other place ie. home folder
- navigate to ~/audit
- run "makepkg", will generate a file with .tar.xz extension.
in this last step I get error again:
make[2]: Leaving directory '/home/edward/audit/src/audit-2.4.4/docs'
make[1]: Leaving directory '/home/edward/audit/src/audit-2.4.4/docs'
make[1]: Entering directory '/home/edward/audit/src/audit-2.4.4'
make[2]: Entering directory '/home/edward/audit/src/audit-2.4.4'
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/edward/audit/src/audit-2.4.4'
make[1]: Leaving directory '/home/edward/audit/src/audit-2.4.4'
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
error: database not found: var
==> ERROR: A failure occurred in package().
Aborting...
(complete output and error here: http://sprunge.us/XPDT )
Please help from here what to do?
Last edited by ltorvalds024 (2016-02-12 15:56:51)
"I am slacking because my code is compiling"
Offline
Please use code tags for posting output.
Moving to AUR issues.
Offline
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. error: database not found: var ==> ERROR: A failure occurred in package(). Aborting...
Have you installed the base-devel group?
Also, please use code tags for your terminal output - it makes reading your post easier
[code]like this[/code]
Offline
- change "!staticlibs" to "staticlibs" in /etc/makepkg.conf
do not make that change in /etc/makepkg.conf, that WILL give problems with other packages you build !
in the PKGBUILD for audit, look for this line
options=(emptydirs)
edit it so it becomes
options=('emptydirs' 'staticlibs')
That change will preserve staticlibs for audit, but not change any other package.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Have you installed the base-devel group?
yes, I have installed it at the time of install of Arch
"I am slacking because my code is compiling"
Offline
no problem building audit here, could you post full makepkg output ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
no problem building audit here, could you post full makepkg output ?
complete output for
makepkg
of audit is here: http://sprunge.us/XPDT
"I am slacking because my code is compiling"
Offline
makepkg
==> Making package: audit 2.4.4-1 (Fri 12 Feb 12:52:54 IST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading audit-2.4.4.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 980k 100 980k 0 0 27228 0 0:00:36 0:00:36 --:--:-- 28517
==> Validating source files with sha256sums...
audit-2.4.4.tar.gz ... Passed
==> Extracting sources...
-> Extracting audit-2.4.4.tar.gz with bsdtar
==> Starting build()...
Configuring auditd
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... Packages to keep:
All locally installed packages
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove all other packages from cache? [Y/n]
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] /usr/bin/install -c
there's nothing in the audit PKGBUILD that could trigger those questions from pacman.
Maybe you have an alias for makepkg ?
Try building with /usr/bin/makepkg to make sure you're using official makepkg .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Do you have the fakeroot package installed?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline