Re: cairo-1.10.2 make check large number of FAIL due to fonts not found

"Gilles Espinasse" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <0d2e01ccb90a$54049620$f9b5a8c0@pii350>
----- Original Message ----- 
From: "Gilles Espinasse" <[email protected]>
To: <[email protected]>
Sent: Sunday, May 15, 2011 10:14 AM
Subject: cairo-1.10.2 make check large number of FAIL due to fonts not found


> Hello
>
> I compile in a chroot in that order glib-2.26, dejavu-2.33,
freetype-2.4.4,
> gd-2.0.35, fontconfig-2.8.0, pixman-0.20.2. After cairo, pango and rrd are
> build and work.
>
> I recently try to enable cairo-1.10.2 test suite and that does not work as
> it should : too much failures
>
> To simplify, cairo is compiled with
> ./configure --prefix=/usr && make
> Configure status is reported so :
>
> cairo (version 1.10.2 [release]) will be compiled with:
>
> The following surface backends:
>   Image:         yes (always builtin)
>   Recording:     yes (always builtin)
>   Tee:           no (disabled, use --enable-tee to enable)
>   XML:           no (disabled, use --enable-xml to enable)
>   Skia:          no (disabled, use --enable-skia to enable)
>   Xlib:          no (requires X development libraries)
>   Xlib Xrender:  no (requires --enable-xlib)
>   Qt:            no (disabled, use --enable-qt to enable)
>   Quartz:        no (requires CoreGraphics framework)
>   Quartz-image:  no (disabled, use --enable-quartz-image to enable)
>   XCB:           no (disabled, use --enable-xcb to enable)
>   Win32:         no (requires a Win32 platform)
>   OS2:           no (disabled, use --enable-os2 to enable)
>   CairoScript:   no (disabled, use --enable-script to enable)
>   PostScript:    yes
>   PDF:           yes
>   SVG:           yes
>   OpenGL:        no (disabled, use --enable-gl to enable)
>   BeOS:          no (disabled, use --enable-beos to enable)
>   DirectFB:      no (disabled, use --enable-directfb to enable)
>   OpenVG:        no (disabled, use --enable-vg to enable)
>   DRM:           no (disabled, use --enable-drm to enable)
>
> The following font backends:
>   User:          yes (always builtin)
>   FreeType:      yes
>   Fontconfig:    yes
>   Win32:         no (requires a Win32 platform)
>   Quartz:        no (requires CoreGraphics framework)
>
> The following functions:
>   PNG functions:   yes
>   GLEW functions:  no (not required by any backend)
>   GLX functions:   no (not required by any backend)
>   WGL functions:   no (not required by any backend)
>   EGL functions:   no (not required by any backend)
>   X11-xcb functions: no (disabled, use --enable-xlib-xcb to enable)
>   XCB-drm functions: no (disabled, use --enable-xcb-drm to enable)
>   XCB-shm functions: no (requires --enable-xcb)
>   DRM-Xr functions: no (disabled, use --enable-drm-xr to enable)
>
> The following features and utilities:
>   cairo-trace:                yes
>   cairo-script-interpreter:   yes
>
> And the following internal features:
>   pthread:       yes
>   gtk-doc:       no
>   gcov support:  no
>   symbol-lookup: yes
>   test surfaces: no (disabled, use --enable-test-surfaces to enable)
>   ps testing:    no (requires libspectre)
>   pdf testing:   no (requires poppler-glib >= 0.13.3)
>   svg testing:   no (requires librsvg-2.0 >= 2.15.0)
>
>
> *** No native surface backends enabled for your platform. It is strongly
> *** recommended that you enable the native surface backend feature for
your
> *** platform.
>
> Looking at the failures
> find cairo-1.10.2/test -name "*.log" -ls -exec grep ' FAIL'  {} \; | wc -l
> 1391
> find cairo-1.10.2/test -name "*.log" -ls -exec grep ' PASS'  {} \; | wc -l
> 997
> find cairo-1.10.2/test -name "*.log" -ls -exec grep ' out of memory'  {}
\;
> | wc -l
> 1184
>
Answering my own old question
Just me stupid because -ls should not be in the find lines

