Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 628140

Summary: media-libs/fontconfig fails test with >=media-libs/freetype-2.7.1: *** output is in 'out', expected output in 'out271.expected'
Product: Gentoo Linux Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: normal CC: tka, toralf, viklevin2
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=47704
https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/84
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergei Trofimovich (RETIRED) gentoo-dev 2017-08-17 20:51:07 UTC
FAIL: run-test271.sh
PASS: test-bz89617
PASS: test-bz131804
PASS: test-bz96676
============================================================================
Testsuite summary for fontconfig 2.12.4
============================================================================
# TOTAL: 4
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig
============================================================================
make[3]: *** [Makefile:799: test-suite.log] Error 1
make[3]: Leaving directory '/dev/shm/portage/media-libs/fontconfig-2.12.4/work/fontconfig-2.12.4-abi_x86_64.amd64/test'
make[2]: *** [Makefile:907: check-TESTS] Error 2
make[2]: Leaving directory '/dev/shm/portage/media-libs/fontconfig-2.12.4/work/fontconfig-2.12.4-abi_x86_64.amd64/test'
make[1]: *** [Makefile:992: check-am] Error 2
make[1]: Leaving directory '/dev/shm/portage/media-libs/fontconfig-2.12.4/work/fontconfig-2.12.4-abi_x86_64.amd64/test'
make: *** [Makefile:581: check-recursive] Error 1
sf fontconfig-2.12.4-abi_x86_64.amd64 # cat test/test-suite.log
============================================
   fontconfig 2.12.4: test/test-suite.log
============================================

# TOTAL: 4
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: run-test271
=================

*** Test failed: Basic check
*** output is in 'out', expected output in 'out271.expected'
FAIL run-test271.sh (exit status: 1)
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2017-08-19 14:56:01 UTC
Forgot to post actual diff:

guppy test # diff -u ../../fontconfig-2.12.4/test/out271.expected out
--- ../../fontconfig-2.12.4/test/out271.expected        2017-03-21 02:57:19.000000000 +0000
+++ out 2017-08-19 14:51:58.789210467 +0000
@@ -1,8 +1,8 @@
-Misc Fixed:pixelsize=6
-Sony Fixed:pixelsize=16
+Fixed:pixelsize=16
+Fixed:pixelsize=6
 =
-Misc Fixed:pixelsize=6
-Sony Fixed:pixelsize=16
+Fixed:pixelsize=16
+Fixed:pixelsize=6
 =
-Misc Fixed:pixelsize=6
-Sony Fixed:pixelsize=16
+Fixed:pixelsize=16
+Fixed:pixelsize=6

I think font namescheme changed slightly in freetype 2.7.1->2.8.

It fails for me in chroots with media-libs/freetype-2.7.1-r2 (but not 2.8).

Worth explictly setting minimal dependency in DEPENDs (or removing flaky test).
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-03-08 10:08:55 UTC
Upstream knows about this issue.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-03-08 18:17:34 UTC
*** Bug 649936 has been marked as a duplicate of this bug. ***