You are not logged in.

#1 2019-01-29 15:39:53

readdeo
Member
Registered: 2017-12-16
Posts: 21

Rebuild audit for E4rat

Hi!

I can't find how to rebuild audit for E4rat as it is mentioned in the wiki.
It says: you must first rebuild audit from the ABS with staticlibs option explicitly enabled.

I'm not really sure what am i looking for. Should i use makepkg with --staticlibs=enabled? Please point me to the right direction with some resources about the rebuilding.

Thank you an advance!

Offline

#2 2019-01-29 15:43:07

loqs
Member
Registered: 2014-03-06
Posts: 19,104

Re: Rebuild audit for E4rat

Offline

#3 2019-01-29 15:48:32

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Offline

#4 2019-01-29 16:58:39

readdeo
Member
Registered: 2017-12-16
Posts: 21

Re: Rebuild audit for E4rat

Thank you! I am close now. I have conflicting packages. I got this error below. As i found out, i should remove audit before rebuilding? It would break dependency for dbus, NetworkManager and systemd. The pacman page of the wiki doesnt have any other solution. Is there any other way?

==> Installing audit package group with pacman -U...
loading packages...
warning: audit-2.8.4-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (3) audit-2.8.4-2  python-audit-2.8.4-2  python2-audit-2.8.4-2

Total Installed Size:  2.38 MiB
Net Upgrade Size:      1.35 MiB

:: Proceed with installation? [Y/n] y
(3/3) checking keys in keyring                                                                                               [###########################################################################] 100%
(3/3) checking package integrity                                                                                             [###########################################################################] 100%
(3/3) loading package files                                                                                                  [###########################################################################] 100%
(3/3) checking for file conflicts                                                                                            [###########################################################################] 100%
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

#5 2019-01-29 17:32:58

loqs
Member
Registered: 2014-03-06
Posts: 19,104

Re: Rebuild audit for E4rat

/usr/lib/golang/src/pkg/redhat.com/audit/audit.go

Should not be in any of the packages.  I suspect it could be an issue with not building in a clean chroot.
If you install devtools then run `extra-x86_64-build` instead of `makepkg -si` does the produced audit package still contain that file?

Last edited by loqs (2019-01-29 17:33:12)

Offline

Board footer

Powered by FluxBB