mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=i686 -Wall -o .libs/gnome-keyboard-properties gnome-keyboard-properties.o gnome-keyboard-properties-xkb.o gnome-keyboard-properties-xkbmc.o gnome-keyboard-properties-xkblt.o gnome-keyboard-properties-xkbot.o gnome-keyboard-properties-xkbpv.o -Wl,--export-dynamic -pthread ../accessibility/keyboard/libaccessibility-keyboard.a ../../capplets/common/.libs/libcommon.a /var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2/libwindow-settings/.libs/libgnome-window-settings.so /usr/lib/libgnome-menu.so /usr/lib/libmetacity-private.so -lXrandr /usr/lib/libglade-2.0.so /usr/lib/libgnome-desktop-2.so /usr/lib/libgnomeui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libjpeg.so /usr/lib/libstartup-notification-1.so /usr/lib/libbonoboui-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lXrender -lXext -lpng12 /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so /usr/lib/libgnomevfs-2.so -lssl -lcrypto /usr/lib/libhowl.so -lresolv -lrt /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -lSM -lICE -lX11 /usr/lib/libxklavier.so -lxkbfile -L/var/tmp/portage/libxklavier-2.0/work/libxklavier-2.0/libxklavier /usr/lib/libxml2.so -ldl -lz -lm ../../libgswitchit/libgswitchit.a ../../libkbdraw/libkbdraw.a ../../libkbdraw/libkbdraw.a(keyboard-drawing.o)(.text+0x10e0): In function `draw_layout': : undefined reference to `pango_xft_set_default_substitute' ../../libkbdraw/libkbdraw.a(keyboard-drawing.o)(.text+0x10f5): In function `draw_layout': : undefined reference to `pango_xft_substitute_changed' ../../libkbdraw/libkbdraw.a(keyboard-drawing.o)(.text+0x12c8): In function `draw_layout': : undefined reference to `pango_xft_set_default_substitute' ../../libkbdraw/libkbdraw.a(keyboard-drawing.o)(.text+0x2b75): In function `keyboard_drawing_init': : undefined reference to `pango_xft_get_context' collect2: ld returned 1 exit status make[3]: *** [gnome-keyboard-properties] Fel 1 make[3]: Leaving directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2/capplets/keyboard' make[2]: *** [all-recursive] Fel 1 make[2]: Leaving directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2/capplets' make[1]: *** [all-recursive] Fel 1 make[1]: Leaving directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2' make: *** [all] Fel 2 !!! ERROR: gnome-base/control-center-2.10.2 failed. !!! Function gnome2_src_compile, Line 48, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message this happens while compiling control-center
resync and try again, thanks *** This bug has been marked as a duplicate of 112659 ***
(In reply to comment #1) > resync and try again, thanks > > *** This bug has been marked as a duplicate of 112659 *** > well, i HAVE, this is a new error, and therefore NOT a duplicate to 112659.
Created attachment 76426 [details] config.log for control-center-2.10.2/pango/keyboard bug
I'm getting this as well.
I have the same error, I rsync'd on 06-Jan-2006 (amd64 platform). The control-center-libkbdraw-fix.patch came down and is under control-center/files and it is applied when building. The CFLAGS="-I/usr/include/freetype2" LDFLAGS="-lpangoft2-1.0" hack does not resolve this issue My build looks different but I get the exact same undefined references.
Getting the same as in #112659 : (rsynced of today, new machine), command "emerge gnome" : ../../libkbdraw/libkbdraw.a(keyboard-drawing.o): In function `draw_layout': keyboard-drawing.c:(.text+0x13a0): undefined reference to `pango_xft_set_default_substitute' keyboard-drawing.c:(.text+0x13b6): undefined reference to `pango_xft_substitute_changed' keyboard-drawing.c:(.text+0x15fd): undefined reference to `pango_xft_set_default_substitute' ../../libkbdraw/libkbdraw.a(keyboard-drawing.o): In function `keyboard_drawing_init': keyboard-drawing.c:(.text+0x3623): undefined reference to `pango_xft_get_context' collect2: ld returned 1 exit status make[3]: *** [gnome-keyboard-properties] Error 1 make[3]: Leaving directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2/capplets/keyboard'
okay, here is a revised patch. can someone test it and report back? Thanks!
Created attachment 76444 [details, diff] control-center-libkbdraw-fix.patch
Yes, that one made the trick, it compiled just fine. Thanks a lot.
patch in CVS. mirrors should get it shortly. i'll leave this open for a little while longer so its easier for people to find.
Just synced and re-emerged, it built without error.
rsync'd and it worked for me (07-Jan-2006, 11am EST). (How did this break?)
gtk+-2.8 (recently stabled) removed pangoxft from the Requires line in its .pc (pkgconfig) file. therefore, it wasn't automatically including and using those cflags / libs (anymore). marking this as resolved, since it should really be fixed now :)