Bug 4812

Summary: 51 of 56 tests failed on Solaris build of 1.0.0
Product: cairo Reporter: dave irkby <david.kirkby>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED WONTFIX QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.0.0   
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:

Description dave irkby 2005-10-19 14:55:59 UTC
I've tried to build cairo 1.0.0, but have a massive amount of failures, but
don't know why. 

Setup is Solaris 9 on Sun Ultra 80.
libpng-1.2.2 (any later seems to fail, but 1.2.2 passes all tests)
gcc 3.2.2
glib-2.8.3 (fails one test, but I gather it is unimportant and will always fail
on Solaris)

I configured cairo with:

configure LDFLAGS=-mimpure-text
as that switch is needed on Solaris. 

I have placed the config.log file at:

http://www.drkirkby.co.uk/config.log

Results of make check are below. As you can see, virtually all fail. 

sparrow /usr/local/src/cairo-1.0.0 # make check
Making check in pixman
Making check in src
Making check in src
Making check in doc
Making check in public
Making check in test
make  a8-mask caps-sub-paths  clip-nesting clip-operator  clip-twice 
composite-integer-translate-source  composite-integer-translate-over 
composite-integer-translate-over-repeat  create-from-png create-from-png-stream
 dash-offset-negative fill-and-stroke  fill-rule filter-nearest-offset 
get-and-set gradient-alpha  leaky-polygon line-width  linear-gradient mask
mask-ctm  mask-surface-ctm move-to-show-surface  nil-surface operator-clear 
operator-source paint  paint-with-alpha path-data  pixman-rotate
rectangle-rounding-error  scale-source-surface-paint  select-font-no-show-text
self-copy  self-intersecting set-source  show-text-current-point source-clip 
source-surface-scale-paint  surface-finish-twice surface-pattern 
text-antialias-gray text-antialias-none  text-antialias-subpixel
text-cache-crash  text-pattern text-rotate transforms  translate-show-surface
trap-clip  unantialiased-shapes unbounded-operator  user-data rel-path
ft-font-create-for-ft-face    xlib-surface
`a8-mask' is up to date.
`caps-sub-paths' is up to date.
`clip-nesting' is up to date.
`clip-operator' is up to date.
`clip-twice' is up to date.
`composite-integer-translate-source' is up to date.
`composite-integer-translate-over' is up to date.
`composite-integer-translate-over-repeat' is up to date.
`create-from-png' is up to date.
`create-from-png-stream' is up to date.
`dash-offset-negative' is up to date.
`fill-and-stroke' is up to date.
`fill-rule' is up to date.
`filter-nearest-offset' is up to date.
`get-and-set' is up to date.
`gradient-alpha' is up to date.
`leaky-polygon' is up to date.
`line-width' is up to date.
`linear-gradient' is up to date.
`mask' is up to date.
`mask-ctm' is up to date.
`mask-surface-ctm' is up to date.
`move-to-show-surface' is up to date.
`nil-surface' is up to date.
`operator-clear' is up to date.
`operator-source' is up to date.
`paint' is up to date.
`paint-with-alpha' is up to date.
`path-data' is up to date.
`pixman-rotate' is up to date.
`rectangle-rounding-error' is up to date.
`scale-source-surface-paint' is up to date.
`select-font-no-show-text' is up to date.
`self-copy' is up to date.
`self-intersecting' is up to date.
`set-source' is up to date.
`show-text-current-point' is up to date.
`source-clip' is up to date.
`source-surface-scale-paint' is up to date.
`surface-finish-twice' is up to date.
`surface-pattern' is up to date.
`text-antialias-gray' is up to date.
`text-antialias-none' is up to date.
`text-antialias-subpixel' is up to date.
`text-cache-crash' is up to date.
`text-pattern' is up to date.
`text-rotate' is up to date.
`transforms' is up to date.
`translate-show-surface' is up to date.
`trap-clip' is up to date.
`unantialiased-shapes' is up to date.
`unbounded-operator' is up to date.
`user-data' is up to date.
`rel-path' is up to date.
`ft-font-create-for-ft-face' is up to date.
`xlib-surface' is up to date.
make  check-TESTS

