From 130931fdd0a5238d9481d85d1a52d24bde764b44 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 15 Oct 2019 18:58:01 +0200 Subject: [PATCH] common/build_dependencies.sh: don't ignore subpkgs in host while cross compiling, this falls (obviously) apart if it is missing. See e.g. https://build.voidlinux.org/builders/aarch64-musl_builder/builds/22678/steps/shell_3/logs/stdio --- common/xbps-src/shutils/build_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/build_dependencies.sh b/common/xbps-src/shutils/build_dependencies.sh index 6d9d727e0d3..f54b7ae4f5a 100644 --- a/common/xbps-src/shutils/build_dependencies.sh +++ b/common/xbps-src/shutils/build_dependencies.sh @@ -169,7 +169,7 @@ install_pkg_deps() { break fi done - if [[ $found -eq 1 ]]; then + if [[ $found -eq 1 ]] && [[ -z "$cross" ]] ; then echo " [host] ${_vpkg}: not found (subpkg, ignored)" else echo " [host] ${_vpkg}: not found"