Created attachment 878673 [details] build log Hi, Recently i was toying with netdata a bit and tried to install it on some of my VMs. From what i was understanding, "child" installations doesn't need any local db, which is why i was trying to install netdata with USE="-dbengine" set. Unfortunately this fails with following error: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DVARLIB_DIR="\"/var/lib/netdata\"" -DCACHE_DIR="\"/var/cache/netdata\"" -DCONFIG_DIR="\"/etc/netdata\"" -DLIBCONFIG_DIR="\"/usr/lib64/netdata/conf.d\"" -DLOG_DIR="\"/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/var/run/netdata\"" -DWEB_DIR="\"/usr/share/netdata/web\"" -I/usr/include/uuid -lcap -O2 -pipe -fexceptions -flto -I/usr/include/uuid -I /var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/libnetdata/libjudy/src -DDLIB_NO_GUI_SUPPORT -I /var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/ml/dlib -Wno-unused-result -Wno-misleading-indentation -Wno-format-security -Wno-format -Wno-unused-function -Wno-unused-parameter -Wno-type-limits -Wno-unused-but-set-variable -Wno-implicit-fallthrough -I/var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/web/server/h2o/libh2o/include -I/var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/web/server/h2o/libh2o/deps/picotls/include -I/var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/web/server/h2o/libh2o/deps/quicly/include -DH2O_USE_LIBUV=0 -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -c -o daemon/unit_test.o daemon/unit_test.c daemon/global_statistics.c: In function ‘global_statistics_charts’: daemon/global_statistics.c:860:9: error: ‘tier_page_type’ undeclared (first use in this function) 860 | if (tier_page_type[0] == PAGE_GORILLA_METRICS) | ^~~~~~~~~~~~~~ daemon/global_statistics.c:860:9: note: each undeclared identifier is reported only once for each function it appears in daemon/global_statistics.c:860:30: error: ‘PAGE_GORILLA_METRICS’ undeclared (first use in this function) 860 | if (tier_page_type[0] == PAGE_GORILLA_METRICS) | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DVARLIB_DIR="\"/var/lib/netdata\"" -DCACHE_DIR="\"/var/cache/netdata\"" -DCONFIG_DIR="\"/etc/netdata\"" -DLIBCONFIG_DIR="\"/usr/lib64/netdata/conf.d\"" -DLOG_DIR="\"/var/log/netdata\"" -DPLUGINS_DIR="\"/usr/libexec/netdata/plugins.d\"" -DRUN_DIR="\"/var/run/netdata\"" -DWEB_DIR="\"/usr/share/netdata/web\"" -I/usr/include/uuid -lcap -O2 -pipe -fexceptions -flto -I/usr/include/uuid -I /var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/libnetdata/libjudy/src -DDLIB_NO_GUI_SUPPORT -I /var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/ml/dlib -Wno-unused-result -Wno-misleading-indentation -Wno-format-security -Wno-format -Wno-unused-function -Wno-unused-parameter -Wno-type-limits -Wno-unused-but-set-variable -Wno-implicit-fallthrough -I/var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/web/server/h2o/libh2o/include -I/var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/web/server/h2o/libh2o/deps/picotls/include -I/var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/web/server/h2o/libh2o/deps/quicly/include -DH2O_USE_LIBUV=0 -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -c -o web/api/badges/web_buffer_svg.o web/api/badges/web_buffer_svg.c This exact same error happend on multiple vms.
And here is the fix from upstream for this issue: https://github.com/netdata/netdata/commit/ee6c0bcb7f0bfe6440dd7c4c52dca87486abc181.patch WFM. Please, apply.
Thank you!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e7c16c506d4d2f59ffc6a82fc5f0b279bf5619 commit a9e7c16c506d4d2f59ffc6a82fc5f0b279bf5619 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2024-01-02 15:00:37 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2024-01-02 15:00:37 +0000 net-analyzer/netdata: fix build failure when USE="-dbengine" Closes: https://bugs.gentoo.org/919712 Signed-off-by: Craig Andrews <candrews@gentoo.org> .../netdata/files/netdata-1.44.0-dbengine.patch | 47 ++++++++++++++++++++++ net-analyzer/netdata/netdata-1.44.0.ebuild | 6 ++- 2 files changed, 52 insertions(+), 1 deletion(-)