Source: mpich
Version: 4.0.1-1
Severity: important
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=mpich&arch=ppc64
...
checking for ucp/api/ucp.h... no
configure: error: --with-ucx is given but not found
This is due to the following in debian/rules:
UCX_ARCH:= amd64 ppc64el arm64
...
ifneq (,$(findstring $(DEB_HOST_ARCH),$(UCX_ARCH)))
DEVICE:= --with-device=ch4:ucx
UCX:= --with-ucx=/usr
#PMIX:= --with-pmix=/usr/lib/$(DEB_HOST_MULTIARCH)/pmix2
endif
The problem is that "ppc64" is a substring of "ppc64el".
"filter" instead of "findstring" fixes the problem.