On Mon, Jan 02, 2023 at 10:57:35PM -0800, Steve Langasek wrote:
> Package: mlucas
> Version: 20.1.1-1
> Severity: serious
> Tags: patch
> Justification: FTBFS
> User: ubuntu-de...@lists.ubuntu.com
> Usertags: origin-ubuntu lunar ubuntu-patch
> 
> Hi Alex,
> 
> In addition to bug #1014547 causing mlucas to fail to build on all arm
> architectures, after working around this bug the package still fails to
> build on arm64 where it successfully built before.  This is because the
> arm64 SIMD implementation is known buggy with respect to the fermat number
> feature - there is an assert in the code that causes test/fermat-test to
> fail immediately:
> 
>   [...]
>   ERROR: at line 1150 of file upstream/src/Mlucas.c
>   Assertion failed: ARMv8 SIMD builds do not support Fermat-number testing!
>   [...]
> 
> (https://launchpad.net/ubuntu/+source/mlucas/20.1.1-1ubuntu1/+build/24577469)
> 
> The previous version of mlucas was removed from testing because it depends
> on python2 which has been removed, so the only options here are either to
> have the ftp team remove the arm64 binary, or to ignore the test failure.
> 
> In Ubuntu, I have done the latter by applying the attached patch.

I applied this patch but now I wonder:
if the SIMD binary does not work, surely we should remove it rather than not 
test it ?
Or at least run the other tests ? 

Cheers,
Bill.

Reply via email to