Package Details: earlyoom 1.3-1

Git Clone URL: (read-only)
Package Base: earlyoom
Description: Early OOM Daemon for Linux
Upstream URL:
Licenses: MIT
Submitter: FlorianJacob
Maintainer: Jake
Last Packager: Jake
Votes: 45
Popularity: 3.480621
First Submitted: 2016-04-15 15:13
Last Updated: 2019-06-16 11:49

Dependencies (0)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

Jake commented on 2019-06-09 10:59

Yes, i have it updated now. Sorry for the delay.

push_sla commented on 2019-06-08 09:40

Hi! Could you please update this package for the 1.3 version? There are very important fixes in this version

Jake commented on 2018-12-26 12:02

Thank you, FlorianJacob. Yes, optdepends is also not optimal, i decided for B) now and pushed the changes.

FlorianJacob commented on 2018-12-12 01:19

@Jake sounds like sensible plans and ideas. Strictly, A) would need something like an "optmakedepends", wouldn't it, as the package won't generate manpages at runtime when pandoc is installed later, and pandoc is only required during build. This is why I added it to makedepends, but I guess the other options are fine as well.

This is actually my last post from ArchLinux, signing off for NixOS. Goodbye, and happy OOMkilling!

Jake commented on 2018-11-25 21:57

@FlorianJacob: I looked through the Makefile and the manpage generation gets already skipped if no pandoc executable is found. The man pages should also be installed with make install, i tested it and it works fine here, so this manual install call is probably not needed anymore. Some possible solutions for the dependencies:
A: Put pandoc in optdepends and just let it skip the manpage if it is not installed
B: Generate the manpage as maintainer a single time and put it into the repo/sources so everyone can install it without the large makedepends
(C: Use the split package feature and specify two packages earlyoom and earlyoom-man, where the man part only does make earlyoom.1 + make install-man, which depends on pandoc. But this does not really help... makedepends can still only be global, so it would be just a more complicated version of A)

Option A is fine i think, the manpage does not add much info to the output of earlyoom -h so it is not really required in my opinion.

BTW: Instead of defining additional env variables (which could conflict with the makepkg internal ones) it is usually done like make install DESTDIR="${pkgdir}" PREFIX="/usr" SYSTEMDDIR="/usr/lib/systemd". I am happy to help if you add me co-maintainer.

sirocco commented on 2018-11-06 01:58


Comment out two lines in PKGBUILD

The package will be without man

    install -Dm644 earlyoom.1.gz "${DESTDIR}${PREFIX}/share/man/man1/earlyoom.1.gz"

FlorianJacob commented on 2018-11-05 14:41

@Best you can remove them after installation, they're only build time dependencies. Stuff like yaourt should automatically suggest that after building, afaik.

There might be a way to only build the man page if pandoc is installed, but that's beyond my PKGBUILD knowledge. Co-Maintainers welcome.

Best commented on 2018-11-04 22:24

ehh.. It now ask for installing 100 packages. Is it possible to come up with another solution?

FlorianJacob commented on 2018-11-04 20:58

@zfkerr thanks, should be fixed now, pandoc is now included in makepends.

zfkerr commented on 2018-11-04 20:34

@FlorianJacob , a bug is here:

==> Entering fakeroot environment...
==> Starting package()...
make: the '-j' option requires a positive integer argument
sed "s|:TARGET:|/usr/bin|g;s|:SYSCONFDIR:|/etc|g" > earlyoom.service
install -d /tmp/yaourt-tmp-user/aur-earlyoom/pkg/earlyoom/usr/bin/
install -m 755 earlyoom /tmp/yaourt-tmp-user/aur-earlyoom/pkg/earlyoom/usr/bin/
pandoc is not installed, skipping earlyoom.1 manpage generation
install -d /tmp/yaourt-tmp-user/aur-earlyoom/pkg/earlyoom/etc/default/
install -m 644 earlyoom.default /tmp/yaourt-tmp-user/aur-earlyoom/pkg/earlyoom/etc/default/earlyoom
install -d /tmp/yaourt-tmp-user/aur-earlyoom/pkg/earlyoom/etc/systemd/system
install -m 644 earlyoom.service /tmp/yaourt-tmp-user/aur-earlyoom/pkg/earlyoom/etc/systemd/system
systemctl enable earlyoom
Failed to enable unit: Access denied
make: [Makefile:35: install] Error 1 (ignored)
install: cannot stat 'earlyoom.1.gz': No such file or directory
==> ERROR: A failure occurred in package().