Subject: bug#8226: 23.3; compilation of Xaw3d variant fails because of unused libfontconfig

From: Peter Dyballa <[email-masked]>
Date: Fri, 11 Mar 2011 00:42:51 +0100

Hello!

gcc-4.2 -I/opt/local/include -L/opt/local/lib  -prebind -Xlinker - 
headerpad -Xlinker 690 -Wl,-dead_strip_dylibs -Wl,-bind_at_load -Wl,- 
t  -L/opt/local/lib -o temacs pre-crt0.o dispnew.o frame.o scroll.o  
xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o  
character.o chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o  
xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o  
xgselect.o   emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o  
filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o  
cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o  
data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o  
print.o lread.o syntax.o unexmacosx.o bytecode.o process.o callproc.o  
region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o  
textprop.o composite.o md5.o    xfont.o ftfont.o xftfont.o ftxfont.o  
terminfo.o lastfile.o  widget.o    ../lwlib/liblw.a -L/opt/local/lib - 
lXaw3d -lXmu -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lgif - 
lXpm -lX11 -lXrender -L/opt/local/lib -lXft  -L/opt/local/lib -lrsvg-2  
-lgio-2.0 -lgdk_pixbuf-2.0 -lm -lcairo -lgobject-2.0 -lgmodule-2.0 - 
lpng14 -lgthread-2.0 -lglib-2.0 -lintl  -lncurses   -L/opt/local/lib - 
lz -lotf -lfreetype
/usr/lib/crt1.10.5.o
pre-crt0.o
dispnew.o
frame.o
scroll.o
xdisp.o
menu.o
xmenu.o
window.o
charset.o
coding.o
category.o
ccl.o
character.o
chartab.o
cm.o
term.o
terminal.o
xfaces.o
xterm.o
xfns.o
xselect.o
xrdb.o
fontset.o
xsmfns.o
fringe.o
image.o
xsettings.o
xgselect.o
emacs.o
keyboard.o
macros.o
keymap.o
sysdep.o
buffer.o
filelock.o
insdel.o
marker.o
minibuf.o
fileio.o
dired.o
filemode.o
cmds.o
casetab.o
casefiddle.o
indent.o
search.o
regex.o
undo.o
alloc.o
data.o
doc.o
editfns.o
callint.o
eval.o
floatfns.o
fns.o
font.o
print.o
lread.o
syntax.o
unexmacosx.o
bytecode.o
process.o
callproc.o
region-cache.o
sound.o
atimer.o
doprnt.o
strftime.o
intervals.o
textprop.o
composite.o
md5.o
xfont.o
ftfont.o
xftfont.o
ftxfont.o
terminfo.o
lastfile.o
widget.o
../lwlib/liblw.a
/opt/local/lib/libXaw3d.dylib
/opt/local/lib/libXmu.dylib
/opt/local/lib/libXt.dylib
/opt/local/lib/libSM.dylib
/opt/local/lib/libICE.dylib
/opt/local/lib/libXext.dylib
/opt/local/lib/libtiff.dylib
/opt/local/lib/libjpeg.dylib
/opt/local/lib/libpng.dylib
/opt/local/lib/libz.dylib
/usr/lib/libm.dylib
/opt/local/lib/libgif.dylib
/opt/local/lib/libXpm.dylib
/opt/local/lib/libX11.dylib
/opt/local/lib/libXrender.dylib
/opt/local/lib/libXft.dylib
/opt/local/lib/librsvg-2.dylib
/opt/local/lib/libgio-2.0.dylib
/opt/local/lib/libgdk_pixbuf-2.0.dylib
/opt/local/lib/libcairo.dylib
/opt/local/lib/libgobject-2.0.dylib
/opt/local/lib/libgmodule-2.0.dylib
/opt/local/lib/libpng14.dylib
/opt/local/lib/libgthread-2.0.dylib
/opt/local/lib/libglib-2.0.dylib
/opt/local/lib/libintl.dylib
/opt/local/lib/libncurses.dylib
/opt/local/lib/libotf.dylib
/opt/local/lib/libfreetype.dylib
/usr/lib/libgcc_s.10.5.dylib
/Developer/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/libgcc.a
/usr/lib/libSystemStubs.a
/usr/lib/libSystem.dylib
/usr/lib/system/libmathCommon.A.dylib
../lwlib/liblw.a(lwlib.o)
../lwlib/liblw.a(xlwmenu.o)
../lwlib/liblw.a(lwlib-Xlw.o)
../lwlib/liblw.a(lwlib-Xaw.o)
../lwlib/liblw.a(lwlib-utils.o)
Undefined symbols:
   "_FcPatternBuild", referenced from:
       _ftfont_lookup_cache in ftfont.o
   "_FcPatternAddLangSet", referenced from:
       _ftfont_spec_pattern in ftfont.o
       _ftfont_list in ftfont.o
   "_FcPatternAddDouble", referenced from:
       _apply_xft_settings in xsettings.o
       _ftfont_spec_pattern in ftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
   "_FcPatternGetMatrix", referenced from:
       _xftfont_open in xftfont.o
   "_FcCharSetCreate", referenced from:
       _ftfont_lookup_cache in ftfont.o
       _ftfont_get_charset in ftfont.o
       _ftfont_spec_pattern in ftfont.o
   "_FcPatternGetLangSet", referenced from:
       _ftfont_list in ftfont.o
   "_FcPatternAddString", referenced from:
       _ftfont_spec_pattern in ftfont.o
       _ftfont_spec_pattern in ftfont.o
       _ftfont_list in ftfont.o
       _ftfont_list in ftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
   "_FcDefaultSubstitute", referenced from:
       _ftfont_match in ftfont.o
       _ftfont_list in ftfont.o
   "_FcPatternDestroy", referenced from:
       _apply_xft_settings in xsettings.o
       _ftfont_lookup_cache in ftfont.o
       _ftfont_list_family in ftfont.o
       _ftfont_spec_pattern in ftfont.o
       _ftfont_match in ftfont.o
       _ftfont_match in ftfont.o
       _ftfont_list in ftfont.o
       _ftfont_list in ftfont.o
       _ftfont_list in ftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
   "_FcPatternAdd", referenced from:
       _ftfont_match in ftfont.o
   "_FcPatternDel", referenced from:
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _ftfont_list in ftfont.o
       _ftfont_list in ftfont.o
       _ftfont_list in ftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
   "_FcFontList", referenced from:
       _ftfont_lookup_cache in ftfont.o
       _ftfont_list_family in ftfont.o
       _ftfont_list in ftfont.o
   "_FcCharSetHasChar", referenced from:
       _ftfont_list in ftfont.o
       _ftfont_has_char in ftfont.o
   "_FcPatternCreate", referenced from:
       _apply_xft_settings in xsettings.o
       _ftfont_list_family in ftfont.o
       _ftfont_spec_pattern in ftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_open in xftfont.o
   "_FcPatternDuplicate", referenced from:
       _ftfont_list in ftfont.o
   "_FcCharSetAddChar", referenced from:
       _ftfont_get_charset in ftfont.o
       _ftfont_spec_pattern in ftfont.o
   "_FcPatternGetDouble", referenced from:
       _apply_xft_settings in xsettings.o
       _ftfont_pattern_entity in ftfont.o
       _ftfont_pattern_entity in ftfont.o
       _xftfont_open in xftfont.o
   "_FcPatternGetString", referenced from:
       _ftfont_list_family in ftfont.o
       _get_adstyle_property in ftfont.o
       _ftfont_pattern_entity in ftfont.o
       _ftfont_pattern_entity in ftfont.o
       _ftfont_pattern_entity in ftfont.o
       _ftfont_list in ftfont.o
       _ftfont_list in ftfont.o
       _ftfont_list in ftfont.o
       _ftfont_font_format in ftfont.o
   "_FcNameConstant", referenced from:
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
   "_FcPatternGetBool", referenced from:
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _ftfont_pattern_entity in ftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
   "_FcFontSetDestroy", referenced from:
       _ftfont_lookup_cache in ftfont.o
       _ftfont_list_family in ftfont.o
       _ftfont_list in ftfont.o
   "_FcFontMatch", referenced from:
       _ftfont_match in ftfont.o
       _ftfont_list in ftfont.o
   "_FcLangSetDestroy", referenced from:
       _ftfont_spec_pattern in ftfont.o
       _ftfont_list in ftfont.o
   "_FcLangSetAdd", referenced from:
       _ftfont_spec_pattern in ftfont.o
       _ftfont_spec_pattern in ftfont.o
       _ftfont_spec_pattern in ftfont.o
       _ftfont_list in ftfont.o
   "_FcInit", referenced from:
       _ftfont_list_family in ftfont.o
       _ftfont_match in ftfont.o
       _ftfont_list in ftfont.o
   "_FcLangSetCreate", referenced from:
       _ftfont_spec_pattern in ftfont.o
       _ftfont_spec_pattern in ftfont.o
       _ftfont_list in ftfont.o
   "_FcCharSetCopy", referenced from:
       _ftfont_lookup_cache in ftfont.o
   "_FcPatternAddCharSet", referenced from:
       _ftfont_spec_pattern in ftfont.o
       _xftfont_open in xftfont.o
   "_FcCharSetDestroy", referenced from:
       _ftfont_get_charset in ftfont.o
       _ftfont_spec_pattern in ftfont.o
   "_FcPatternAddInteger", referenced from:
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
   "_FcObjectSetDestroy", referenced from:
       _ftfont_lookup_cache in ftfont.o
       _ftfont_list_family in ftfont.o
       _ftfont_list_family in ftfont.o
       _ftfont_list in ftfont.o
   "_FcPatternAddBool", referenced from:
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _ftfont_spec_pattern in ftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_add_rendering_parameters in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
   "_FcObjectSetAdd", referenced from:
       _ftfont_list in ftfont.o
   "_FcObjectSetBuild", referenced from:
       _ftfont_lookup_cache in ftfont.o
       _ftfont_list_family in ftfont.o
       _ftfont_list in ftfont.o
   "_FcConfigSubstitute", referenced from:
       _ftfont_match in ftfont.o
       _ftfont_match in ftfont.o
       _ftfont_list in ftfont.o
   "_FcPatternGetCharSet", referenced from:
       _ftfont_lookup_cache in ftfont.o
       _ftfont_list in ftfont.o
       _ftfont_list in ftfont.o
   "_FcPatternGetInteger", referenced from:
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _apply_xft_settings in xsettings.o
       _ftfont_pattern_entity in ftfont.o
       _ftfont_pattern_entity in ftfont.o
       _ftfont_pattern_entity in ftfont.o
       _ftfont_pattern_entity in ftfont.o
       _ftfont_pattern_entity in ftfont.o
       _ftfont_list in ftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_cached_font_ok in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
       _xftfont_open in xftfont.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make: *** [src] Error 2

Looks like bug #7936/#8030 is still alive – sorry, I had no time to  
test the two release candidates!

--
Greetings

   Pete

There is no worse tyranny than to force a man to pay for what he does  
not want merely because you think it would be good for him.
				– Robert Heinlein