[Buildroot] [git commit branch/2025.05.x] package/sysprof: disable debuginfod support
Titouan Christophe
titouan.christophe at mind.be
Tue Sep 30 09:10:37 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=1b3d08cd44d952fb5502c735a7709a0de6897593
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.05.x
This fixes building sysprof when elfutils is also selected (which is
a common setup). The debuginfod client support relies in elfutils
being built with the libdebuginfod option enabled; but Buildroot
unconditionally disables it in the elfutils package. See commit [1].
[1] https://gitlab.com/buildroot.org/buildroot/-/commit/52c5c6050c5359288ca48c85024aebd169fab258
Signed-off-by: Adrian Perez de Castro <aperez at igalia.com>
[Julien: add link to commit disabling debuginfod]
Signed-off-by: Julien Olivain <ju.o at free.fr>
(cherry picked from commit 8d01dfebd39e9e768503c8910f5933abc614be81)
Signed-off-by: Titouan Christophe <titouan.christophe at mind.be>
---
package/sysprof/sysprof.mk | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/package/sysprof/sysprof.mk b/package/sysprof/sysprof.mk
index abbddfb6e1..2670588ebb 100644
--- a/package/sysprof/sysprof.mk
+++ b/package/sysprof/sysprof.mk
@@ -12,6 +12,7 @@ SYSPROF_LICENSE = GPL-3.0+
SYSPROF_LICENSE_FILES = COPYING
SYSPROF_DEPENDENCIES = libglib2 libdex libunwind json-glib polkit
SYSPROF_CONF_OPTS = \
+ -Ddebuginfod=disabled \
-Ddevelopment=false \
-Dexamples=false \
-Dgtk=false \
@@ -22,13 +23,6 @@ SYSPROF_CONF_OPTS = \
-Dtools=true \
-Dsystemdunitdir=/usr/lib/systemd/system
-ifeq ($(BR2_PACKAGE_ELFUTILS),y)
-SYSPROF_DEPENDENCIES += elfutils
-SYSPROF_CONF_OPTS += -Ddebuginfod=enabled
-else
-SYSPROF_CONF_OPTS += -Ddebuginfod=disabled
-endif
-
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
SYSPROF_DEPENDENCIES += systemd
endif
More information about the buildroot
mailing list