#1029104 FTBFS with fontconfig 2.14.1 (doesn't expect RGB stripes

#1029104#5
Date:
2023-01-17 17:19:48 UTC
From:
To:
Dear Maintainer,

See
https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=amd64&ver=1%3A7.4.4-1&stamp=1673962775&raw=0:

[_RUN_____] VclTextTest::testSimpleText
./vcl/qa/cppunit/text.cxx:222:VclTextTest::testSimpleText
double equality assertion failed
- Expected: 42
- Actual  : 37
- Delta   : 4

Indeed that also happens when I build it locally (unfortunately the C++
autopkgtests had to be disabled in libreoffice, otherwise they would
have catched it, too)

Downgrading to 2.13.1-4.5 "fixes" it.

Since other distributions already *do* ship 2.14.1 I looked what they
had and I came around

https://src.fedoraproject.org/rpms/fontconfig/c/25e368d9d2888159b5eb9acf3839821a4fe81c40?branch=rawhide

Indeed, when I added that <test>...</test> into the already existing /etc/fonts/conf.d/10-sub-pixel-rgb.conf
the test passes.

Filing this as serious as it causes (autopkg)test failures. Which is bad
this late in the release cycle, especially for packages involved in
transitions like python3-defaults...

Regards,

Rene

#1029104#10
Date:
2023-01-17 17:28:59 UTC
From:
To:
Hi,

addendum:

I tried to adapt the test to expected values but failed. When I adapt
some values stuff even further breaks, and at the 50% test I then had no
idea what to do.)

For reference,  this is the test:

https://cgit.freedesktop.org/libreoffice/core/tree/vcl/qa/cppunit/text.cxx?h=libreoffice-7.4.4.2#n164
ff.


Regards,


Rene

#1029104#17
Date:
2023-01-17 18:04:09 UTC
From:
To:
Hi again,

Am 17.01.23 um 18:28 schrieb Rene Engelhard:

LO has already a fc_local.conf:

./instdir/share/fonts/truetype/fc_local.conf

but when I add the stuff from the patch  there

rene@frodo:~/Debian/Pakete/LibreOffice/libreoffice/libreoffice-7.4.4.2$
cat ./instdir/share/fonts/truetype/fc_local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "/etc/fonts/conf.d/fonts.dtd">
<fontconfig>
<match target="pattern">
   <test name="family"><string>Symbol</string></test>
   <edit name="family" mode="append" binding="same">
     <string>OpenSymbol</string>
   </edit>
</match>
               <match target="font">
                 <!--
                   This sort of configuration is available on the major
desktop environments
                   and we don't have to break it with "assign"
unconditionally. however, we
                   want to set something for others. So we use "append"
here to get this working
                   in both cases so that most clients would takes a look
at the first place only.
                 -->
                 <test name="desktop" compare="contains">
                   <string>KDE</string>
                 </test>
                 <edit name="rgba"
mode="append"><const>rgb</const></edit>
               </match>
</fontconfig>

it still fails. Probably it ignores it since it's already set in /etc
and that already matches?

Regards,


Rene

#1029104#22
Date:
2023-01-17 18:23:17 UTC
From:
To:
severity 1029101 important
retitle 1029101 please Enable RGB stripes layout for sub-pixel rendering
on KDE only
thanks

[ sorry for "spamming" ]

Hi,

Am 17.01.23 um 19:04 schrieb Rene Engelhard:

OK, got it. I need to "delete" it.

               <match target="font">
                 <!--
                   This sort of configuration is available on the major
desktop environments
                   and we don't have to break it with "assign"
unconditionally. however, we
                   want to set something for others. So we use "append"
here to get this working
                   in both cases so that most clients would takes a look
at the first place only.
                 -->
                 <edit name="rgba"
mode="delete"><const>rgb</const></edit>
               </match>


Then it passes and it shouldn't  break with 2.13 either since deleting
somethng non-existing works ;-)

Will reassign a clone to libreoffice to fix that test failure.

Regards,


Rene

#1029104#43
Date:
2023-01-17 18:36:57 UTC
From:
To:
Hello,

