Inkscape geom-pathstroke test fails on many architectures
inkscape 1.4 is blocked in Debian experimental because of test failures on various arch: https://buildd.debian.org/status/package.php?p=inkscape&suite=experimental
I've tried it on arm64, and I get:
Start 36: test_geom-pathstroke
1/1 Test #36: test_geom-pathstroke .............***Failed 0.22 sec
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from GeomPathstrokeTest
[ RUN ] GeomPathstrokeTest.BoundedHausdorffDistance
** (process:1211874): WARNING **: 19:19:57.890: Failed to wrap object of type 'PangoFT2FontMap'. Hint: this error is commonly caused by failing to call a library init() function.
./testfiles/src/geom-pathstroke-test.cpp:77: Failure
Expected: (error) <= (tolerance), actual: 0.30249962611033737 vs 0.1
Hausdorff distance above tolerance in test case #7
actual d M 11.19,29.82 C 11.43,30.06 11.64,30.27 11.83,30.46 C 12.01,30.64 12.16,30.78 12.29,30.91 C 13.35,31.94 11.36,29.4 7.058,30.12 C 6.58,30.2 6.146,30.32 5.778,30.45 C 5.273,30.63 4.893,30.82 4.624,30.97 C 4.325,31.14 4.158,31.27 4.079,31.33 C 3.992,31.39 4.011,31.38 4.098,31.31 C 4.2,31.22 4.359,31.07 4.613,30.82 C 4.894,30.54 5.191,30.25 5.616,29.82
expected d M 11.19,29.82 C 11.62,30.25 11.91,30.54 12.2,30.82 C 12.45,31.07 12.61,31.22 12.71,31.31 C 12.8,31.38 12.82,31.39 12.73,31.33 C 12.65,31.27 12.48,31.14 12.18,30.97 C 11.92,30.82 11.54,30.63 11.03,30.45 C 10.66,30.32 10.23,30.2 9.751,30.12 C 5.451,29.4 3.457,31.94 4.519,30.91 C 4.652,30.78 4.8,30.64 4.975,30.46 C 5.168,30.27 5.376,30.06 5.616,29.82
the test code is here: https://gitlab.com/inkscape/inkscape/-/blob/master/testfiles/src/geom-pathstroke-test.cpp?ref_type=heads
I'm building against lib2geom 1.4.0 from experimental, gcc is: gcc version 14.2.0 (Debian 14.2.0-11), The same tests fails with the embedded lib2geom.
Edited by Gianluigi Tiesi