From a2bfd4dc34d20e66c11ef56b1763e63bfe389028 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..26e24232ad8 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"