Subject: pkg/22587: freetype2 package has broken headers
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Christoph_Egger@gmx.de>
List: netbsd-bugs
Date: 08/24/2003 16:27:05
>Number: 22587
>Category: pkg
>Synopsis: freetype2 package has broken headers
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 24 12:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Christoph Egger
>Release: NetBSD 1.6.1_STABLE
>Organization:
>Environment:
System: NetBSD athene.eggernet.de 1.6.1_STABLE NetBSD 1.6.1_STABLE (MYKERNEL) #4: Sun Aug 17 15:29:05 CEST 2003 root@athene.eggernet.de:/usr/src-1.6/sys/arch/i386/compile/MYKERNEL i386
Architecture: i386
Machine: i386
>Description:
The freetype2 package from pkgsrc-current is unuseable due to broken headers.
This is the gcc error:
/usr/pkg/include/freetype2/freetype/ftglyph.h:104: parse error before `FT_Librar
y'
/usr/pkg/include/freetype2/freetype/ftglyph.h:104: warning: no semicolon at end
of struct or union
/usr/pkg/include/freetype2/freetype/ftglyph.h:106: parse error before `format'
/usr/pkg/include/freetype2/freetype/ftglyph.h:106: warning: type defaults to `in
t' in declaration of `format'
/usr/pkg/include/freetype2/freetype/ftglyph.h:106: warning: data definition has
no type or storage class
/usr/pkg/include/freetype2/freetype/ftglyph.h:107: parse error before `advance'
/usr/pkg/include/freetype2/freetype/ftglyph.h:107: warning: type defaults to `in
t' in declaration of `advance'
...
>How-To-Repeat:
The error is easily reproduceable by trying to compile piggy's freetype module.
piggy is a new python language binding for the GGI project.
piggy requres the libggi package from graphics/libggi
and then you need piggy of course.
You can get piggy via cvs:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ggi login
(Simply type Enter, when prompted for a password)
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ggi co wrappers/piggy
To compile the libgii and libggi bindings type:
python2.2 setup.py build_ext --include-dirs=/usr/pkg/include --lib-dirs=/usr/pkg/lib
python2.2 setup.py install
Then this is the command, I get the error I am complaining
python2.2 ft2setup.py build_ext --include-dirs=/usr/pkg/include:/usr/pkg/include/freetype2 --lib-dirs=/usr/pkg/lib 2>&1 | less
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: