Bug#1032008: mpich FTBFS on ppc64
Adrian Bunk
bunk at debian.org
Sun Feb 26 14:00:12 GMT 2023
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.
More information about the debian-science-maintainers
mailing list