Bug#1032008: mpich FTBFS on ppc64

Adrian Bunk bunk at debian.org
Tue Feb 13 10:17:58 GMT 2024


On Sun, Feb 26, 2023 at 04:00:12PM +0200, Adrian Bunk wrote:
> 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.

Alastair, could you include this change in the next upload?

Thanks
Adrian



More information about the debian-science-maintainers mailing list