cairo 1.14.12 fails test
Submitted by Michael Rice
Assigned to Chris Wilson @ickle
Link to original bug (#104150)
Description
FAIL: cairo-test-suite
============================================================================
Testsuite summary for cairo 1.14.12
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
============================================================================
Compiled against cairo 1.14.12, running on 1.14.12.
Compiled against pixman 0.34.0, running on 0.34.0.
a1-bug: FAIL (script, image16)
a1-clip-paint: PASS
a1-clip-fill: PASS
a1-clip-fill-equal: PASS
a1-clip-stroke: PASS
a1-fill: FAIL (script)
...
fallback-resolution: FAIL
158 Passed, 383 Failed [18 crashed, 8 expected], 22 Skipped
Preamble: 1 failed - fallback-resolution
ps2 (argb32): 17 crashed! - pixman-downscale-fast-96 pixman-downscale-fast-95 pixman-downscale-fast-24 pixman-downscale-good-96 pixman-downscale-good-95 pixman-downscale-good-24 pixman-downscale-best-96 pixman-downscale-best-95 pixman-downscale-best-24 pixman-downscale-nearest-96 pixman-downscale-nearest-95 pixman-downscale-nearest-24 pixman-downscale-bilinear-96 pixman-downscale-bilinear-95 pixman-downscale-bilinear-24 self-copy self-copy-overlap
ps2 (argb32): 178 failed - bug-spline bug-51910 bug-bo-ricotz bug-source-cu bug-extents caps-2 caps-1 caps-05 caps-joins caps-joins-2 caps-joins-1 caps-joins-05 caps-joins-curve caps-tails-curve clear-source clip-complex-bug61592 clip-disjoint clip-disjoint-quad clip-stroke-unbounded clip-intersect clip-operator clip-rectilinear clip-stroke dash-caps-joins dash-curve dash-scale degenerate-curve-to degenerate-pen degenerate-rel-curve-to degenerate-solid-dash drunkard-tails extended-blend extended-blend-alpha extended-blend-mask extended-blend-alpha-mask extended-blend-solid extended-blend-solid-alpha fallback fill-image filter-nearest-offset finer-grained-fallbacks halo halo-transform huge-radial image-surface-source inverse-text joins joins-loop joins-star joins-retrace line-width-large-overlap-rotated line-width-large-overlap-dashed line-width-overlap-offset line-width-overlap-rotated line-width-overlap-dashed line-width-tolerance linear-gradient linear-gradient-subset mask mask-transformed-similar mime-data operator-clear operator-source over-above-source over-around-source over-between-source overlapping-boxes partial-clip-text-bottom partial-clip-text-left partial-clip-text-right pixman-rotate radial-gradient radial-gradient-mask radial-gradient-source radial-gradient-mask-source random-clip random-intersections-eo random-intersections-nonzero random-intersections-curves-eo random-intersections-curves-nz raster-source record-paint record-paint-alpha record-paint-alpha-solid-clip record-paint-alpha-clip record-paint-alpha-clip-mask record-fill-alpha record-select-font-face record-self-intersecting record-text-transform record1414x-paint record1414x-paint-alpha record1414x-paint-alpha-solid-clip record1414x-paint-alpha-clip record1414x-paint-alpha-clip-mask record1414x-fill-alpha record1414x-select-font-face record1414x-self-intersecting record1414x-text-transform record2x-paint record2x-paint-alpha record2x-paint-alpha-solid-clip record2x-paint-alpha-clip record2x-paint-alpha-clip-mask record2x-fill-alpha record2x-select-font-face record2x-self-intersecting record2x-text-transform record90-paint record90-paint-alpha record90-paint-alpha-solid-clip record90-paint-alpha-clip record90-paint-alpha-clip-mask record90-fill-alpha record90-select-font-face record90-self-intersecting record90-text-transform recordflip-whole-paint recordflip-whole-paint-alpha-clip-mask recordflip-whole-fill-alpha recordflip-whole-select-font-face recordflip-whole-self-intersecting recordflip-whole-text-transform recordflip-paint recordflip-paint-alpha recordflip-paint-alpha-solid-clip recordflip-paint-alpha-clip recordflip-paint-alpha-clip-mask recordflip-fill-alpha recordflip-select-font-face recordflip-self-intersecting recordflip-text-transform record-extend-none record-extend-pad record-extend-repeat record-extend-reflect record-extend-none-similar record-extend-pad-similar record-extend-repeat-similar record-extend-reflect-similar record-mesh recording-surface-over recording-surface-source recording-surface-extend-none recording-surface-extend-repeat recording-surface-extend-reflect rectilinear-dash-scale-unaligned clip-rotate-image-surface-paint rotate-clip-image-surface-paint rotated-clip scale-offset-similar stroke-clipped stroke-image smask smask-text spline-decomposition surface-pattern-big-scale-down text-pattern text-rotate text-transform tighten-bounds tiger trap-clip twin unbounded-operator unclosed-strokes user-font user-font-proxy user-font-rescale world-map world-map-stroke world-map-fill pthread-same-source pthread-similar ft-text-vertical-layout-type1 pdf-surface-source ps-surface-source svg-surface-source
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
$ grep Mem /proc/meminfo
MemTotal: 264288868 kB
MemFree: 219463668 kB
$ uname -a
Linux xxxxxxxx 2.6.32-431.29.2.el6.x86_64 #1 SMP Sun Jul 27 15:55:46 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
$ grep name /proc/cpuinfo | head -1
model name : Intel(R) Xeon(R) CPU E5-2643 v3 @ 3.40GHz
I'm attempting to build freetype 2.8.1, which requires harfbuzz (1.7.2), which requires cairo (1.14.12), which requires pixman (0.34.0). Freetype is intended for a non-standard prefix, so I'm building everything from source.
Pixman built fine and is installed in the prefix and pkg-config knows about it (make test passed but nothing else has been done with it).
Cairo was finding libiberty.h from /usr/include and complaining about PARAMS. So I added CPPFLAGS to the configure line, like this:
CONFIGURE_SHELL="/bin/bash" ./configure \
--prefix=$PREFIX CC=$CC \
CPPFLAGS=-I$PREFIX/lib/gcc/x86_64-pc-linux-gnu/$GCCVER/plugin/include
And from there I get through everything except make test fails.
I built the same packages in the same order exactly the same way (using a build script) on RHEL 7.3 without problem, so I'm perfectly willing to be told that some hidden dependency on RHEL 6.5 is being insufficiently met.
I just need to understand what it is :)
Thanks for your help. I can't upload the entire log, it's on a disconnected system from which I can only copy/paste snippets.