Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118077 - error while compiling control-center
Summary: error while compiling control-center
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-06 11:41 UTC by pontus
Modified: 2006-01-07 09:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log for control-center-2.10.2/pango/keyboard bug (config.log,130.41 KB, text/plain)
2006-01-06 18:44 UTC, Chris Woods
Details
control-center-libkbdraw-fix.patch (control-center-libkbdraw-fix.patch,1.45 KB, patch)
2006-01-07 06:01 UTC, John N. Laliberte (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pontus 2006-01-06 11:41:20 UTC
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
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2006-01-06 11:43:22 UTC
resync and try again, thanks

*** This bug has been marked as a duplicate of 112659 ***
Comment 2 pontus 2006-01-06 12:43:24 UTC
(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.
Comment 3 Chris Woods 2006-01-06 18:44:19 UTC
Created attachment 76426 [details]
config.log for control-center-2.10.2/pango/keyboard bug
Comment 4 David Grant 2006-01-06 20:59:11 UTC
I'm getting this as well.
Comment 5 Shannon Barber 2006-01-07 01:24:40 UTC
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.
Comment 6 Arnaud Launay 2006-01-07 01:44:56 UTC
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'
Comment 7 John N. Laliberte (RETIRED) gentoo-dev 2006-01-07 06:01:02 UTC
okay, here is a revised patch.  

can someone test it and report back?  Thanks!
Comment 8 John N. Laliberte (RETIRED) gentoo-dev 2006-01-07 06:01:30 UTC
Created attachment 76444 [details, diff]
control-center-libkbdraw-fix.patch
Comment 9 Arnaud Launay 2006-01-07 06:13:07 UTC
Yes, that one made the trick, it compiled just fine. Thanks a lot.
Comment 10 John N. Laliberte (RETIRED) gentoo-dev 2006-01-07 06:54:16 UTC
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.
Comment 11 Chris Woods 2006-01-07 08:41:51 UTC
Just synced and re-emerged, it built without error.
Comment 12 Shannon Barber 2006-01-07 08:48:50 UTC
rsync'd and it worked for me (07-Jan-2006, 11am EST).

(How did this break?)
Comment 13 John N. Laliberte (RETIRED) gentoo-dev 2006-01-07 09:38:14 UTC
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 :)