a8-mask is expected to fail:
        image backend fails because libpixman only handles (stride %
sizeof(pixman_bits) == 0)
ELFELFa8-mask-image:  XFAIL
a8-mask-xlib:   UNTESTED
FAIL: a8-mask

ELFELFcaps-sub-paths-image:   FAIL
caps-sub-paths-xlib:    UNTESTED
FAIL: caps-sub-paths

ELFELFclip-nesting-image:     FAIL
clip-nesting-xlib:      UNTESTED
FAIL: clip-nesting

clip-operator-image:    FAIL
clip-operator-xlib:     UNTESTED
FAIL: clip-operator

ELFELFclip-twice-image:       FAIL
clip-twice-xlib:        UNTESTED
FAIL: clip-twice

ELFELFcomposite-integer-translate-source-image:       FAIL
composite-integer-translate-source-xlib:        UNTESTED
FAIL: composite-integer-translate-source

ELFELFcomposite-integer-translate-over-image: FAIL
composite-integer-translate-over-xlib:  UNTESTED
FAIL: composite-integer-translate-over

ELFELFcomposite-integer-translate-over-repeat-image:  FAIL
composite-integer-translate-over-repeat-xlib:   UNTESTED
FAIL: composite-integer-translate-over-repeat

ELFcreate-from-png-image:      FAIL
create-from-png-xlib:   UNTESTED
FAIL: create-from-png

ELFcreate-from-png-image:      FAIL
create-from-png-xlib:   UNTESTED
FAIL: create-from-png-stream

ELFELFdash-offset-negative-image:     FAIL
dash-offset-negative-xlib:      UNTESTED
FAIL: dash-offset-negative

ELFELFfill-and-stroke-image:  FAIL
fill-and-stroke-xlib:   UNTESTED
FAIL: fill-and-stroke

ELFELFfill-rule-image:        FAIL
fill-rule-xlib: UNTESTED
FAIL: fill-rule

filter-nearest-offset is expected to fail:
        wrong sampling location for nearest-neighbor filter in libpixman and Render
ELFELFfilter-nearest-offset-image:    XFAIL
filter-nearest-offset-xlib:     UNTESTED
FAIL: filter-nearest-offset

get-and-set-image:      FAIL
get-and-set-xlib:       UNTESTED
FAIL: get-and-set

ELFELFgradient-alpha-image:   FAIL
gradient-alpha-xlib:    UNTESTED
FAIL: gradient-alpha

ELFELFleaky-polygon-image:    FAIL
leaky-polygon-xlib:     UNTESTED
FAIL: leaky-polygon

ELFELFline-width-image:       FAIL
line-width-xlib:        UNTESTED
FAIL: line-width

ELFELFlinear-gradient-image:  FAIL
linear-gradient-xlib:   UNTESTED
FAIL: linear-gradient

ELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFmask-image:
    FAIL
mask-xlib:      UNTESTED
FAIL: mask

ELFELFmask-ctm-image: FAIL
mask-ctm-xlib:  UNTESTED
FAIL: mask-ctm

ELFELFmask-surface-ctm-image: FAIL
mask-surface-ctm-xlib:  UNTESTED
FAIL: mask-surface-ctm

ELFELFmove-to-show-surface-image:     FAIL
move-to-show-surface-xlib:      UNTESTED
FAIL: move-to-show-surface

ELFELFnil-surface-image:      FAIL
nil-surface-xlib:       UNTESTED
FAIL: nil-surface

operator-clear-image:   FAIL
operator-clear-xlib:    UNTESTED
FAIL: operator-clear

operator-source-image:  FAIL
operator-source-xlib:   UNTESTED
FAIL: operator-source

ELFELFpaint-image:    FAIL
paint-xlib:     UNTESTED
FAIL: paint

ELFELFpaint-with-alpha-image: FAIL
paint-with-alpha-xlib:  UNTESTED
FAIL: paint-with-alpha

ELFELFpath-data-image:        FAIL
path-data-xlib: UNTESTED
FAIL: path-data

pixman-rotate is expected to fail:
        known off-by-one bug when rotating a pixman image
ELFELFpixman-rotate-image:    XFAIL
pixman-rotate-xlib:     UNTESTED
FAIL: pixman-rotate

ELFELFrectangle-rounding-error-image: FAIL
rectangle-rounding-error-xlib:  UNTESTED
FAIL: rectangle-rounding-error

