[Buildroot] [PATCH 1/1] package/libarchive: fix per-package build

Fabrice Fontaine fontaine.fabrice at gmail.com
Mon Feb 20 09:46:53 UTC 2023


Fix the following per-package build failure raised since commit
9525bc7e64e8f44c31ab9dfd3f516ecb35982429:

configure.ac:140: error: possibly undefined macro: AC_MSG_FAILURE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:328: error: possibly undefined macro: AC_CHECK_LIB

Fixes:
 - http://autobuild.buildroot.org/results/11868e9bc4916843a7fc76f7b5e4c251f89e33dc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/libarchive/libarchive.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk
index cd7c13fbed..2010b6529f 100644
--- a/package/libarchive/libarchive.mk
+++ b/package/libarchive/libarchive.mk
@@ -140,6 +140,8 @@ endif
 
 # The only user of host-libarchive needs zlib support
 HOST_LIBARCHIVE_DEPENDENCIES = host-zlib
+# needed for autoreconf
+HOST_LIBARCHIVE_DEPENDENCIES += host-pkgconf
 HOST_LIBARCHIVE_CONF_OPTS = \
 	--disable-bsdtar \
 	--disable-bsdcpio \
-- 
2.39.0




More information about the buildroot mailing list