Subject: pkg/22701: fontconfig 2.2.1 does not compile
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <adrianp@stidustries.net>
List: netbsd-bugs
Date: 09/06/2003 07:22:35
>Number:         22701
>Category:       pkg
>Synopsis:       fontconfig 2.2.1 does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 06 07:23:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Portelli
>Release:        1.6.1 i386
>Organization:
STIndustries
>Environment:
NetBSD homer.stindustries.org.uk 1.6.1 NetBSD 1.6.1 (HOMER) #0: Sat Aug 16 17:25:05 BST 2003     root@homer.stindustries.org.uk:/usr/src/sys/arch/i386/compile/HOMER i386

>Description:
fontconfig 2.2.1 is not compiling correctly.  It appears as though it can't find the required include files from freetype2.  This is the error message from a make of the package.  This package was updated on 2003-08-31 by wiz@ but I don't know if the problem existed before then.

$ make
===> Checking for vulnerabilities in fontconfig-2.2.1
=> Checksum OK for fontconfig-2.2.1.tar.gz.
===> Extracting for fontconfig-2.2.1
===> Required installed package freetype2>=2.1.3: freetype2-2.1.4 found
===> Required installed package expat>=1.95.2: expat-1.95.6nb1 found
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb14 found
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
===> Patching for fontconfig-2.2.1
===> Applying pkgsrc patches for fontconfig-2.2.1
===> Overriding tools for fontconfig-2.2.1
===> Buildlinking for fontconfig-2.2.1
===> Configuring for fontconfig-2.2.1
creating cache ./config.cache
.....
creating config.h
===> Building for fontconfig-2.2.1
cd . && autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.in'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/usr/pkgsrc/fonts/fontconfig/work/fontconfig-2.2.1'
Making all in fontconfig
gmake[2]: Entering directory `/usr/pkgsrc/fonts/fontconfig/work/fontconfig-2.2.1/fontconfig'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/pkgsrc/fonts/fontconfig/work/fontconfig-2.2.1/fontconfig'
Making all in fc-lang
gmake[2]: Entering directory `/usr/pkgsrc/fonts/fontconfig/work/fontconfig-2.2.1/fc-lang'
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/X11R6/include/freetype2  -I/usr/pkg/include  -O2 -I/usr/pkg/include -c fc-lang.c
In file included from ../src/fcint.h:39,
                 from fc-lang.c:25:
../fontconfig/fcfreetype.h:27: freetype/freetype.h: No such file or directory
gmake[2]: *** [fc-lang.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/fonts/fontconfig/work/fontconfig-2.2.1/fc-lang'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/fonts/fontconfig/work/fontconfig-2.2.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/fonts/fontconfig
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/fonts/fontconfig


>How-To-Repeat:
cd pkgsrc/font/fontconfig && make
>Fix:
Don't know.  I looked through the Makefiles and traced the error back to the source but I can't see anything that's causing it.
>Release-Note:
>Audit-Trail:
>Unformatted: