GNU bug report logs - #62842
[PATCH 00/11] gnu: maths: dune-*: Update to version 2.9.0

Previous Next

Package: guix-patches;

Reported by: Felix Gruber <felgru <at> posteo.net>

Date: Fri, 14 Apr 2023 19:26:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Felix Gruber <felgru <at> posteo.net>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: 62842 <at> debbugs.gnu.org
Subject: [bug#62842] [PATCH 00/11] gnu: maths: dune-*: Update to version 2.9.0
Date: Tue,  2 May 2023 20:18:13 +0000
[Message part 1 (text/plain, inline)]
Hi Ludo’,

On 5/2/23 15:01, Ludovic Courtès wrote:
> Felix Gruber <felgru <at> posteo.net> skribis:
> 
>> This patchset updates all packages belonging to the Dune finite element
>> library to the latest release 2.9.0.
> 
> There’s one test failure on aarch64-linux:
> 
> --8<---------------cut here---------------start------------->8---
>   99/106 Test  #99: eigenvaluestest ........................Subprocess aborted***Exception:   1.24 sec
> Eigenvalues of Rosser matrix: (-1020.05,0) (0.0980486,0) (-1.05342e-14,0) (1020.05,0) (1020,0) (1019.9,0) (1000,0) (1000,0)
> Eigenvalues of Rosser matrix: (-1020.05,0) (0.0980486,0) (-1.05342e-14,0) (1020.05,0) (1020,0) (1019.9,0) (1000,0) (1000,0)
> Eigenvalues of Rosser matrix: (-1020.05,0) (0.0980486,0) (-1.05342e-14,0) (1020.05,0) (1020,0) (1019.9,0) (1000,0) (1000,0)
> terminate called after throwing an instance of 'Dune::MathError'
>    what():  MathError [testSymmetricFieldMatrix:/tmp/guix-build-dune-common-2.9.0.drv-0/dune-common-2.9.0/dune/common/test/eigenvaluestest.cc:143]: Vector computed by FMatrixHelp::eigenValuesVectors is not an eigenvector
> 
> […]
> The following tests FAILED:
> 	 99 - eigenvaluestest (Subprocess aborted)
> Errors while running CTest
> make: *** [Makefile:74: test] Error 8
> --8<---------------cut here---------------end--------------->8---
> 
>  From <https://ci.guix.gnu.org/build/1228281/details>.
> 
> Could you take a look and/or report it upstream?

Thanks for letting me know. I've looked into upstream issues/fixes for 
this problem and it seems that these aarch64 test failures are a known 
issue [1]. This bugreport mentions build failures in dune-common's 
Debian package, which nowadays seems to be patched to disable the 
failing tests [2].

[1]: https://gitlab.dune-project.org/core/dune-common/-/issues/262
[2]: 
https://sources.debian.org/src/dune-common/2.9.0-2/debian/patches/disable-long-double-eigenvalue-checks.patch/

I've prepared a patch to apply Debian's patch for disabling the failing 
tests to our dune-common package. You can find it attached to this 
email. Can you test if it fixes the aarch64-linux builds (I don't have 
access to an aarch64 machine)?
I hope that this would also fix the build failures for the other dune-* 
packages on aarch64-linux, which are currently all failing because they 
depend on the broken dune-common package.

Kind regards,
Felix
[0001-gnu-dune-common-Fix-build-on-aarch64-linux.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 71 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.