Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
2014q1
-
None
-
-
2021wk04
Description
As observed in e.g. https://testresults.qt.io/coin/api/results/qt/qtbase/1fb8d3ab1abac801548b02bc77d9f7886a0382ad/LinuxUbuntu_20_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-20.04-x86_64-50-cc16ecInsignificant_Sccache/4476d861b36a267b17b375146361ba46a8460467/test_1603891852/log.txt.gz the tst_qfont::defaultFamily() (and probably others) test is failing on QEMU arm setup.
As can be seen from the log, the following errors are emitted from the test:
agent:2020/10/28 13:52:50 build.go:379: 303: Fontconfig warning: "/home/qt/qemu_fonts/fonts.qemu.conf", line 5: unknown element "its:rules" agent:2020/10/28 13:52:50 build.go:379: 303: Fontconfig warning: "/home/qt/qemu_fonts/fonts.qemu.conf", line 6: unknown element "its:translateRule" agent:2020/10/28 13:52:50 build.go:379: 303: Fontconfig error: "/home/qt/qemu_fonts/fonts.qemu.conf", line 6: invalid attribute 'translate' agent:2020/10/28 13:52:50 build.go:379: 303: Fontconfig error: "/home/qt/qemu_fonts/fonts.qemu.conf", line 6: invalid attribute 'selector' agent:2020/10/28 13:52:50 build.go:379: 303: Fontconfig error: "/home/qt/qemu_fonts/fonts.qemu.conf", line 7: invalid attribute 'xmlns:its' agent:2020/10/28 13:52:50 build.go:379: 303: Fontconfig error: "/home/qt/qemu_fonts/fonts.qemu.conf", line 7: invalid attribute 'version' agent:2020/10/28 13:52:50 build.go:379: 303: Fontconfig warning: "/home/qt/qemu_fonts/fonts.qemu.conf", line 9: unknown element "description" ...
Looking at the fonts.qemu.conf file in the given location, it seems to have been copied from the host. But on the host, the FontConfig version is 2.13, whereas the one in the sysroot is 2.12, as can be seen here: https://testresults.qt.io/coin/api/results/qt/qtbase/1fb8d3ab1abac801548b02bc77d9f7886a0382ad/LinuxUbuntu_20_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-20.04-x86_64-50-cc16ecInsignificant_Sccache/4476d861b36a267b17b375146361ba46a8460467/build_1603451763/log.txt.gz
agent:2020/10/23 13:52:56 build.go:379: -- Found Fontconfig: /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/lib/libfontconfig.so (found version "2.12.6")
This mismatch is the likely reason for the failures.
Attachments
Issue Links
- relates to
-
QTBUG-88215 30 failed tests inside tst_basic; tst_controls::Basic::Dialog QEMU
- Closed
-
QTBUG-86238 Qt6 embedded linux testing with QEMU
- Closed
- mentioned in
-
Page Loading...