ELFELFscale-source-surface-paint-image:       FAIL
scale-source-surface-paint-xlib:        UNTESTED
FAIL: scale-source-surface-paint

select-font-no-show-text-image: PASS
select-font-no-show-text-xlib:  UNTESTED
PASS: select-font-no-show-text

ELFELFself-copy-image:        FAIL
self-copy-xlib: UNTESTED
FAIL: self-copy

self-intersecting is expected to fail:
        Self-intersecting strokes are wrong due to incremental trapezoidization.
ELFELFself-intersecting-image:        XFAIL
self-intersecting-xlib: UNTESTED
FAIL: self-intersecting

ELFELFset-source-image:       FAIL
set-source-xlib:        UNTESTED
FAIL: set-source

show-text-current-point-image:  FAIL
show-text-current-point-xlib:   UNTESTED
FAIL: show-text-current-point

ELFELFsource-clip-image:      FAIL
source-clip-xlib:       UNTESTED
FAIL: source-clip

ELFELFsource-surface-scale-paint-image:       FAIL
source-surface-scale-paint-xlib:        UNTESTED
FAIL: source-surface-scale-paint

surface-finish-twice-image:     PASS
surface-finish-twice-xlib:      UNTESTED
PASS: surface-finish-twice

ELFELFsurface-pattern-image:  FAIL
surface-pattern-xlib:   UNTESTED
FAIL: surface-pattern

text-antialias-gray-image:      FAIL
text-antialias-gray-xlib:       UNTESTED
FAIL: text-antialias-gray

text-antialias-none-image:      FAIL
text-antialias-none-xlib:       UNTESTED
FAIL: text-antialias-none

text-antialias-subpixel-image:  FAIL
text-antialias-subpixel-xlib:   UNTESTED
FAIL: text-antialias-subpixel

text-cache-crash-image: FAIL
text-cache-crash-xlib:  UNTESTED
FAIL: text-cache-crash

text-pattern-image:     FAIL
text-pattern-xlib:      UNTESTED
FAIL: text-pattern

text-rotate is expected to fail:
        minor bugs in positioning rotated glyphs
text-rotate-image:      XFAIL
text-rotate-xlib:       UNTESTED
XFAIL: text-rotate

ELFELFtransforms-image:       FAIL
transforms-xlib:        UNTESTED
FAIL: transforms

ELFELFtranslate-show-surface-image:   FAIL
translate-show-surface-xlib:    UNTESTED
FAIL: translate-show-surface

ELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFELFtrap-clip-image:
       FAIL
trap-clip-xlib: UNTESTED
FAIL: trap-clip

ELFELFunantialiased-shapes-image:     FAIL
unantialiased-shapes-xlib:      UNTESTED
FAIL: unantialiased-shapes

unbounded-operator-image:       FAIL
unbounded-operator-xlib:        UNTESTED
FAIL: unbounded-operator
PASS: user-data

ELFELFrel-path-image: FAIL
rel-path-xlib:  UNTESTED
FAIL: rel-path

FAIL: ft-font-create-for-ft-face

PASS: xlib-surface
========================================================================
51 of 56 tests failed
Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
========================================================================
*** Error code 1
make: Fatal error: Command failed for target `check-TESTS'
Current working directory /usr/local/src/cairo-1.0.0/test
*** Error code 1
make: Fatal error: Command failed for target `check-am'
Current working directory /usr/local/src/cairo-1.0.0/test
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'
Comment 1 Carl Worth 2005-10-19 15:22:07 UTC
Could you examine the .log files for each of the failing tests?

Also it it successfully creating any output images? Look for *-out.png in the
test directory. It appears that the only tests that PASS are those that do not
create any output image, so something is clearly quite broken.

-Carl
Comment 2 Chris Wilson 2008-10-08 06:29:45 UTC
Doing a mass close of old make check failures. Thank you for taking the time to build and test cairo on your platform, it is most appreciated. So much has changed in the few years since these reports have been filed (and so little - we've still to integrate fonts within the test suite, though we do now have a viable alternative) that acting upon the information contained within is difficult. We have bold plans during the next development phase to improve the test suite further, which I hope will lead to more timely identification of failures and regressions (possibly even pinpointing bad patches). Again, thanks and please do let us know if we can improve cairo for you.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.