From 8d01dfebd39e9e768503c8910f5933abc614be81 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Tue, 23 Sep 2025 01:25:48 +0300 Subject: [PATCH] package/sysprof: disable debuginfod support 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 [Julien: add link to commit disabling debuginfod] Signed-off-by: Julien Olivain --- 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