Subject: pkg/29331: graphics/cairo fails to build with glitz-0.4.0
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lems@gmx.net>
List: pkgsrc-bugs
Date: 02/10/2005 21:18:00
>Number: 29331
>Category: pkg
>Synopsis: graphics/cairo fails to build with glitz-0.4.0
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 10 21:18:00 +0000 2005
>Originator: Leonard Schmidt
>Release: NetBSD 2.0_STABLE
>Organization:
>Environment:
NetBSD kafka 2.0_STABLE NetBSD 2.0_STABLE (THEWIRED) #1: Thu Feb 10 14:04:19 GMT 2005 lems@kafka:/usr/src/sys/arch/i386/compile/THEWIRED i386
>Description:
Building graphics/cairo fails with glitz version 0.4.0, since the code is currently out of sync.
>How-To-Repeat:
update glitz to version 0.4.0 and try to build graphics/cairo.
The error message:
cc -DHAVE_CONFIG_H -I. -I.. -DXTHREADS -I/usr/pkgsrc/graphics/cairo/work/.buildlink/include -I/usr/pkgsrc/graphics/cairo/work/.x11-buildlink/include -I/usr/pkgsrc/graphics/cairo/work/.buildlink/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DGLX_GLXEXT_LEGACY -O2 -Os -pipe -march=i686 -MT cairo_glitz_surface.lo -MD -MP -MF .deps/cairo_glitz_surface.Tpo -c cairo_glitz_surface.c -fPIC -DPIC -o .libs/cairo_glitz_surface.o
cairo_glitz_surface.c: In function `_cairo_glitz_surface_get_image':
cairo_glitz_surface.c:122: error: structure has no member named `red_size'
cairo_glitz_surface.c:125: error: structure has no member named `alpha_size'
cairo_glitz_surface.c: In function `_glitz_operator':
cairo_glitz_surface.c:310: error: `GLITZ_OPERATOR_SATURATE' undeclared (first use in this function)
cairo_glitz_surface.c:310: error: (Each undeclared identifier is reported only once
cairo_glitz_surface.c:310: error: for each function it appears in.)
cairo_glitz_surface.c: In function `_glitz_surface_create_solid':
cairo_glitz_surface.c:325: warning: implicit declaration of function `glitz_surface_find_similar_standard_format'
cairo_glitz_surface.c:325: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c:329: warning: implicit declaration of function `glitz_surface_create_similar'
cairo_glitz_surface.c:329: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c: In function `_cairo_glitz_surface_create_similar':
cairo_glitz_surface.c:354: error: structure has no member named `read'
cairo_glitz_surface.c:355: error: `GLITZ_FORMAT_READ_OFFSCREEN_MASK' undeclared (first use in this function)
cairo_glitz_surface.c:358: error: structure has no member named `draw'
cairo_glitz_surface.c:359: error: `GLITZ_FEATURE_OFFSCREEN_MULTISAMPLE_MASK' undeclared (first use in this function)
cairo_glitz_surface.c:360: error: structure has no member named `multisample'
cairo_glitz_surface.c:360: error: structure has no member named `multisample'
cairo_glitz_surface.c:361: error: `GLITZ_FORMAT_MULTISAMPLE_SAMPLES_MASK' undeclared (first use in this function)
cairo_glitz_surface.c:364: error: structure has no member named `draw'
cairo_glitz_surface.c:366: error: `GLITZ_FORMAT_DRAW_OFFSCREEN_MASK' undeclared (first use in this function)
cairo_glitz_surface.c:371: error: structure has no member named `alpha_size'
cairo_glitz_surface.c:375: error: structure has no member named `red_size'
cairo_glitz_surface.c:380: error: structure has no member named `alpha_size'
cairo_glitz_surface.c:380: error: structure has no member named `red_size'
cairo_glitz_surface.c:387: warning: implicit declaration of function `glitz_surface_find_similar_format'
cairo_glitz_surface.c:387: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c:391: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c:397: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c: In function `_glitz_composite':
cairo_glitz_surface.c:457: warning: passing arg 4 of `glitz_set_geometry' from incompatible pointer type
cairo_glitz_surface.c:457: error: too many arguments to function `glitz_set_geometry'
cairo_glitz_surface.c:468: error: too many arguments to function `glitz_set_geometry'
cairo_glitz_surface.c: In function `_cairo_glitz_surface_fill_rectangles':
cairo_glitz_surface.c:558: error: union has no member named `mode'
cairo_glitz_surface.c:558: error: `GLITZ_GEOMETRY_MODE_DIRECT' undeclared (first use in this function)
cairo_glitz_surface.c:559: error: union has no member named `edge_hint'
cairo_glitz_surface.c:559: error: `GLITZ_GEOMETRY_EDGE_HINT_SHARP' undeclared (first use in this function)
cairo_glitz_surface.c:560: error: union has no member named `primitive'
cairo_glitz_surface.c:560: error: `GLITZ_GEOMETRY_PRIMITIVE_QUADS' undeclared (first use in this function)
cairo_glitz_surface.c:561: error: union has no member named `type'
cairo_glitz_surface.c:562: error: union has no member named `first'
cairo_glitz_surface.c:563: error: union has no member named `count'
cairo_glitz_surface.c: In function `_cairo_glitz_surface_composite_trapezoids':
cairo_glitz_surface.c:645: error: union has no member named `mode'
cairo_glitz_surface.c:645: error: `GLITZ_GEOMETRY_MODE_DIRECT' undeclared (first use in this function)
cairo_glitz_surface.c:646: error: union has no member named `edge_hint'
cairo_glitz_surface.c:646: error: `GLITZ_GEOMETRY_EDGE_HINT_GOOD_SMOOTH' undeclared (first use in this function)
cairo_glitz_surface.c:647: error: union has no member named `primitive'
cairo_glitz_surface.c:647: error: `GLITZ_GEOMETRY_PRIMITIVE_QUADS' undeclared (first use in this function)
cairo_glitz_surface.c:648: error: union has no member named `type'
cairo_glitz_surface.c:649: error: union has no member named `first'
cairo_glitz_surface.c:650: error: union has no member named `count'
cairo_glitz_surface.c: In function `cairo_glitz_surface_create':
cairo_glitz_surface.c:922: warning: implicit declaration of function `glitz_surface_get_features'
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-0.2.0/src
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-0.2.0
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-0.2.0
*** Error code 1
>Fix:
For now, disable glitz support in graphics/cairo.