[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#973981: elfutils FTCBFS: missing native dependencies for libdebuginfod



Source: elfutils
Version: 0.182-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

elfutils fails to cross build from source. It has two build passes, a
native one and a cross one. The native one misses dependencies for
libdebuginfod. As it turns out, we don't actually need a full
libdebuginfod nor a debuginfod in that native pass at all. elfutils
consinders this a bootstrap build and supports it via
--enable-libdebuginfod=dummy. That's what the attached patch passes.
Please consider applying it.

Helmut
diff --minimal -Nru elfutils-0.182/debian/changelog elfutils-0.182/debian/changelog
--- elfutils-0.182/debian/changelog	2020-11-07 10:22:37.000000000 +0100
+++ elfutils-0.182/debian/changelog	2020-11-08 15:38:00.000000000 +0100
@@ -1,3 +1,11 @@
+elfutils (0.182-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: perform bootstrap build with dummy libdebuginfod and without
+    debuginfod. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 08 Nov 2020 15:38:00 +0100
+
 elfutils (0.182-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru elfutils-0.182/debian/rules elfutils-0.182/debian/rules
--- elfutils-0.182/debian/rules	2020-11-07 10:22:37.000000000 +0100
+++ elfutils-0.182/debian/rules	2020-11-08 15:38:00.000000000 +0100
@@ -38,7 +38,8 @@
 	dh_autoreconf
 ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
 	./configure --enable-maintainer-mode \
-		--$(if $(filter pkg.elfutils.nodebuginfod,$(DEB_BUILD_PROFILES)),dis,en)able-debuginfod
+		--enable-libdebuginfod=dummy \
+		--disable-debuginfod
 	$(MAKE) $(MAKEFLAGS)
 	$(MAKE) clean
 endif

Reply to: