Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213490 - x11-libs/cairo-1.5.16 fails tests
Summary: x11-libs/cairo-1.5.16 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Doug Goldstein (RETIRED)
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-15 13:09 UTC by Hans de Graaff
Modified: 2008-08-15 10:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2008-03-15 13:09:47 UTC
It fails like this:

./cairo-array.c: * _cairo_user_data_array_get_data:
./cairo-array.c: * _cairo_user_data_array_set_data:
./cairo-arc.c: * _cairo_arc_path_negative:
./cairo.c: * _cairo_error:
./cairo.c: * _cairo_set_error:
./cairo.c: * Atomically sets cr->status to @status and calls _cairo_error;
Error: some function names in the docs are not followed by parentheses.
Fix this by searching for the following regexp in the above files:
	'^[/ ][*] .*\([^#]\|^\)\<\(cairo_[][<>/0-9a-z_]*\> \?[^][ <>(]\)'
FAIL: check-doc-syntax.sh
========================================================================
1 of 5 tests failed
Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
========================================================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/cairo-1.5.12/work/cairo-1.5.12/src'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/cairo-1.5.12/work/cairo-1.5.12/src'
make: *** [check-recursive] Error 1
Comment 1 Hans de Graaff gentoo-dev Security 2008-03-15 13:12:52 UTC
Already filed upstream as https://bugs.freedesktop.org/show_bug.cgi?id=15014
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2008-03-15 15:14:06 UTC
While this appears to be a shell scripting error instead of a cairo failures, you are using a pre-release version of cairo 1.6 where tests are known to fail. I can fix this and other tests will fail.
Comment 3 Hans de Graaff gentoo-dev Security 2008-04-05 08:42:54 UTC
This problem still occurs in cairo 1.5.16, but is now reported as fixed upstream since yesterday. It doesn't look like like a shell script error to me. The failure is caused by a shell script that nitpicks on the documentation.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2008-04-07 14:50:40 UTC
fixed in 1.5.18
Comment 5 Hans de Graaff gentoo-dev Security 2008-04-11 11:02:35 UTC
I'm still seeing this with cairo 1.5.20. I've also reported that on the upstream bug.
Comment 6 Hans de Graaff gentoo-dev Security 2008-04-12 06:56:15 UTC
Confirmed fixed with cairo 1.6.4.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2008-06-04 19:06:37 UTC
fixed with 1.6.4 
Comment 8 Euclid 2008-08-15 10:21:40 UTC
(In reply to comment #7)
> fixed with 1.6.4 
> 
cairo NOT FIXED WITH 1.6.4 WHAT IS GOING ON? 
Did you test in a new directory and do a clean build?
Hmm anti-pattern bug fix that introduces more hidden bugs?
Building with a separate source and object directories prevents rebuild contamination of the source directory i.e. where it is tared too.
../cairo-1.6.4/configure --yourOptions
make && make check
# This OUTPUT shows that a cairo test fail in version 1.6.4 too ------->
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_truetype_subset_init:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_truetype_subset_fini:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_type1_subset_init:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_type1_subset_fini:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_type1_scaled_font_is_type1:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_type1_fallback_init_binary:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_type1_fallback_init_hexencode:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_type1_fallback_fini:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_type2_charstrings_init:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_type2_charstrings_fini:
/home/math/dev/gnu_family/cairo-1.6.4/src/cairo-scaled-font-subsets-private.h: * _cairo_truetype_create_glyph_to_unicode_map:
Error: some function names in the docs are not followed by parentheses.
Fix this by searching for the following regexp in the above files:
        '^[/ ][*] .*\([^#]\|^\)\<\(cairo_[][<>/0-9a-z_]*\> \?[^][ <>(]\)'
FAIL: check-doc-syntax.sh
========================================================================
1 of 5 tests failed
Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
========================================================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/math/dev/gnu_family/obj/cairo164/src'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/math/dev/gnu_family/obj/cairo164/src'
make: *** [check-recursive] Error 1

Comment 9 Euclid 2008-08-15 10:22:58 UTC
 PLEASE FIX FOR REAL