Re: Bug#959845: librsvg: FTBFS on mips*el: transform::tests::parses_transform_list, transform::tests::parses_valid_transform: assertion failed: t1.y0.approx_eq(t2.y0, (epsilon, 1))

Simon McVittie <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
Control: forwarded -1 https://gitlab.gnome.org/GNOME/librsvg/-/issues/580
Control: found -1 2.48.2-1

On Wed, 06 May 2020 at 08:54:04 +0100, Simon McVittie wrote:
> > failures:
> >
> > ---- transform::tests::parses_transform_list stdout ----
> > thread 'transform::tests::parses_transform_list' panicked at 'assertion failed: t1.y0.approx_eq(t2.y0, (epsilon, 1))', rsvg_internals/src/transform.rs:398:9
> >
> > ---- transform::tests::parses_valid_transform stdout ----
> > thread 'transform::tests::parses_valid_transform' panicked at 'assertion failed: t1.y0.approx_eq(t2.y0, (epsilon, 1))', rsvg_internals/src/transform.rs:398:9
> >
> >
> > failures:
> >     transform::tests::parses_transform_list
> >     transform::tests::parses_valid_transform
> >
> > test result: FAILED. 172 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out

This seems to be either intermittent or machine-dependent: when retried
on a different machine, the tests often pass.

There seems to be a strong correlation where this test passes on a Rhino
Labs UTM8 but fails on a Loongson 3A. Are there known issues with
Loongson 3A hardware, or is there different FPU behaviour, or something?

Good:
2.48.0-1, mips64el, mipsel-aql-03 (Rhino Labs UTM8)
2.48.0-2, mipsel, mipsel-osuosl-02 (Rhino Labs UTM8)
2.48.2-1, mips64el, mipsel-aql-03 (Rhino Labs UTM8)
2.48.2-1, mipsel, mipsel-sil-01 (Rhino Labs UTM8)
2.48.3-1, mips64el, mipsel-osuosl-01 (Rhino Labs UTM8)
2.48.3-1, mipsel, mipsel-manda-03 (Rhino Labs UTM8)

Bad:
2.48.0-2, mips64el, mipsel-manda-01 (Lemote 3A ITX-A1101 (Quad Core Loongson 3A))
2.48.2-1, mipsel, mipsel-aql-01 (LS3A-RS780-1w (Quad Core Loongson 3A))
2.48.3-1, mipsel, eberlin (LS3A-RS780-1w (Quad Core Loongson 3A))
2.48.4-1, mipsel, mipsel-aql-02 (LS3A-RS780-1w (Quad Core Loongson 3A))
2.48.4-1, mips64el, eberlin (LS3A-RS780-1w (Quad Core Loongson 3A))

Regards,
    smcv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.