Bug 8739

Summary: Error in Pixman when compiling Cairo 1.2.4
Product: cairo Reporter: Steve Johns <sgjohns>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: critical    
Priority: highest    
Version: 1.2.4   
Hardware: SGI   
OS: IRIX   
Whiteboard:
i915 platform: i915 features:
Attachments: The configuration log
Oops, wrong config.log uploaded. Here is the correct file.

Description Steve Johns 2006-10-23 10:55:57 UTC
Cairo build fails when attempting to compile Pixman.

# gmake
gmake  all-recursive
gmake[1]: Entering directory `/export/source/compile/gnome/cairo-1.2.0'
Making all in pixman
gmake[2]: Entering directory `/export/source/compile/gnome/cairo-1.2.0/pixman'
Making all in src
gmake[3]: Entering directory `/export/source/compile/gnome/cairo-
1.2.0/pixman/sr
c'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -
I.
./.. -I../.. -I. -Wall -Wpointer-arith -Wstrict-prototypes      -Wmissing-
protot
ypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing    -g -O2
-MT pixregion.lo -MD -MP -MF ".deps/pixregion.Tpo" -c -o pixregion.lo 
pixregion.
c; \
        then mv -f ".deps/pixregion.Tpo" ".deps/pixregion.Plo"; else rm -
f ".dep
s/pixregion.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -Wall -Wpointer-arith -
Wstrict-
prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-
str
ict-aliasing -g -O2 -MT pixregion.lo -MD -MP -MF .deps/pixregion.Tpo -c 
pixregio
n.c  -DPIC -o .libs/pixregion.o
In file included from pixregionint.h:49,
                 from pixregion.c:52:
pixman.h:282: error: parse error before "pixman_bits_t"
pixman.h:282: warning: type defaults to `int' in declaration of `pixman_bits_t'
pixman.h:282: warning: data definition has no type or storage class
pixman.h:286: error: parse error before '*' token
pixman.h:289: warning: function declaration isn't a prototype
pixman.h:298: error: parse error before "pixman_fixed16_16_t"
pixman.h:298: warning: type defaults to `int' in declaration of 
`pixman_fixed16_
16_t'
pixman.h:298: warning: data definition has no type or storage class
pixman.h:301: error: parse error before "pixman_fixed16_16_t"
pixman.h:301: warning: no semicolon at end of struct or union
pixman.h:302: warning: type defaults to `int' in declaration of 
`pixman_point_fi
xed_t'
pixman.h:302: warning: data definition has no type or storage class
pixman.h:305: error: parse error before "pixman_point_fixed_t"
pixman.h:305: warning: no semicolon at end of struct or union
pixman.h:306: warning: type defaults to `int' in declaration of 
`pixman_line_fix
ed_t'
pixman.h:306: warning: data definition has no type or storage class
pixman.h:317: error: parse error before "pixman_point_fixed_t"
pixman.h:317: warning: no semicolon at end of struct or union
pixman.h:318: warning: type defaults to `int' in declaration of 
`pixman_triangle
_t'
pixman.h:318: warning: data definition has no type or storage class
pixman.h:321: error: parse error before "pixman_fixed16_16_t"
pixman.h:321: warning: no semicolon at end of struct or union
pixman.h:322: warning: type defaults to `int' in declaration of `left'
pixman.h:322: warning: type defaults to `int' in declaration of `right'
pixman.h:322: warning: data definition has no type or storage class
pixman.h:323: error: parse error before '}' token
pixman.h:323: warning: type defaults to `int' in declaration of 
`pixman_trapezoi
d_t'
pixman.h:323: warning: data definition has no type or storage class
pixman.h:326: error: parse error before "pixman_fixed16_16_t"
pixman.h:326: warning: no semicolon at end of struct or union
pixman.h:327: warning: type defaults to `int' in declaration of 
`pixman_vector_t
'
pixman.h:327: warning: data definition has no type or storage class
pixman.h:330: error: parse error before "pixman_fixed16_16_t"
pixman.h:330: warning: no semicolon at end of struct or union
pixman.h:331: warning: type defaults to `int' in declaration of 
`pixman_transfor
m_t'
pixman.h:331: warning: data definition has no type or storage class
pixman.h:341: error: parse error before "pixman_fixed16_16_t"
pixman.h:341: warning: no semicolon at end of struct or union
pixman.h:343: error: parse error before '}' token
pixman.h:343: warning: type defaults to `int' in declaration of 
`pixman_gradient
_stop_t'
pixman.h:343: warning: data definition has no type or storage class
pixman.h:346: error: parse error before "pixman_fixed16_16_t"
pixman.h:346: warning: no semicolon at end of struct or union
pixman.h:347: warning: type defaults to `int' in declaration of `y'
pixman.h:347: warning: data definition has no type or storage class
pixman.h:348: error: parse error before "radius"
pixman.h:348: warning: type defaults to `int' in declaration of `radius'
pixman.h:348: warning: data definition has no type or storage class
pixman.h:349: warning: type defaults to `int' in declaration of 
`pixman_circle_t
'
pixman.h:349: warning: data definition has no type or storage class
pixman.h:352: error: parse error before "pixman_point_fixed_t"
pixman.h:352: warning: no semicolon at end of struct or union
pixman.h:353: warning: type defaults to `int' in declaration of `p2'
pixman.h:353: warning: data definition has no type or storage class
pixman.h:354: warning: type defaults to `int' in declaration of 
`pixman_linear_g
radient_t'
pixman.h:354: warning: data definition has no type or storage class
pixman.h:357: error: parse error before "pixman_circle_t"
pixman.h:357: warning: no semicolon at end of struct or union
pixman.h:358: warning: type defaults to `int' in declaration of `outer'
pixman.h:358: warning: data definition has no type or storage class
pixman.h:359: warning: type defaults to `int' in declaration of 
`pixman_radial_g
radient_t'
pixman.h:359: warning: data definition has no type or storage class
pixman.h:375: error: parse error before "pixman_transform_t"
pixman.h:375: warning: function declaration isn't a prototype
pixman.h:408: error: parse error before '*' token
pixman.h:409: warning: type defaults to `int' in declaration of 
`_cairo_pixman_i
mage_get_data'
pixman.h:409: warning: data definition has no type or storage class
pixman.h:412: warning: type defaults to `int' in declaration of 
`pixman_linear_g
radient_t'
pixman.h:412: error: parse error before '*' token
pixman.h:414: warning: function declaration isn't a prototype
pixman.h:417: warning: type defaults to `int' in declaration of 
`pixman_radial_g
radient_t'
pixman.h:417: error: parse error before '*' token
pixman.h:419: warning: function declaration isn't a prototype
pixman.h:426: error: parse error before "pixman_bits_t"
pixman.h:426: warning: function declaration isn't a prototype
pixman.h:430: error: parse error before "pixman_bits_t"
pixman.h:431: warning: function declaration isn't a prototype
pixman.h:459: warning: type defaults to `int' in declaration of 
`pixman_trapezoi
d_t'
pixman.h:459: error: parse error before '*' token
pixman.h:460: warning: function declaration isn't a prototype
pixman.h:466: warning: type defaults to `int' in declaration of 
`pixman_trapezoi
d_t'
pixman.h:466: error: parse error before '*' token
pixman.h:467: warning: function declaration isn't a prototype
pixman.h:477: warning: type defaults to `int' in declaration of 
`pixman_triangle
_t'
pixman.h:477: error: parse error before '*' token
pixman.h:478: warning: function declaration isn't a prototype
pixman.h:486: warning: type defaults to `int' in declaration of 
`pixman_point_fi
xed_t'
pixman.h:486: error: parse error before '*' token
pixman.h:487: warning: function declaration isn't a prototype
pixman.h:495: warning: type defaults to `int' in declaration of 
`pixman_point_fi
xed_t'
pixman.h:495: error: parse error before '*' token
pixman.h:496: warning: function declaration isn't a prototype
gmake[3]: *** [pixregion.lo] Error 1
gmake[3]: Leaving directory `/export/source/compile/gnome/cairo-
1.2.0/pixman/src
'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/source/compile/gnome/cairo-1.2.0/pixman'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/source/compile/gnome/cairo-1.2.0'
gmake: *** [all] Error 2
Comment 1 Behdad Esfahbod 2006-10-23 12:42:25 UTC
What version of gcc do you have?  What distro is it?
Comment 2 Steve Johns 2006-10-23 19:58:08 UTC
Created attachment 7499 [details]
The configuration log

Here is a copy of my config.log from the build attempt which failed.
Comment 3 Steve Johns 2006-10-23 20:11:20 UTC
(In reply to comment #1)
> What version of gcc do you have?  What distro is it?

I am using GCC3.3 under Irix 6.5.22. I have attached the config.log from this 
build attempt.

Comment 4 Steve Johns 2006-10-23 20:32:56 UTC
Created attachment 7500 [details]
Oops, wrong config.log uploaded. Here is the correct file.
Comment 5 Benjamin Close 2008-01-11 02:35:42 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 6 Chris Wilson 2008-10-12 03:45:30 UTC
The report is obsolete; the code has changed too much in the interval (i.e. pixman_bits_t itself has been removed) that it is impossible to work out on the basis of this report whether there are likely to be issues with compiling pixman on IRIX today.

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.