After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755733 - tests: test-layout fails
tests: test-layout fails
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.38.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2015-09-28 13:27 UTC by Andreas Henriksson
Modified: 2017-02-28 22:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Henriksson 2015-09-28 13:27:19 UTC
Full Debian i386 build log:

https://buildd.debian.org/status/fetch.php?pkg=pango1.0&arch=i386&ver=1.38.0-1&stamp=1443411858


Relevant part:


FAIL: test-layout
=================

/layout/valid-2.markup: OK
/layout/valid-1.markup: Contents don't match expected contents:
--- /«PKGBUILDDIR»/./tests/layouts/valid-1.expected	2014-09-29 19:07:11.000000000 +0000
+++ /tmp/.G4VB5X	2015-09-28 03:44:14.577140541 +0000
@@ -24,10 +24,10 @@
 ---
 
 i=1, index=0, chars=22, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=c, 'This is a test of the '
-i=2, index=22, chars=11, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=c, 'automatic e'
+i=2, index=22, chars=10, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=c, 'automatic '
   [22 41] foreground #00000000ffff
   [22 41] underline 1
-i=3, index=33, chars=15, level=0, gravity=south, flags=2, font=OMITTED, script=common, language=c, 'mergency brake!'
+i=3, index=32, chars=16, level=0, gravity=south, flags=2, font=OMITTED, script=common, language=c, 'emergency brake!'
   [0 2147483647] fallback 0
   [22 41] foreground #00000000ffff
   [22 41] underline 1
FAIL
FAIL test-layout (exit status: 134)




Pango git make check in a fedora docker container fails in a similar way but breaks text differently:


FAIL: test-layout
=================

/layout/valid-1.markup: Contents don't match expected contents:
--- /build/pango1.0-1.38.0/./tests/layouts/valid-1.expected	2014-09-29 19:07:11.000000000 +0000
+++ /tmp/.L3XU5X	2015-09-28 12:41:10.310774730 +0000
@@ -24,10 +24,10 @@
 ---
 
 i=1, index=0, chars=22, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=c, 'This is a test of the '
-i=2, index=22, chars=11, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=c, 'automatic e'
+i=2, index=22, chars=10, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=c, 'automatic '
   [22 41] foreground #00000000ffff
   [22 41] underline 1
-i=3, index=33, chars=15, level=0, gravity=south, flags=2, font=OMITTED, script=common, language=c, 'mergency brake!'
+i=3, index=32, chars=16, level=0, gravity=south, flags=2, font=OMITTED, script=common, language=c, 'emergency brake!'
   [0 2147483647] fallback 0
   [22 41] foreground #00000000ffff
   [22 41] underline 1
FAIL
FAIL test-layout (exit status: 134)
Comment 1 Jussi Kukkonen 2016-03-22 08:29:25 UTC
According to a report on OpenEmbedded mailing list this failure results from Cantarell font not being installed.

*) http://lists.openembedded.org/pipermail/openembedded-core/2016-January/115139.html
Comment 2 Andreas Henriksson 2016-03-22 09:34:09 UTC
(In reply to Jussi Kukkonen from comment #1)
> According to a report on OpenEmbedded mailing list this failure results from
> Cantarell font not being installed.
> 
> *)
> http://lists.openembedded.org/pipermail/openembedded-core/2016-January/
> 115139.html

Fwiw, my build was with fonts-cantarell installed so likely not the same problem.
Comment 3 Michael Biebl 2017-02-28 18:41:20 UTC
This seems no longer to be an issue. So I guess this bug report can be closed.