Bug#1050225: FTBFS: need relaxed tolerance on riscv64

Aurelien Jarno aurel32 at debian.org
Tue Aug 22 12:04:14 BST 2023


Source: hypre
Version: 2.28.0-6
Severity: important
Tags: patch ftbfs
User: debian-riscv at lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv at lists.debian.org

Dear maintainer,

hypre fails to build from source on riscv64 with error in the testsuite:
https://buildd.debian.org/status/fetch.php?pkg=hypre&arch=riscv64&ver=2.28.0-6&stamp=1691634845&raw=0

After investigation, it appears that riscv64 also needs to get the test
tolerance relaxed like on a few other architectures. I have tested that
this patch enables the testsuite to pass and the package to build
successfully:

--- hypre-2.28.0/debian/rules
+++ hypre-2.28.0/debian/rules
@@ -186,7 +186,7 @@
 
 # Standard tolerance 1e-6 is too tight on many arches
 # so relax them to 1e-3
-ARCH_RELAX_TOL_LIST = arm64 i386 ppc64el s390x hppa powerpc ppc64
+ARCH_RELAX_TOL_LIST = arm64 i386 ppc64el riscv64 s390x hppa powerpc ppc64
 
 ifneq (,$(findstring $(space)$(DEB_HOST_ARCH)$(space), $(space)$(ARCH_RELAX_TOL_LIST)$(space)))
   RELAX_TOL = HYPRE_CHECKPAR_TOL=1e-3


Would it be possible to include it in the next upload? Thanks in
advance.

Regards
Aurelien



More information about the debian-science-maintainers mailing list