Bug #1029104 in libreoffice reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/commit/5048dd6b7b7690f77c9f2bdd4f2cd86d7bdbc1b4
------------------------------------------------------------------------
fix vcls testSimpleText with fontconfig-config 2.14.1-3 (closes: #1029104)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1029104

#1029104#48
Date:
2023-01-17 18:39:14 UTC
From:
To:
Hello,

Bug #1029104 in libreoffice reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/commit/5048dd6b7b7690f77c9f2bdd4f2cd86d7bdbc1b4
------------------------------------------------------------------------
fix vcls testSimpleText with fontconfig-config 2.14.1-3 (closes: #1029104)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1029104

#1029104#51
Date:
2023-01-17 18:56:11 UTC
From:
To:
Hello,

Bug #1029104 in libreoffice reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/commit/5048dd6b7b7690f77c9f2bdd4f2cd86d7bdbc1b4
------------------------------------------------------------------------
fix vcls testSimpleText with fontconfig-config 2.14.1-3 (closes: #1029104)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1029104

#1029104#56
Date:
2023-01-18 02:04:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libreoffice, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1029104@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated libreoffice package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 17 Jan 2023 21:01:57 +0100
Source: libreoffice
Architecture: source
Version: 1:7.4.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 1029104
Changes:
 libreoffice (1:7.4.4-2) unstable; urgency=medium
 .
   * fontconfig-2.14.1-no-RGB-stripes-layout-for-sub-pixel-rendering.diff:
     as name says, fix vcls testSimpleText with fontconfig-config 2.14.1-3
     (closes: #1029104). Apply before test and unapply after for now to not
     install it in fonts-opensymbol (as we for now are patching that file)
Checksums-Sha1:
 ddcbf4ae4c4dcbaa8cafbfd8b6d09a10e8d7dd13 22971 libreoffice_7.4.4-2.dsc
 804fa36695ae2266025f8f7898fefa67847e8b71 24738576 libreoffice_7.4.4-2.debian.tar.xz
 96fc7529485420446d4566144974ca0afa94564b 34711 libreoffice_7.4.4-2_source.buildinfo
Checksums-Sha256:
 ffef3e7fe5a237deab7baccc312df5ddf3c768783bb5c163c3653170dd18e7f2 22971 libreoffice_7.4.4-2.dsc
 b12a9aa763d5c1aa29e1af7c817803b3befa50b2802231cbc9974f0460afb796 24738576 libreoffice_7.4.4-2.debian.tar.xz
 16e61c1547d4644ce4d3336fd5f7d3447c5616da45b2e0743eff91e9ea8717f2 34711 libreoffice_7.4.4-2_source.buildinfo
Files:
 f4e1cedfe192a9bf758f4475798e1cd7 22971 editors optional libreoffice_7.4.4-2.dsc
 a193f2cf74e020ba4e3e146fcc2176e9 24738576 editors optional libreoffice_7.4.4-2.debian.tar.xz
 042701698f4d2faf4a8db1f760396ea3 34711 editors optional libreoffice_7.4.4-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmPHSK0QHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cBGhEACpmj2yWx2wqoGElmzOy+g2vNQH7rJ6msL7
tWNaRvwvGeCqHQL8AacqhjpB1siH59hKjDUsqI6pimgK0XTrTgQVjJsDWbYkpfu5
VLDjFJMr9y6At4Fbxwbq97uCUwClcYB1QDIz+9hVyE9QbQwHT9ImSaVLxib5pd/5
3qE8BrZGh8E9NnXktAuklcfk1IC1KmFgl/LrbLEMIcakErBKjm2fP5NEjQD61wff
1mLiJfd2cVONk/LJjE72XlrgtkD0RyYqzFzrBHAYcLs4kyQWAcU0wpAx9AeM5j57
SqgYn0FiyXWrrY0kEIM+xOGyEwPRHRTUT1TnbtW6ran5bx8CDp/Gk2a7JGF+GuQX
KZ0IivhRRW4ceU5U1PF/AC/TwIabC4PRh/bDakqgEfKl542Ccqx4joy/NGpcf8mL
7MMGEVvUbNz+cxZtljyqRozGqMa1+iu2eUEUrqeNOp3ESeS97mKNqFL084Kt9o20
Jo6NIsORtgweh8xRMYy1DX+kUf4Slfv1dFTfOh9iRZZVOR+z1xLDkjOp2EWabrae
YO5X2U4J0HcTVqBczhXWMd9q8XGFIxh6eFPDTmfHQn2pAP7WOBkPSLFCxMbEpqD9
HlSwgYGW3hBlvCIdRzZBxWLIP/j5srLWrJHziwnaTZbsbJxfWSo/7UbooLvQNMaM
9LIXNtP0vw==
=J+6i
-----END PGP SIGNATURE-----

#1029104#77
Date:
2023-01-21 08:47:31 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libreoffice, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1029104@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated libreoffice package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 21 Jan 2023 08:45:16 +0100
Source: libreoffice
Architecture: source
Version: 1:7.5.0~rc2-2
Distribution: experimental
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 1029104
Changes:
 libreoffice (1:7.5.0~rc2-2) experimental; urgency=medium
 .
   * fontconfig-2.14.1-no-RGB-stripes-layout-for-sub-pixel-rendering.diff:
     as name says, fix vcls testSimpleText with fontconfig-config 2.14.1-3
     (closes: #1029104). Apply before test and unapply after for now to not
     install it in fonts-opensymbol (as we for now are patching that file)
 .
   * debian/rules:
     - set extra builid to BINARY_VERSION instead of DEB_VERSION to reflect
       the actual binary package version of libreoffice-core if they differed
Checksums-Sha1:
 404d2596b52afbe2696bc56c8070bed114ec220e 33002 libreoffice_7.5.0~rc2-2.dsc
 1282c9a0a6d27eca98fb7997c156d898521c5cfb 25046792 libreoffice_7.5.0~rc2-2.debian.tar.xz
 aefef4e1926ae16ec3e2dfe9fa42759f8b45e095 35373 libreoffice_7.5.0~rc2-2_source.buildinfo
Checksums-Sha256:
 6940ae34b18552cb6e899412b3f338eece924a6fb444ac6edd91833edd67c85b 33002 libreoffice_7.5.0~rc2-2.dsc
 5c8333a534ae7c6c6939d724a259e122668c67ee17710c8623e22b87e28e7534 25046792 libreoffice_7.5.0~rc2-2.debian.tar.xz
 8449ddd268dc69587071bfbf9e075fe3cc2309a60bab1ab7766454ab0fe66d1c 35373 libreoffice_7.5.0~rc2-2_source.buildinfo
Files:
 00ac408a7447e717b8636e47b6133b6e 33002 editors optional libreoffice_7.5.0~rc2-2.dsc
 06efa1fba4ac6b3a2ee8d7d977ce30b3 25046792 editors optional libreoffice_7.5.0~rc2-2.debian.tar.xz
 38a93a6cb432377d24419e65a66edcf1 35373 editors optional libreoffice_7.5.0~rc2-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmPLmVEQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cGY7EAC04B2J4f7+wnEUBQERqcgGcWZxrkUgxUlB
ZHJYvQqV+SdMX5DB6Bi8fgBItZYPhFMvRjUFwARnlaRJxrBZPNKQUZ0qy6baiplc
pF8eyjlGSW7FY+Yiguxks2FJKcG1zCJ4O9WalicqAIilvp+ujtNuxpElbi6dFt/8
wLKLmOl9FQ3aEmWUmXu93BdIClkyC6Qv9kZpfbHDjpcVviZU6Piyzg4RcO1Ro1Vt
zt5GWxh5C9r/SQ4tkVetuWpb4je0qUPfxW/S+r8MixgIzER0tYei861UIw6FiqH6
fumhBdST8dM2C07LHIw8Enufzb12XsE3rm/UaECZdaH0Zdafe9uBW9nmKlmYqOo0
5Wf5+/s+t7GYJJ+3AMjZyFGpuFvWXXNK6qHkg9r79f4smKd2L80gIDwx3Ycfparc
AzanKWWWMiURfSZObgUg3ouSz+WzU4pNxohSQdR87joFE5ha1+1/kniqLQMR4Wm0
zWdR68wbu9HvgcuI858nXY8PjOZZ863kKf65wI83aaREPV+AQI+wJrEga6GUVjg+
7mEZ0QOR39tDfaCUOPfUD3W89xz1FzssSgvyuAGVhkwkFMVkpDewfxMjk07TRPW0
vMv3Fk1F2RQ7zQUwt2JaAxnAyja5xDtevv+UqYwJ/YB14Q9vldjFt4zobPVbKvHo
EjM0GS4DMQ==
=Q+X/
-----END PGP SIGNATURE-----