You are not logged in.

#1 2016-02-12 07:38:01

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

cannot install e4rat

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

#2 2016-02-12 08:40:16

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: cannot install e4rat

Please use code tags for posting output.

Moving to AUR issues.

Offline

#3 2016-02-12 08:43:35

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: cannot install e4rat

ltorvalds024 wrote:
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]

pkgshackscfgblag

Offline

#4 2016-02-12 13:31:34

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,848

Re: cannot install e4rat

- 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

#5 2016-02-12 16:10:44

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: cannot install e4rat

ayekat wrote:

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

#6 2016-02-13 14:26:07

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,848

Re: cannot install e4rat

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

#7 2016-02-14 08:35:56

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: cannot install e4rat

Lone_Wolf wrote:

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

#8 2016-02-14 14:31:01

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,848

Re: cannot install e4rat

 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

#9 2016-02-14 16:05:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,728

Re: cannot install e4rat

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

Board footer

Powered by FluxBB