This no longer builds, even in a clean chroot. Anyone still using it?
Search Criteria
Package Details: e4rat-lite-git 2.7.r90.ebf7d86-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/e4rat-lite-git.git (read-only, click to copy) |
---|---|
Package Base: | e4rat-lite-git |
Description: | An improved version of e4rat, a toolset to accelerate the boot process and application startups. |
Upstream URL: | https://github.com/LendyZhang/e4rat-lite |
Licenses: | GPL3 |
Conflicts: | e4rat-lite, e4rat-preload-lite, e4rat-preload-lite-git, ureadahead |
Submitter: | cubethethird |
Maintainer: | None |
Last Packager: | cubethethird |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2016-07-28 01:59 (UTC) |
Last Updated: | 2022-03-30 00:32 (UTC) |
Dependencies (9)
- audit
- boost-libs
- e2fsprogs (busybox-coreutilsAUR, e2fsprogs-gitAUR)
- gettext (gettext-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- perl (perl-gitAUR) (make)
- bootchart2AUR (optional) – A "startup" graphing tool
Required by (0)
Sources (4)
Erus_Iluvatar commented on 2024-09-27 09:58 (UTC)
cubethethird commented on 2023-02-02 01:38 (UTC)
I've taken another look at the patch I last added, and as far as I can tell it should be working, but I can't say for certain. We'd need to look at an output log from when it's running to get a better idea. I don't maintain the source, so it's difficult enough for me to figure out what would be the problem.
apnkpr commented on 2023-01-31 05:53 (UTC)
Hello from 2023! I have the same experience as @churro and @13905069 below. Compiles and runs fine, but doesn't write anything to the log file.
13905069 commented on 2022-05-21 18:44 (UTC) (edited on 2022-06-12 03:56 (UTC) by 13905069)
Also,it doesn't write anything to startup.log.I add "audit=1" to my kernel parameters and enable auditd service.I see it executes systemd when booting,but it seems exit after that (no error).I can't see its process after I enter desktop. These are my kernel parameters:
GRUB_CMDLINE_LINUX_DEFAULT="audit=1 init=/usr/sbin/e4rat-lite-collect loglevel=6 resume=UUID=2d870469-0638-43c2-9e9e-165ffff73608"
churro commented on 2022-04-30 02:27 (UTC)
This isn't working for me, it compiles, installs, and runs... but it doesn't actually create the log after collecting data, nor does it append to it after I created the file myself. After closing the process using -k --verbose I could see the likely culprit - it's excluding every file it's detecting for some reason:
Generating exclude file list ... 1608 open files 0 parsed from /var/lib/e4rat-lite/startup.log Total number of excluded files: 1608
So I figure because it's excluding everything, it does nothing. Is this happening to anyone else?
cubethethird commented on 2022-03-07 18:28 (UTC)
I have applied the fix as a patch. I am however not currently able to test and verify that the package still functions correctly, only that it builds correctly.
jamestansx commented on 2022-03-07 03:57 (UTC)
I think the build error is caused by this function in listener.cc
:
void addSyscall(struct audit_rule_data* rule, const char* sc, int machine)
{
int syscall_nr;
syscall_nr = audit_name_to_syscall(sc, machine);
if(syscall_nr == -1)
throw std::logic_error(_("Cannot convert syscall to number"));
audit_rule_syscall_data(rule, syscall_nr);
}
It seems that audit_rule_syscall_data
is not available but using audit_rule_syscallbyname_data
(ref).
This seems to fix the problem:
void addSyscall(struct audit_rule_data* rule, const char* sc, int machine)
{
audit_rule_syscallbyname_data(rule, sc);
}
cdison commented on 2022-02-20 16:04 (UTC)
I'm having the same problem building as simona.
/home/cdison/git/e4rat-lite-git/src/e4rat-lite/src/listener.cc: In function ‘void addSyscall(audit_rule_data*, const char*, int)’:
/home/cdison/git/e4rat-lite-git/src/e4rat-lite/src/listener.cc:161:5: error: ‘audit_rule_syscall_data’ was not declared in this scope; did you mean ‘audit_rule_syscallbyname_data’?
161 | audit_rule_syscall_data(rule, syscall_nr);
| ^~~~~~~~~~~~~~~~~~~~~~~
| audit_rule_syscallbyname_data
make[2]: *** [src/CMakeFiles/e4rat-lite-collect.dir/build.make:104: src/CMakeFiles/e4rat-lite-collect.dir/listener.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:167: src/CMakeFiles/e4rat-lite-collect.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
simona commented on 2022-02-18 10:01 (UTC)
/home/simona/.cache/yay/e4rat-lite-git/src/e4rat-lite/src/listener.cc: In function ‘void addSyscall(audit_rule_data, constchar, int)’:
/home/simona/.cache/yay/e4rat-lite-git/src/e4rat-lite/src/listener.cc:161:5: error: ‘audit_rule_syscall_data’ was not declared in this scope; did you mean ‘audit_rule_syscallbyname_data’?
161 | audit_rule_syscall_data(rule, syscall_nr);
| ^~~~~~~~~~~~~~~~~~~~~~~
| audit_rule_syscallbyname_data
make[2]: *** [src/CMakeFiles/e4rat-lite-collect.dir/build.make:104: src/CMakeFiles/e4rat-lite-collect.dir/listener.cc.o] Errore 1
cubethethird commented on 2021-08-17 03:39 (UTC)
It would appear the upstream source has been updated, and from my testing has corrected the build errors. If any new issues crop up, feel free to comment here, however it would be wise to also notify on upstream github.
Pinned Comments
cubethethird commented on 2016-09-13 01:51 (UTC)