find cairo-1.10.2/test -name "*.log" -exec grep ' FAIL'  {} \; | wc -l
186
find cairo-1.10.2/test -name "*.log" -exec grep ' PASS'  {} \; | wc -l
1601
find cairo-1.10.2/test -name "*.log" -exec grep ' out of memory'  {} \; |
wc -l
0

Looking at log produced by make check, there is a lot of failure
grep '\sFAIL' test_i486/20111211-114644/cairo-1.10.2* | sort | uniq | wc -l
186
grep '\sFAIL' test_i486/20111211-114644/cairo-1.10.2* | sort | uniq
bug-seams.image.argb32 [0]:     FAIL
bug-seams.image.rgb24 [0]:      FAIL
bug-seams.image16.rgb24 [0]:    FAIL
bug-seams.recording.argb32 [0]: FAIL
bug-seams.recording.rgb24 [0]:  FAIL
bug-seams: FAIL (image, image16, recording)
caps-joins-curve.image16.rgb24 [0]:     FAIL
caps-joins-curve: FAIL (image16)
clip-operator.image.argb32 [0]: FAIL
clip-operator.recording.argb32 [0]:     FAIL
clip-operator: FAIL (image, recording)
clip-text.image.argb32 [0]:     FAIL
clip-text.image.rgb24 [0]:      FAIL
clip-text.image16.rgb24 [0]:    FAIL
clip-text.recording.argb32 [0]: FAIL
clip-text.recording.rgb24 [0]:  FAIL
clip-text: FAIL (image, image16, recording)
culled-glyphs.image16.rgb24 [0]:        FAIL
culled-glyphs: FAIL (image16)
extended-blend.image16.rgb24 [0]:       FAIL
extended-blend: FAIL (image16)
font-matrix-translation.image.argb32 [0]:       FAIL
font-matrix-translation.image.rgb24 [0]:        FAIL
font-matrix-translation.image16.rgb24 [0]:      FAIL
font-matrix-translation.recording.argb32 [0]:   FAIL
font-matrix-translation.recording.rgb24 [0]:    FAIL
font-matrix-translation: FAIL (image, image16, recording)
ft-show-glyphs-positioning.image16.rgb24 [0]:   FAIL
ft-show-glyphs-positioning: FAIL (image16)
ft-show-glyphs-table.image16.rgb24 [0]: FAIL
ft-show-glyphs-table: FAIL (image16)
ft-text-vertical-layout-type1.image.argb32 [0]: FAIL
ft-text-vertical-layout-type1.image.rgb24 [0]:  FAIL
ft-text-vertical-layout-type1.image16.rgb24 [0]:        FAIL
ft-text-vertical-layout-type1.recording.argb32 [0]:     FAIL
ft-text-vertical-layout-type1.recording.rgb24 [0]:      FAIL
ft-text-vertical-layout-type1: FAIL (image, image16, recording)
get-path-extents.image.argb32 [0]:      FAIL
get-path-extents.image.rgb24 [0]:       FAIL
get-path-extents.image16.rgb24 [0]:     FAIL
get-path-extents.recording.argb32 [0]:  FAIL
get-path-extents.recording.rgb24 [0]:   FAIL
get-path-extents: FAIL (image, image16, recording)
glyph-cache-pressure.image16.rgb24 [0]: FAIL
glyph-cache-pressure: FAIL (image16)
halo-transform.image.argb32 [0]:        FAIL
halo-transform.image.rgb24 [0]: FAIL
halo-transform.image16.rgb24 [0]:       FAIL
halo-transform.recording.argb32 [0]:    FAIL
halo-transform.recording.rgb24 [0]:     FAIL
halo-transform: FAIL (image, image16, recording)
halo.image.argb32 [0]:  FAIL
halo.image.rgb24 [0]:   FAIL
halo.image16.rgb24 [0]: FAIL
halo.recording.argb32 [0]:      FAIL
halo.recording.rgb24 [0]:       FAIL
halo: FAIL (image, image16, recording)
huge-linear.image16.rgb24 [0]:  FAIL
huge-linear: FAIL (image16)
inverse-text.image16.rgb24 [0]: FAIL
inverse-text: FAIL (image16)
large-source-roi.image.argb32 [0]:      FAIL
large-source-roi.image.rgb24 [0]:       FAIL
large-source-roi.image16.rgb24 [0]:     FAIL
large-source-roi.recording.argb32 [0]:  FAIL
large-source-roi.recording.rgb24 [0]:   FAIL
large-source-roi: FAIL (image, image16, recording)
linear-gradient-large.image.argb32 [0]: FAIL
linear-gradient-large.image.rgb24 [0]:  FAIL
linear-gradient-large.image16.rgb24 [0]:        FAIL
linear-gradient-large.recording.argb32 [0]:     FAIL
linear-gradient-large.recording.rgb24 [0]:      FAIL
linear-gradient-large: FAIL (image, image16, recording)
linear-gradient.image16.rgb24 [0]:      FAIL
linear-gradient: FAIL (image16)
operator-clear.image.argb32 [0]:        FAIL
operator-clear.recording.argb32 [0]:    FAIL
operator-clear: FAIL (image, recording)
operator-source.image.argb32 [0]:       FAIL
operator-source.image.rgb24 [0]:        FAIL
operator-source.image16.rgb24 [0]:      FAIL
operator-source.recording.argb32 [0]:   FAIL
operator-source.recording.rgb24 [0]:    FAIL
operator-source: FAIL (image, image16, recording)
partial-coverage-reference.image16.rgb24 [0]:   FAIL
partial-coverage-reference: FAIL (image16)
partial-coverage-three-quarter-reference.image16.rgb24 [0]:     FAIL
partial-coverage-three-quarter-reference: FAIL (image16)
pthread-show-text.image.argb32 [0]:     FAIL
pthread-show-text.image.rgb24 [0]:      FAIL
pthread-show-text.image16.rgb24 [0]:    FAIL
pthread-show-text.recording.argb32 [0]: FAIL
pthread-show-text.recording.rgb24 [0]:  FAIL
pthread-show-text: FAIL (image, image16, recording)
radial-gradient-mask-source.image.argb32 [0]:   FAIL
radial-gradient-mask-source.image.rgb24 [0]:    FAIL
radial-gradient-mask-source.image16.rgb24 [0]:  FAIL
radial-gradient-mask-source.recording.argb32 [0]:       FAIL
radial-gradient-mask-source.recording.rgb24 [0]:        FAIL
radial-gradient-mask-source: FAIL (image, image16, recording)
radial-gradient-mask.image.argb32 [0]:  FAIL
radial-gradient-mask.image.rgb24 [0]:   FAIL
radial-gradient-mask.image16.rgb24 [0]: FAIL
radial-gradient-mask.recording.argb32 [0]:      FAIL
radial-gradient-mask.recording.rgb24 [0]:       FAIL
radial-gradient-mask: FAIL (image, image16, recording)
radial-gradient-one-stop.image.argb32 [0]:      FAIL
radial-gradient-one-stop.image.rgb24 [0]:       FAIL
radial-gradient-one-stop.image16.rgb24 [0]:     FAIL
radial-gradient-one-stop.recording.argb32 [0]:  FAIL
radial-gradient-one-stop.recording.rgb24 [0]:   FAIL
radial-gradient-one-stop: FAIL (image, image16, recording)
radial-gradient-source.image.argb32 [0]:        FAIL
radial-gradient-source.image.rgb24 [0]: FAIL
radial-gradient-source.image16.rgb24 [0]:       FAIL
radial-gradient-source.recording.argb32 [0]:    FAIL
radial-gradient-source.recording.rgb24 [0]:     FAIL
radial-gradient-source: FAIL (image, image16, recording)
radial-gradient.image.argb32 [0]:       FAIL
radial-gradient.image.rgb24 [0]:        FAIL
radial-gradient.image16.rgb24 [0]:      FAIL
radial-gradient.recording.argb32 [0]:   FAIL
radial-gradient.recording.rgb24 [0]:    FAIL
radial-gradient: FAIL (image, image16, recording)
select-font-face.image16.rgb24 [0]:     FAIL
select-font-face: FAIL (image16)
show-text-current-point.image16.rgb24 [0]:      FAIL
show-text-current-point: FAIL (image16)
smask-fill.image16.rgb24 [0]:   FAIL
smask-fill: FAIL (image16)
smask-mask.image16.rgb24 [0]:   FAIL
smask-mask: FAIL (image16)
smask-paint.image16.rgb24 [0]:  FAIL
smask-paint: FAIL (image16)
smask-stroke.image16.rgb24 [0]: FAIL
smask-stroke: FAIL (image16)
smask-text.image.argb32 [0]:    FAIL
smask-text.image.rgb24 [0]:     FAIL
smask-text.image16.rgb24 [0]:   FAIL
smask-text.recording.argb32 [0]:        FAIL
smask-text.recording.rgb24 [0]: FAIL
smask-text: FAIL (image, image16, recording)
smask.image16.rgb24 [0]:        FAIL
smask: FAIL (image16)
spline-decomposition.image16.rgb24 [0]: FAIL
spline-decomposition: FAIL (image16)
subsurface-modify-parent.recording.argb32 [0]:  FAIL
subsurface-modify-parent.recording.rgb24 [0]:   FAIL
subsurface-modify-parent: FAIL (recording)
subsurface-outside-target.image16.rgb24 [0]:    FAIL
subsurface-outside-target: FAIL (image16)
text-antialias-gray.image.argb32 [0]:   FAIL
text-antialias-gray.image.rgb24 [0]:    FAIL
text-antialias-gray.image16.rgb24 [0]:  FAIL
text-antialias-gray.recording.argb32 [0]:       FAIL
text-antialias-gray.recording.rgb24 [0]:        FAIL
text-antialias-gray: FAIL (image, image16, recording)
text-antialias-subpixel.image.argb32 [0]:       FAIL
text-antialias-subpixel.image.rgb24 [0]:        FAIL
text-antialias-subpixel.image16.rgb24 [0]:      FAIL
text-antialias-subpixel.recording.argb32 [0]:   FAIL
text-antialias-subpixel.recording.rgb24 [0]:    FAIL
text-antialias-subpixel: FAIL (image, image16, recording)
text-glyph-range.image16.rgb24 [0]:     FAIL
text-glyph-range: FAIL (image16)
text-pattern.image.argb32 [0]:  FAIL
text-pattern.recording.argb32 [0]:      FAIL
text-pattern: FAIL (image, recording)
text-rotate.image.argb32 [0]:   FAIL
text-rotate.image.rgb24 [0]:    FAIL
text-rotate.image16.rgb24 [0]:  FAIL
text-rotate.recording.argb32 [0]:       FAIL
text-rotate.recording.rgb24 [0]:        FAIL
text-rotate: FAIL (image, image16, recording)
user-font-proxy.image.argb32 [0]:       FAIL
user-font-proxy.image.rgb24 [0]:        FAIL
user-font-proxy.image16.rgb24 [0]:      FAIL
user-font-proxy.recording.argb32 [0]:   FAIL
user-font-proxy.recording.rgb24 [0]:    FAIL
user-font-proxy: FAIL (image, image16, recording)
user-font-rescale.image.argb32 [0]:     FAIL
user-font-rescale.image.rgb24 [0]:      FAIL
user-font-rescale.image16.rgb24 [0]:    FAIL
user-font-rescale.recording.argb32 [0]: FAIL
user-font-rescale.recording.rgb24 [0]:  FAIL
user-font-rescale: FAIL (image, image16, recording)

Gilles

--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.