Subject: pkg/32407: cairo build error on interix, pkgsrc-2005Q4
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/29/2005 06:45:00
>Number:         32407
>Category:       pkg
>Synopsis:       cairo build error on interix, pkgsrc-2005Q4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 29 06:45:00 +0000 2005
>Originator:     philippe sam-long
>Release:        pkgsrc-2005Q4
Interix world-2li7opxhk 3.5 SP-8.0.1969.36 x86 AMD Athlon/Duron
gcc -D_ALL_SOURCE -DHAVE_CONFIG_H -I. -I../.. -I/usr/pkgsrc/graphics/cairo/work
/.buildlink/include -I/usr/pkgsrc/graphics/cairo/work/.buildlink/include/freetype2 -DGLX_GLXEXT_LEGACY -O -MT pixregion.lo -MD -MP -MF .deps/pixregion.Tpo -c pixregion.c -DPIC -o .libs/pixregion.o
In file included from pixregionint.h:52,
from pixregion.c:53:
pixman.h:98:21: stdint.h: No such file or directory

when compiling cairo. Cairo now uses its own version of (broken) pixman, so now the pixman package dependancy is not required any more for cairo.

gcc -D_ALL_SOURCE -DHAVE_CONFIG_H -I. -I.. -I../pixman/src -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 -D_REENTRANT -DGLX_GLXEXT_LEGACY -O -MT cairo.lo -MD -MP -MF .deps/cairo.Tpo -c cairo.c -DPIC -o .libs/cairo.o
In file included from cairoint.h:180,
from cairo.c:38:
cairo-wideint.h:60:2: #error Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)

after applying an equivalent of the patch found in pkgsrc for libpixman.
cd /usr/pkgsrc/graphics/cairo && bmake clean && bmake install