Multiple unnitests fail depending on architecture and Linux version
<!--
See our full bug reporting guidelines at https://inkscape.org/contribute/report-bugs/
Writing a good bug report will ensure we'll be able to help efficiently. 🙂
-->
#### Summary:
<!-- Summarize the issue/suggestion concisely: -->
... build in local OK. but not pass some unnitest
#### Steps to reproduce:
<!-- Describe what you did (step-by-step) so we can reproduce: -->
- clone the repo and configure cmake to start build
- buid the project and see is builded ok
- start the unittest with `make check` and wait the summary
#### What happened?
some unittest failed
#### What should have happened?
pass all unittest as OK
Sample attachments:
~~~
98% tests passed, 8 tests failed out of 359
Total Test time (real) = 179.40 sec
The following tests did not run:
57 - cli_export-type_emf_check_output (Skipped)
71 - cli_export-area-page_emf_check_output (Skipped)
221 - cli_export-ignore-filters_emf_check_output (Skipped)
255 - cli_export-extension_emf_check_output (Skipped)
The following tests FAILED:
11 - test_path-boolop (Failed)
31 - test_lpe64 (Failed)
241 - cli_export-png-color-mode-gray-8_png_check_output (Failed)
348 - render_test-use (Failed)
353 - render_test-glyph-y-pos (Failed)
354 - render_text-glyphs-combining (Failed)
355 - render_text-glyphs-vertical (Failed)
358 - render_test-rtl-vertical (Failed)
Errors while running CTest
~~~
#### Version info
87cc9e16c46451c5801d05ad56dc2a26d0e7ee1b
<!--
Open 'Help > About' and click on the little bug icon in the bottom right corner that copies the debug information to your clipboard. For command line users, run 'inkscape --debug-info'.
For Inkscape 1.0.2 and older, please manually add the Inkscape Version and Operating System Version. The Inkscape version is listed in the About dialog. For command line users, run 'inkscape -V'
Paste the information in the empty space between the apostrophes below:
-->
```
```
<!--
❤️ Thank you for filling in a new bug report, we appreciate the help! ❤️
Please be patient while we try to find the time to look into your issue.
Remember that Inkscape is developed by volunteers in their spare time, we'll try our best to respond to all reports.
-->
<!--
Please be careful when/after writing # for example in logs, code, or versions of linux
- use inline code span - single backticks (`) before and after it, like this - `inbox#1618`
- use multi-line code block - triple backticks (```) to fence/enclose console logs
- attach long logs as a text file.
-->
complete log [Testing.7z](/uploads/3422ea17fa255825312f99998a5e0f87/Testing.7z)
CMake configure:
~~~
------------------------------
Building Makefile for Inkscape
------------------------------
Source Dir: /tmp/makepkg/sl1-inkscape-git/src/inkscape
Binary Dir: /tmp/makepkg/sl1-inkscape-git/src/build
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Creating build files in: /tmp/makepkg/sl1-inkscape-git/src/build
-- Performing Test LIBATOMIC_NOT_NEEDED
-- Performing Test LIBATOMIC_NOT_NEEDED - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Checking for modules 'harfbuzz;pangocairo>=1.44;pangoft2;fontconfig;gsl;gmodule-2.0;libsoup-2.4>=2.42;bdw-gc;lcms2'
-- Found harfbuzz, version 4.1.0
-- Found pangocairo, version 1.50.6
-- Found pangoft2, version 1.50.6
-- Found fontconfig, version 2.13.96
-- Found gsl, version 2.7.1
-- Found gmodule-2.0, version 2.72.0
-- Found libsoup-2.4, version 2.74.2
-- Found bdw-gc, version 8.2.0
-- Found lcms2, version 2.13
-- Found DoubleConversion: /usr/lib/libdouble-conversion.so
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: built in to C library
-- Found Intl: built in to C library
-- Checking for module 'poppler'
-- Found poppler, version 22.03.0
-- Found poppler: /usr/lib/libpoppler.so
-- Checking for module 'poppler-glib'
-- Found poppler-glib, version 22.03.0
-- Found poppler-glib: /usr/lib/libpoppler-glib.so
-- Checking for module 'cairo-svg'
-- Found cairo-svg, version 1.17.6
-- Found cairo-svg: /usr/lib/libcairo.so
-- Checking for module 'poppler-cairo'
-- Package 'poppler-cairo', required by 'virtual:world', not found
-- Found poppler-cairo: /usr/lib/libcairo.so
-- Checking for modules 'libwpg-0.3;librevenge-0.0;librevenge-stream-0.0'
-- Found libwpg-0.3, version 0.3.3
-- Found librevenge-0.0, version 0.0.4
-- Found librevenge-stream-0.0, version 0.0.4
-- Checking for modules 'libvisio-0.1;librevenge-0.0;librevenge-stream-0.0'
-- Found libvisio-0.1, version 0.1.7
-- Found librevenge-0.0, version 0.0.4
-- Found librevenge-stream-0.0, version 0.0.4
-- Checking for modules 'libcdr-0.1;librevenge-0.0;librevenge-stream-0.0'
-- Found libcdr-0.1, version 0.1.7
-- Found librevenge-0.0, version 0.0.4
-- Found librevenge-stream-0.0, version 0.0.4
-- Found JPEG: /usr/lib/libjpeg.so (found version "80")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.37")
-- Found Potrace: /usr/lib/libpotrace.so
-- Checking for modules 'gtkmm-3.0>=3.24;gdkmm-3.0>=3.24;gtk+-3.0>=3.24;gdk-3.0>=3.24'
-- Found gtkmm-3.0, version 3.24.5
-- Found gdkmm-3.0, version 3.24.5
-- Found gtk+-3.0, version 3.24.33
-- Found gdk-3.0, version 3.24.33
-- Checking for module 'gspell-1'
-- Found gspell-1, version 1.8.4
-- Using gspell
-- Found Boost: /usr/lib64/cmake/Boost-1.78.0/BoostConfig.cmake (found suitable version "1.78.0", minimum required is "1.19.0") found components: filesystem
-- Found LibXslt: /usr/lib/libxslt.so (found version "1.1.35")
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.13")
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Checking for module 'readline'
-- Found readline, version 8.1
-- Found GNU Readline:
-- Checking for module 'ImageMagick++<=7'
-- Package 'ImageMagick++', required by 'virtual:world', not found
-- Checking for module 'GraphicsMagick++'
-- Found GraphicsMagick++, version 1.3.37
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Found gettext + msgfmt to convert language files. Translation enabled
-- Found xgettext. inkscape.pot will be re-created if missing.
-- Checking for module 'sigc++-2.0'
-- Found sigc++-2.0, version 2.10.8
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Creating build files in: /tmp/makepkg/sl1-inkscape-git/src/build
-- Looking for include file ieeefp.h
-- Looking for include file ieeefp.h - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for mallinfo2
-- Looking for mallinfo2 - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Performing Test HAVE_STRUCT_MALLINFO_FORDBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_FORDBLKS - Success
-- Performing Test HAVE_STRUCT_MALLINFO_FSMBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_FSMBLKS - Success
-- Performing Test HAVE_STRUCT_MALLINFO_HBLKHD
-- Performing Test HAVE_STRUCT_MALLINFO_HBLKHD - Success
-- Performing Test HAVE_STRUCT_MALLINFO_UORDBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_UORDBLKS - Success
-- Performing Test HAVE_STRUCT_MALLINFO_USMBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_USMBLKS - Success
-- Looking for sincos
-- Looking for sincos - found
-- Generating header and sourcefiles from sp-marshal.list (Glib-Marshal)
INFO: Reading /tmp/makepkg/sl1-inkscape-git/src/inkscape/src/helper/sp-marshal.list...
INFO: Reading /tmp/makepkg/sl1-inkscape-git/src/inkscape/src/helper/sp-marshal.list...
-- sp-marshal.h changed; overwriting
-- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.11.0")
-- Creating link '/tmp/makepkg/sl1-inkscape-git/src/build/inkscape_datadir/inkscape' --> '/tmp/makepkg/sl1-inkscape-git/src/inkscape/share'
INKSCAPE_DIST_PREFIX: inkscape-1.2-alpha1_2022-03-24_87cc9e16c4
------------------------------------------------------------------------
Configuration Summary
------------------------------------------------------------------------
PROJECT_NAME: inkscape
INKSCAPE_VERSION: 1.2-alpha1
INKSCAPE_DIST_PREFIX: inkscape-1.2-alpha1_2022-03-24_87cc9e16c4
CMAKE_BINARY_DIR: /tmp/makepkg/sl1-inkscape-git/src/build
CMAKE_INSTALL_PREFIX: /usr
CMAKE_INSTALL_LIBDIR: lib
PACKAGE_LOCALE_DIR share/locale
CMAKE_SYSTEM_NAME: Linux
CMAKE_SYSTEM_VERSION: 5.16.13-arch1-1
CMAKE_SYSTEM_PROCESSOR: x86_64
CMAKE_C_COMPILER: /usr/bin/cc
CMAKE_CXX_COMPILER: /usr/bin/c++
CMAKE_BUILD_TYPE: Release
ENABLE_LCMS: ON
ENABLE_POPPLER: ON
ENABLE_POPPLER_CAIRO: ON
WITH_GNU_READLINE: ON
WITH_GSPELL: ON
WITH_IMAGE_MAGICK: OFF
WITH_GRAPHICS_MAGICK: ON
WITH_LIBCDR: ON
WITH_LIBVISIO: ON
WITH_LIBWPG: ON
WITH_NLS: ON
WITH_OPENMP: ON
WITH_JEMALLOC: OFF
WITH_INTERNAL_2GEOM: OFF
WITH_INTERNAL_CAIRO: OFF
WITH_X11: ON
WITH_PROFILING: OFF
BUILD_TESTING: ON
------------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/makepkg/sl1-inkscape-git/src/build
~~~
issue