Subject: pkg/23408: fonts/fontconf fails to build on OS/X
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mlh@goathill.org>
List: netbsd-bugs
Date: 11/10/2003 12:18:42
>Number:         23408
>Category:       pkg
>Synopsis:       fonts/fontconf fails to build on OS/X
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 10 18:19:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     MLH
>Release:        Darwin 7.0.0 Darwin Kernel Version 7.0.0
>Organization:
None
	
>Environment:
	
	
Darwin 7.0.0 Darwin Kernel Version 7.0.0: Wed Sep 24 15:48:39 PDT
2003; root:xnu/xnu-517.obj~1/RELEASE_PPC  Power Macintosh powerpc
>Description:
OS/X dynamic libraries are not being built properly for fonts/fontconf

===> Extracting for fontconfig-2.2.1nb2
===> Required installed package zlib>=1.1.4nb1: zlib-1.1.4nb1 found
===> Required installed package expat>=1.95.4: expat-1.95.6nb1 found
===> Required installed package libtool-base>=1.4.20010614nb16: libtool-base-1.4.20010614nb16 found
===> Required installed package x11-links>=0.17: x11-links-0.18 found
===> Patching for fontconfig-2.2.1nb2
===> Applying pkgsrc patches for fontconfig-2.2.1nb2
===> Overriding tools for fontconfig-2.2.1nb2
===> Buildlinking for fontconfig-2.2.1nb2
ranlib: warning for library: .libs/libfreetype.a the table of contents is empty (no object file members in the library define global symbols)
ranlib: warning for library: /usr/pkgsrc/fonts/fontconfig/work.MAC300/.buildlink/.tmp/inst/libfreetype.a the table of contents is empty (no object file members in the library define global symbols)
===> Configuring for fontconfig-2.2.1nb2
...
Making all in fc-cache
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/X11R6/include/freetype2  -I/usr/X11R6/include/freetype2 -no-cpp-precomp -I/usr/pkg/include -I/usr/X11R6/include  -O2 -I/usr/pkg/include -I/usr/X11R6/include -c fc-cache.c
/bin/sh ../libtool --mode=link gcc  -O2 -I/usr/pkg/include -I/usr/X11R6/include -L/usr/pkg/lib -L/usr/X11R6/lib -o fc-cache  fc-cache.o ../src/libfontconfig.la 
mkdir .libs
gcc -O2 -I/usr/pkgsrc/fonts/fontconfig/work.MAC300/.buildlink/include -I/usr/pkgsrc/fonts/fontconfig/work.MAC300/.buildlink-x11/include -o .libs/fc-cache fc-cache.o  -L/usr/pkgsrc/fonts/fontconfig/work.MAC300/.buildlink/lib -L/usr/pkgsrc/fonts/fontconfig/work.MAC300/.buildlink-x11/lib -L../src/.libs -lfontconfig -L/usr/X11R6/lib -lfreetype -L/usr/pkg/lib -lexpat
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _XML_ParseBuffer used from dynamic library /usr/X11R6/lib/libexpat.1.dylib(xmlparse.o) not from earlier dynamic library /usr/pkg/lib/libexpat.4.dylib(libexpat.4.0.dylib-master.o)
...
symbol _XmlPrologStateInit used from dynamic library /usr/X11R6/lib/libexpat.1.dylib(xmlrole.o) not from earlier dynamic library /usr/pkg/lib/libexpat.4.dylib(libexpat.4.0.dylib-master.o)
symbol _XmlPrologStateInitExternalEntity used from dynamic library /usr/X11R6/lib/libexpat.1.dylib(xmlrole.o) not from earlier dynamic library /usr/pkg/lib/libexpat.4.dylib(libexpat.4.0.dylib-master.o)
ld: Undefined symbols:
_FcConfigEnableHome
gnumake[2]: *** [fc-cache] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all-recursive-am] Error 2
*** Error code 2

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

>How-To-Repeat:
pkgsrc - make pkgsrc/fonts/fontconf
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: