GNU bug report logs - #41827
lib2geom fails tests on i686-linux

Previous Next

Package: guix;

Reported by: Marius Bakke <marius <at> gnu.org>

Date: Fri, 12 Jun 2020 12:31:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 41827 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Marius Bakke <marius <at> gnu.org>
Cc: 41827 <at> debbugs.gnu.org
Subject: Re: bug#41827: lib2geom fails tests on i686-linux
Date: Sun, 14 Jun 2020 15:19:52 -0400
Hello Marius,

Marius Bakke <marius <at> gnu.org> writes:

> Marius Bakke <marius <at> gnu.org> writes:
>
>> lib2geom fails several tests on i686-linux:
>>
>> https://ci.guix.gnu.org/log/h3d9i8jqygnc3qvcd83c678kzmr5p4b7-lib2geom-1.0-1.42e119d
>>
>> This is a dependency of Inkscape 1.0.
>
> The same tests also fail on aarch64-linux:
>
> https://ci.guix.gnu.org/log/rq7d8y0b8cv7ils7wd3fq97br8j3d4xz-lib2geom-1.0-1.42e119d
>
> armhf-linux and x86_64-linux seems fine.

I had a quick look of the output, and it seems the failures are due to
comparison of inexact numbers.  A quick idea would be to make sure that
the test suite is making use of Googletest's floating point comparison
macros, which are designed to handle variations on floats [0].

If that's the flaw, we sould implement a patch and contribute it to
upstream.

Maxim




This bug report was last modified 5 years and 24 days ago.

Previous Next


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