Subject: pkg/33686: fontconfig-2.3.2 fails build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <scole@sdf.lonestar.org>
List: pkgsrc-bugs
Date: 06/10/2006 05:05:00
>Number: 33686
>Category: pkg
>Synopsis: fontconfig-2.3.2 fails build
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 10 05:05:00 +0000 2006
>Originator: s
>Release: darwin pkgsrc
>Organization:
>Environment:
Darwin goofy 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
fontconfig fails to build, I would guess it is some problem with buildlink and freetype2:
[snipped]...
gcc -pipe -DHAVE_CONFIG_H -I. -I.. -I/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.buildlink/in
clude/freetype2 -I/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.buildlink/include -Wall -Wpointe
r-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-st
rict-aliasing -DFONTCONFIG_PATH=\"/Volumes/NetBSD/pkg/etc/fontconfig\" -I../src -no-cpp-precomp
-O2 -MT fcdir.lo -MD -MP -MF .deps/fcdir.Tpo -c fcdir.c -fno-common -DPIC -o .libs/fcdir.o
gcc -pipe -DHAVE_CONFIG_H -I. -I.. -I/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.buildlink/in
clude/freetype2 -I/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.buildlink/include -Wall -Wpointe
r-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-st
rict-aliasing -DFONTCONFIG_PATH=\"/Volumes/NetBSD/pkg/etc/fontconfig\" -I../src -no-cpp-precomp
-O2 -MT fcdir.lo -MD -MP -MF .deps/fcdir.Tpo -c fcdir.c -o fcdir.o >/dev/null 2>&1
if /bin/sh ../libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -I. -I. -I.. -I/Volumes/NetBSD/pk
g/include/freetype2 -I/Volumes/NetBSD/pkg/include -I/Volumes/NetBSD/pkg/include -Wall -Wpointer-
arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -DFONTCONFIG_PATH='"/Volumes/NetBSD/pkg/etc/fontconfig"' -I.. -I../src -n
o-cpp-precomp -I/usr/include -I/Volumes/NetBSD/pkg/include -I/Volumes/NetBSD/pkg/include/freetyp
e2 -O2 -I/usr/include -I/Volumes/NetBSD/pkg/include -I/Volumes/NetBSD/pkg/include/freetype2 -MT
fcfreetype.lo -MD -MP -MF ".deps/fcfreetype.Tpo" \
-c -o fcfreetype.lo `test -f 'fcfreetype.c' || echo './'`fcfreetype.c; \
then mv -f ".deps/fcfreetype.Tpo" ".deps/fcfreetype.Plo"; \
else rm -f ".deps/fcfreetype.Tpo"; exit 1; \
fi
gcc -pipe -DHAVE_CONFIG_H -I. -I.. -I/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.buildlink/in
clude/freetype2 -I/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.buildlink/include -Wall -Wpointe
r-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-st
rict-aliasing -DFONTCONFIG_PATH=\"/Volumes/NetBSD/pkg/etc/fontconfig\" -I../src -no-cpp-precomp
-O2 -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c -fno-common -DPIC -o .li
bs/fcfreetype.o
fcfreetype.c:53:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:58:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:59:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:60:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c: In function `FcGetPixelSize':
fcfreetype.c:958: error: dereferencing pointer to incomplete type
fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:1435: error: dereferencing pointer to incomplete type
fcfreetype.c:1442: error: dereferencing pointer to incomplete type
fcfreetype.c:1465: error: dereferencing pointer to incomplete type
fcfreetype.c:1545: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: warning: implicit declaration of function `FT_MODULE_CLASS'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of `->'
fcfreetype.c:1599: error: dereferencing pointer to incomplete type
fcfreetype.c:1609: error: dereferencing pointer to incomplete type
fcfreetype.c:1668:2: warning: #warning "No FT_Get_Next_Char: Please install freetype version 2.1
.0 or newer"
fcfreetype.c: In function `GetScriptTags':
fcfreetype.c:2710: error: `TT_Face' undeclared (first use in this function)
fcfreetype.c:2710: error: (Each undeclared identifier is reported only once
fcfreetype.c:2710: error: for each function it appears in.)
fcfreetype.c:2710: error: parse error before "tt_face"
fcfreetype.c:2719: error: `tt_face' undeclared (first use in this function)
fcfreetype.c:2722: warning: implicit declaration of function `FT_STREAM_POS'
fcfreetype.c:2726: warning: implicit declaration of function `FT_STREAM_SEEK'
fcfreetype.c:2726: warning: implicit declaration of function `FT_FRAME_ENTER'
fcfreetype.c:2729: warning: implicit declaration of function `FT_GET_USHORT'
fcfreetype.c:2731: warning: implicit declaration of function `FT_FRAME_EXIT'
fcfreetype.c:2747: warning: implicit declaration of function `FT_SET_ERROR'
fcfreetype.c:2747: warning: implicit declaration of function `FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: error: parse error before "FT_ULong"
fcfreetype.c:2756: warning: implicit declaration of function `FT_GET_ULONG'
fcfreetype.c:2787: warning: implicit declaration of function `FT_FREE'
fcfreetype.c:2714: warning: unused variable `memory'
fcfreetype.c: In function `FcFontCapabilities':
fcfreetype.c:2800: warning: unused variable `memory'
gnumake[2]: *** [fcfreetype.lo] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/fonts/fontconfig
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.work.log
===>
*** Error code 1
Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/fonts/fontconfig
>How-To-Repeat:
cd .../pkgsrc/fonts/fontconfig && sudo bmake
>Fix: