Bug 8175 - build fails on darwin 10.2
Summary: build fails on darwin 10.2
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.3
Hardware: PowerPC Mac OS X (All)
: high blocker
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 8100
  Show dependency treegraph
 
Reported: 2006-09-07 12:10 UTC by paul
Modified: 2007-01-23 20:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description paul 2006-09-07 12:10:18 UTC
sh /Source/fontconfig/fontconfig/src/makealias
"/Source/fontconfig/fontconfig/src"
/Source/fontconfig/fontconfig/fontconfig/fontconfig.h
/Source/fontconfig/fontconfig/fontconfig/fcfreetype.h
/Source/fontconfig/fontconfig/fontconfig/fcprivate.h
sed: 1: "/^FcPublic /,+1p": expected context address
Comment 1 Keith Packard 2006-09-07 14:25:03 UTC
Unless you've got a good plan to fix the script, I'll just disable it on
non-Linux platforms; I don't even know if the results are useful to you.
Comment 2 Keith Packard 2006-09-07 14:39:17 UTC
ok, I've replaced the weird sed command with a simple grep that should work fine.
Comment 3 paul 2006-09-07 14:54:54 UTC
does get the build back up and running, except for
/usr/bin/glibtool --tag=CC --mode=link gcc  -arch ppc -g  -pipe -no-cpp-precomp
  -arch ppc             -o fc-cache  fc-cache.o -lfreetype -lz  -lexpat
../src/libfontconfig.la 
mkdir .libs
gcc -arch ppc -g -pipe -no-cpp-precomp -arch ppc -o .libs/fc-cache fc-cache.o 
../src/.libs/libfontconfig.1.1.0.dylib /usr/lib/libfreetype.6.3.10.dylib -lz
/usr/lib/libexpat.1.5.0.dylib 
ld: Undefined symbols:
_FcCacheNumFont
_FcCacheNumSubdir
_FcConfigDestroy
_FcConfigEnableHome
_FcConfigGetCacheDirs
_FcConfigGetConfigDirs
_FcConfigSetCurrent
_FcDirCacheLoad
_FcDirCacheLoadFile
_FcDirCacheRead
_FcDirCacheUnlink
_FcDirCacheUnload
_FcDirCacheValid
_FcInitLoadConfig
_FcStrFree
_FcStrListCreate
_FcStrListDone
_FcStrListNext
_FcStrPlus
_FcStrSetAdd
_FcStrSetAddFilename
_FcStrSetCreate
_FcStrSetDestroy
_FcStrSetMember
make[3]: *** [fc-cache] Error 1

now all those symbols are prefixed with that IA__ in the built library
the compiler spits out plenty of 'warning: alias definitions not supported in
this configuration; ignored'

should i open a new bug?

Comment 4 Keith Packard 2006-09-07 15:18:49 UTC
Ok, I've whacked things around more to skip the whole alias thing on systems
which aren't known to support it; it builds on Linux still, does it build on Darwin?
Comment 5 paul 2006-09-07 15:26:33 UTC
yes it does
thank you
Comment 6 Keith Packard 2006-09-08 00:08:42 UTC
thanks for testing, marking this one as fixed


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.