FS#63667 - [netdata] enable DBEngine

Attached to Project: Community Packages
Opened by Ilya K (K900) - Thursday, 05 September 2019, 17:42 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 22 September 2019, 17:26 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: it would be nice to build netdata --with-dbengine - it's their new feature that allows netdata itself to store logs on disk, kind of like a real database.

Steps to reproduce:
Run netdata with

[global]
memory mode = dbengine

in /etc/netdata/netdata.conf

Observe crash.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 22 September 2019, 17:26 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Thursday, 05 September 2019, 18:03 GMT
Requires judy which was dropped to AUR as an orphan [1].

[1] https://lists.archlinux.org/pipermail/arch-dev-public/2018-January/029081.html

Edit:
If the build is switched to using cmake it will fail without judy present which might explain the coredump.
Comment by loqs (loqs) - Friday, 06 September 2019, 20:37 GMT
Attached modified PKGBUILD and diff from trunk.
Added depends judy and libuv to build dbengine.
Added depends json-c libcap lz4 which namcap detected as needed but not listed although they are dependencies of systemd so would be expected to be present on an arch install.
Specified a unique local name for the tarball incase of shared SRCDEST.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 22 September 2019, 01:30 GMT
Try the rel -2.
Comment by Ilya K (K900) - Sunday, 22 September 2019, 08:28 GMT
It works, thanks!

Loading...