test failures with new fonts-crosextra-carlito

Rene Engelhard rene at debian.org
Sun Jun 25 11:29:45 UTC 2023


Hi,

my beta1 (didn't try 7.5 yet) builds fail with a new verson of the 
fonts-crosextra-carlito fonts (used for Calibri). LibreOffice itself ships

$ grep carlito download.lst
FONT_CARLITO_TARBALL := 
c74b7223abe75949b4af367942d96c7a-crosextrafonts-carlito-20130920.tar.gz

and Debian contained

fonts-crosextra-carlito | 20220224-1    | stable       | source, all

until June 13 where

fonts-crosextra-carlito | 20230309-1    | testing      | source, all
fonts-crosextra-carlito | 20230309-1    | unstable     | source, all

appeared. Looking at its commits 
(https://github.com/googlefonts/carlito/commits/main) it seems that it's 
actually this change which causes it:

https://github.com/googlefonts/carlito/commit/a46ae30787d4a0c9817afd4056c0042fbcfbafd6

which incidetially says "Fixed name tables, inconsistency in v-metric 
(to match perfectly Calibri) and missing nbspace". So looks like 
actually a bugfix.

Anyways, this breaks some of sds import tests (I tried this in a actual 
beta1 "release" build, not on master - which worked before):

[build CUT] sd_import_tests2
S=/data/ssd/rene/libreoffice-7.6.0~beta1 && I=$S/instdir && W=$S/workdir 
&&  mkdir -p $W/CppunitTest/ && rm -fr 
$W/CppunitTest/sd_import_tests2.test.user && cp -r $W/unittest 
$W/CppunitTest/sd_import_tests2.test.user &&    rm -fr 
$W/CppunitTest/sd_import_tests2.test.core && mkdir 
$W/CppunitTest/sd_import_tests2.test.core && cd 
$W/CppunitTest/sd_import_tests2.test.core &&  (  MAX_CONCURRENCY=4 
MOZILLA_CERTIFICATE_FOLDER=dbm: 
SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=1 SAL_USE_VCLPLUGIN=svp 
LIBO_LANG=C 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs 
          $W/LinkTarget/Executable/cppunittester 
$W/LinkTarget/CppunitTest/libtest_sd_import_tests2.so --headless 
"-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" 
"-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource" 
"-env:UserInstallation=file://$W/CppunitTest/sd_import_tests2.test.user" 
   "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry 
xcsxcu:file://$W/unittest/registry-common 
xcsxcu:file://$W/unittest/registry-user-ui" 
"-env:UNO_TYPES=file://$I/program/types.rdb 
file://$I/program/types/offapi.rdb" 
"-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb 
file://$W/ComponentTarget/animations/source/animcore/animcore.component 
file://$W/ComponentTarget/basic/util/sb.component 
file://$W/ComponentTarget/chart2/source/chartcore.component 
file://$W/ComponentTarget/chart2/source/controller/chartcontroller.component 
file://$W/ComponentTarget/comphelper/util/comphelp.component 
file://$W/ComponentTarget/configmgr/source/configmgr.component 
file://$W/ComponentTarget/dbaccess/util/dba.component 
file://$W/ComponentTarget/desktop/source/deployment/deployment.component 
file://$W/ComponentTarget/drawinglayer/drawinglayer.component 
file://$W/ComponentTarget/embeddedobj/util/embobj.component 
file://$W/ComponentTarget/emfio/emfio.component 
file://$W/ComponentTarget/filter/source/config/cache/filterconfig1.component 
file://$W/ComponentTarget/filter/source/odfflatxml/odfflatxml.component 
file://$W/ComponentTarget/filter/source/svg/svgfilter.component 
file://$W/ComponentTarget/filter/source/pdf/pdffilter.component 
file://$W/ComponentTarget/filter/source/xmlfilteradaptor/xmlfa.component 
file://$W/ComponentTarget/filter/source/xmlfilterdetect/xmlfd.component 
file://$W/ComponentTarget/filter/source/storagefilterdetect/storagefd.component 
file://$W/ComponentTarget/forms/util/frm.component 
file://$W/ComponentTarget/framework/util/fwk.component 
file://$W/ComponentTarget/i18npool/util/i18npool.component 
file://$W/ComponentTarget/linguistic/source/lng.component 
file://$W/ComponentTarget/oox/util/oox.component 
file://$W/ComponentTarget/package/source/xstor/xstor.component 
file://$W/ComponentTarget/package/util/package2.component 
file://$W/ComponentTarget/sax/source/expatwrap/expwrap.component 
file://$W/ComponentTarget/sd/util/sd.component 
file://$W/ComponentTarget/sd/util/sdd.component 
file://$W/ComponentTarget/sdext/source/pdfimport/pdfimport.component 
file://$W/ComponentTarget/sfx2/util/sfx.component 
file://$W/ComponentTarget/sot/util/sot.component 
file://$W/ComponentTarget/svl/source/fsstor/fsstorage.component 
file://$W/ComponentTarget/svtools/util/svt.component 
file://$W/ComponentTarget/svx/util/svxcore.component 
file://$W/ComponentTarget/svgio/svgio.component 
file://$W/ComponentTarget/toolkit/util/tk.component 
file://$W/ComponentTarget/ucb/source/core/ucb1.component 
file://$W/ComponentTarget/ucb/source/ucp/expand/ucpexpand1.component 
file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component 
file://$W/ComponentTarget/ucb/source/ucp/package/ucppkg1.component 
file://$W/ComponentTarget/ucb/source/ucp/tdoc/ucptdoc1.component 
file://$W/ComponentTarget/unotools/util/utl.component 
file://$W/ComponentTarget/unoxml/source/rdf/unordf.component 
file://$W/ComponentTarget/unoxml/source/service/unoxml.component 
file://$W/ComponentTarget/uui/util/uui.component 
file://$W/ComponentTarget/vcl/vcl.common.component 
file://$W/ComponentTarget/xmlscript/util/xmlscript.component 
file://$W/ComponentTarget/xmloff/util/xo.component 
file://$W/ComponentTarget/xmlsecurity/util/xmlsecurity.component" 
-env:URE_BIN_DIR=file://$I/program 
-env:URE_INTERNAL_LIB_DIR=file://$I/program 
-env:LO_LIB_DIR=file://$I/program 
-env:LO_JAVA_DIR=file://$I/program/classes --protector 
$W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector 
--protector $W/LinkTarget/Library/unobootstrapprotector.so 
unobootstrapprotector   --protector 
$W/LinkTarget/Library/libvclbootstrapprotector.so vclbootstrapprotector 
-env:arg-env=LD_LIBRARY_PATH"${LD_LIBRARY_PATH+=$LD_LIBRARY_PATH}" 
"-env:CPPUNITTESTTARGET=$W/CppunitTest/sd_import_tests2.test"  ) 2>&1
[...]
[_RUN_____] testTdf144092TableHeight::TestBody
./sd/qa/unit/import-tests2.cxx:1762:testTdf144092TableHeight::TestBody
equality assertion failed
- Expected: 7208
- Actual  : 7957
[...]

and

[build CUT] sd_import_tests-smartart
S=/data/ssd/rene/libreoffice-7.6.0~beta1 && I=$S/instdir && W=$S/workdir 
&&  mkdir -p $W/CppunitTest/ && rm -fr 
$W/CppunitTest/sd_import_tests-smartart.test.user && cp -r $W/unittest 
$W/CppunitTest/sd_import_tests-smartart.test.user &&    rm -fr 
$W/CppunitTest/sd_import_tests-smartart.test.core && mkdir 
$W/CppunitTest/sd_import_tests-smartart.test.core && cd 
$W/CppunitTest/sd_import_tests-smartart.test.core &&  ( 
MAX_CONCURRENCY=4 MOZILLA_CERTIFICATE_FOLDER=dbm: 
SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=1 SAL_USE_VCLPLUGIN=svp 
LIBO_LANG=C 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs 
          $W/LinkTarget/Executable/cppunittester 
$W/LinkTarget/CppunitTest/libtest_sd_import_tests-smartart.so --headless 
"-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" 
"-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource" 
"-env:UserInstallation=file://$W/CppunitTest/sd_import_tests-smartart.test.user" 
   "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry 
xcsxcu:file://$W/unittest/registry-common 
xcsxcu:file://$W/unittest/registry-user-ui" 
"-env:UNO_TYPES=file://$I/program/types.rdb 
file://$I/program/types/offapi.rdb" 
"-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb 
file://$W/ComponentTarget/animations/source/animcore/animcore.component 
file://$W/ComponentTarget/basic/util/sb.component 
file://$W/ComponentTarget/chart2/source/chartcore.component 
file://$W/ComponentTarget/chart2/source/controller/chartcontroller.component 
file://$W/ComponentTarget/comphelper/util/comphelp.component 
file://$W/ComponentTarget/configmgr/source/configmgr.component 
file://$W/ComponentTarget/dbaccess/util/dba.component 
file://$W/ComponentTarget/desktop/source/deployment/deployment.component 
file://$W/ComponentTarget/drawinglayer/drawinglayer.component 
file://$W/ComponentTarget/embeddedobj/util/embobj.component 
file://$W/ComponentTarget/emfio/emfio.component 
file://$W/ComponentTarget/filter/source/config/cache/filterconfig1.component 
file://$W/ComponentTarget/filter/source/odfflatxml/odfflatxml.component 
file://$W/ComponentTarget/filter/source/svg/svgfilter.component 
file://$W/ComponentTarget/filter/source/pdf/pdffilter.component 
file://$W/ComponentTarget/filter/source/xmlfilteradaptor/xmlfa.component 
file://$W/ComponentTarget/filter/source/xmlfilterdetect/xmlfd.component 
file://$W/ComponentTarget/filter/source/storagefilterdetect/storagefd.component 
file://$W/ComponentTarget/forms/util/frm.component 
file://$W/ComponentTarget/framework/util/fwk.component 
file://$W/ComponentTarget/i18npool/util/i18npool.component 
file://$W/ComponentTarget/linguistic/source/lng.component 
file://$W/ComponentTarget/oox/util/oox.component 
file://$W/ComponentTarget/package/source/xstor/xstor.component 
file://$W/ComponentTarget/package/util/package2.component 
file://$W/ComponentTarget/sax/source/expatwrap/expwrap.component 
file://$W/ComponentTarget/sd/util/sd.component 
file://$W/ComponentTarget/sd/util/sdd.component 
file://$W/ComponentTarget/sdext/source/pdfimport/pdfimport.component 
file://$W/ComponentTarget/sfx2/util/sfx.component 
file://$W/ComponentTarget/sot/util/sot.component 
file://$W/ComponentTarget/svl/source/fsstor/fsstorage.component 
file://$W/ComponentTarget/svtools/util/svt.component 
file://$W/ComponentTarget/svx/util/svxcore.component 
file://$W/ComponentTarget/svgio/svgio.component 
file://$W/ComponentTarget/toolkit/util/tk.component 
file://$W/ComponentTarget/ucb/source/core/ucb1.component 
file://$W/ComponentTarget/ucb/source/ucp/expand/ucpexpand1.component 
file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component 
file://$W/ComponentTarget/ucb/source/ucp/package/ucppkg1.component 
file://$W/ComponentTarget/ucb/source/ucp/tdoc/ucptdoc1.component 
file://$W/ComponentTarget/unotools/util/utl.component 
file://$W/ComponentTarget/unoxml/source/rdf/unordf.component 
file://$W/ComponentTarget/unoxml/source/service/unoxml.component 
file://$W/ComponentTarget/uui/util/uui.component 
file://$W/ComponentTarget/vcl/vcl.common.component 
file://$W/ComponentTarget/xmlscript/util/xmlscript.component 
file://$W/ComponentTarget/xmloff/util/xo.component 
file://$W/ComponentTarget/xmlsecurity/util/xmlsecurity.component" 
-env:URE_BIN_DIR=file://$I/program 
-env:URE_INTERNAL_LIB_DIR=file://$I/program 
-env:LO_LIB_DIR=file://$I/program 
-env:LO_JAVA_DIR=file://$I/program/classes --protector 
$W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector 
--protector $W/LinkTarget/Library/unobootstrapprotector.so 
unobootstrapprotector   --protector 
$W/LinkTarget/Library/libvclbootstrapprotector.so vclbootstrapprotector 
-env:arg-env=LD_LIBRARY_PATH"${LD_LIBRARY_PATH+=$LD_LIBRARY_PATH}" 
"-env:CPPUNITTESTTARGET=$W/CppunitTest/sd_import_tests-smartart.test"  ) 
2>&1
[_RUN_____] testAccentProcess::TestBody
Dialog "Warning, Warning loading document smartart-accent-process.pptx:
Could not load all SmartArt objects. Saving in Microsoft Office 2010 or 
later would avoid this issue."cancelled in silent 
modetestAccentProcess::TestBody finished in: 583ms
[_RUN_____] testAutofitSync::TestBody
Dialog "Warning, Warning loading document smartart-autofit-sync.pptx:
Could not load all SmartArt objects. Saving in Microsoft Office 2010 or 
later would avoid this issue."cancelled in silent 
mode./sd/qa/unit/import-tests-smartart.cxx:1544:testAutofitSync::TestBody
equality assertion failed
- Expected: 43.3333333333333
- Actual  : 50

Yes, downgrading to 20220224-1 works.

Regards,

Rene


More information about the LibreOffice mailing list