emerge of control center fails with following message: nome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libxml2 -I../intl -DSYS_PLUGIN_DIR=\"/usr/lib/gswitchit/\" -DG_LOG_DOMAIN=\"GSwitchIt\" -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wall -MT gswitchit_plugin_manager.o -MD -MP -MF ".deps/gswitchit_plugin_manager.Tpo" \ -c -o gswitchit_plugin_manager.o `test -f 'gswitchit_plugin_manager.c' || echo './'`gswitchit_plugin_manager.c; \ then mv -f ".deps/gswitchit_plugin_manager.Tpo" ".deps/gswitchit_plugin_manager.Po"; \ else rm -f ".deps/gswitchit_plugin_manager.Tpo"; exit 1; \ fi rm -f libgswitchit.a i686-pc-linux-gnu-ar cru libgswitchit.a gswitchit_config.o gswitchit_util.o gnome-startup.o gswitchit_plugin_manager.o i686-pc-linux-gnu-ranlib libgswitchit.a make[2]: Leaving directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2/libgswitchit' Making all in libkbdraw make[2]: Entering directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2/libkbdraw' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Werror -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wall -MT keyboard-marshal.o -MD -MP -MF ".deps/keyboard-marshal.Tpo" \ -c -o keyboard-marshal.o `test -f 'keyboard-marshal.c' || echo './'`keyboard-marshal.c; \ then mv -f ".deps/keyboard-marshal.Tpo" ".deps/keyboard-marshal.Po"; \ else rm -f ".deps/keyboard-marshal.Tpo"; exit 1; \ fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Werror -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wall -MT keyboard-drawing.o -MD -MP -MF ".deps/keyboard-drawing.Tpo" \ -c -o keyboard-drawing.o `test -f 'keyboard-drawing.c' || echo './'`keyboard-drawing.c; \ then mv -f ".deps/keyboard-drawing.Tpo" ".deps/keyboard-drawing.Po"; \ else rm -f ".deps/keyboard-drawing.Tpo"; exit 1; \ fi In file included from /usr/include/pango-1.0/pango/pangofc-font.h:25, from /usr/include/pango-1.0/pango/pango-ot.h:25, from /usr/include/pango-1.0/pango/pangoxft.h:27, from keyboard-drawing.c:27: /usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory In file included from /usr/include/pango-1.0/pango/pango-ot.h:25, from /usr/include/pango-1.0/pango/pangoxft.h:27, from keyboard-drawing.c:27: /usr/include/pango-1.0/pango/pangofc-font.h:26:10: #include expects "FILENAME" or <FILENAME> In file included from /usr/include/pango-1.0/pango/pango-ot.h:25, from /usr/include/pango-1.0/pango/pangoxft.h:27, from keyboard-drawing.c:27: /usr/include/pango-1.0/pango/pangofc-font.h:144: error: syntax error before "pango_fc_font_lock_face" /usr/include/pango-1.0/pango/pangofc-font.h:144: warning: type defaults to `int' in declaration of `pango_fc_font_lock_face' /usr/include/pango-1.0/pango/pangofc-font.h:144: warning: data definition has no type or storage class In file included from /usr/include/pango-1.0/pango/pangoxft-render.h:32, from /usr/include/pango-1.0/pango/pangoxft.h:30, from keyboard-drawing.c:27: /usr/include/X11/Xft/Xft.h:41:10: #include expects "FILENAME" or <FILENAME> In file included from /usr/include/pango-1.0/pango/pangoxft-render.h:32, from /usr/include/pango-1.0/pango/pangoxft.h:30, from keyboard-drawing.c:27: /usr/include/X11/Xft/Xft.h:58: error: syntax error before "_XftFTlibrary" /usr/include/X11/Xft/Xft.h:92: error: syntax error before "FT_UInt" /usr/include/X11/Xft/Xft.h:95: error: syntax error before '}' token /usr/include/X11/Xft/Xft.h:99: error: syntax error before "FT_UInt" /usr/include/X11/Xft/Xft.h:102: error: syntax error before '}' token /usr/include/X11/Xft/Xft.h:196: error: syntax error before '*' token /usr/include/X11/Xft/Xft.h:262: error: syntax error before '*' token /usr/include/X11/Xft/Xft.h:268: error: syntax error before '*' token /usr/include/X11/Xft/Xft.h:301: error: syntax error before '*' token /usr/include/X11/Xft/Xft.h:360: error: syntax error before "XftLockFace" /usr/include/X11/Xft/Xft.h:399: error: syntax error before '*' token /usr/include/X11/Xft/Xft.h:405: error: syntax error before '*' token /usr/include/X11/Xft/Xft.h:414: error: syntax error before "FT_UInt" /usr/include/X11/Xft/Xft.h:424: error: syntax error before "XftCharIndex" /usr/include/X11/Xft/Xft.h:467: error: syntax error before '*' token /usr/include/X11/Xft/Xft.h:478: error: syntax error before '*' token /usr/include/X11/Xft/Xft.h:499: error: syntax error before '*' token In file included from /usr/include/pango-1.0/pango/pangoxft.h:30, from keyboard-drawing.c:27: /usr/include/pango-1.0/pango/pangoxft-render.h:95: error: syntax error before "XftGlyphSpec" keyboard-drawing.c: In function `xkb_state_notify_event_filter': keyboard-drawing.c:1481: warning: implicit declaration of function `memset' make[2]: *** [keyboard-drawing.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2/libkbdraw' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2' make: *** [all] Error 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. Reproducible: Always Steps to Reproduce: 1.emerge =gnome-base/control-center-2.10.2 Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks maketest sandbox sfperms strict test" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_US.UTF-8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa apm arts artswrappersuid artworkextra audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr crypt css cups curl dbus directfb directfd dts dv dvd dvdr dvdread eds emboss encode esd exif expat fam fame fbcon ffmpeg firefox foomaticdb fortran gcj gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl icc idn imagemagick imap imlib ipv6 java javascript jpeg kde kdeenablefinal lcms libg++ libwww live mad maildir matrox mikmod mmx mng motif mozilla mozsvg mp3 mpeg mysql ncurses network nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl pic png python qmail qt quicktime readline real samba sdl spell sse sse2 ssl svg svga symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb usepackagedmakefiles vcd vim-with-x vorbis wifi win32codecs x86 xine xml xml2 xmms xprint xscreensaver xv xvid zeroconf zlib video_cards_sis userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Duplicated here. Same error. Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13.4dell i686) ================================================================= System uname: 2.6.13.4dell i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium-m -msse2 -fomit-frame-pointer -pipe -frename-registers -fforce-addr -falign-functions=64 -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium-m -msse2 -fomit-frame-pointer -pipe -frename-registers -fforce-addr -falign-functions=64 -fprefetch-loop-arrays -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://130.207.108.136/pub/gentoo http://pandemonium.tiscali.de/pub/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirrors.acm.jhu.edu/gentoo-portage" USE="x86 X aac aalib acl acpi adns alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cjk crypt css cups curl directfb dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam fbcon ffmpeg firefox firewire flac foomaticdb fortran gd gdbm gif gimpprint glitz glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 guile hal i8x0 id3 idn ieee1394 imagemagick ipv6 java jpeg jpeg2k junit kde lame lcms ldap libcaca libg++ libwww lua mad matroska mikmod mmx mmxext mng mono motif mozilla mozsvg mp3 mpeg mpeg2 mysql ncurses network nls nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam parse-clocks pcmcia pcre pdflib perl png python qt quicktime readline real recode rtc ruby samba sdl snmp speex spell sse sse2 ssl svg svga tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wifi win32codecs wmf x264 xine xml2 xmms xv xvid zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Same exact problem but on AMD64
I am also experiencing this problem, on x86. Same error. It looks like the build is not using the output of freetype-config --cflags, though libkbdraw/Makefile does contain -I/usr/include/freetype2 in a number of foo_CFLAGS variables.
Same problem here. But with control-center-2.12.2
Sorry. I have not the same meesage.
Same bug here, still with 2.10.2
Same bug here, on X86 (pentium-m). With 2.10.2 version of gnome-center
Same bug here on AMD64. Controll-center 2.10-2.
same on athlon-tbird
Same here. As someone suggested in the forum adding "-I/usr/include/freetype2" to the CFLAGS and "-lpangoft2-1.0" to the LDFLAGS fixed the problem for me temporarily.
Same here, using amd64, fresh install, errors exactly as posted
(In reply to comment #11) > Same here, using amd64, fresh install, errors exactly as posted > Interestingly, I didn't have this problem when updating a machine that had used the GRP of gnome to get started... Both AMD64 fresh installs. I have 2 machines that I've just recently done the AMD64 fresh install on: Working: Installed from 2005.1-r1 and GRP, then update -uDav world. Broken: Installed from 2006-01-02 snapshot, emerge -uDav gnome. Tried: CFLAGS="$CFLAGS -I/usr/include/freetype2" LDFLAGS="$LDFLAGS -lpangoft2-1.0" emerge control-center But that didn't work for me, as the link still failed.
*** Bug 118032 has been marked as a duplicate of this bug. ***
i confirm this, and this patch will be going in asap. preliminary ebuild attached ( for easy use ) and the patch.
Created attachment 76353 [details] ebuild ebuild with changes
Created attachment 76354 [details, diff] control-center-libkbdraw-fix.patch
in CVS.
*** Bug 118077 has been marked as a duplicate of this bug. ***
Using this patch, results in: ../../libkbdraw/libkbdraw.a ../../libkbdraw/libkbdraw.a(keyboard-drawing.o): In function `draw_layout': keyboard-drawing.c:(.text+0x7c1): undefined reference to `pango_xft_set_default_substitute' keyboard-drawing.c:(.text+0x7d8): undefined reference to `pango_xft_substitute_changed' ../../libkbdraw/libkbdraw.a(keyboard-drawing.o): In function `keyboard_drawing_init': keyboard-drawing.c:(.text+0x2db1): 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' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2/capplets' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/control-center-2.10.2/work/control-center-2.10.2' make: *** [all] Error 2 emerge --info Portage 2.0.53 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.11-gentoo-r11 x86_64) ================================================================= System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=k8 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus divx4linux dvd dvdr eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal idn imlib ipv6 java jpeg kde lcms lzw lzw-tiff mad mng mozilla mp3 mpeg ncurses nls nocd nptl nptlonly offensive ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline real recode sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xine xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
just to let people know, a new patch was committed this morning that fixes this issue. ( see http://bugs.gentoo.org/118077 ) thanks!
*** Bug 119071 has been marked as a duplicate of this bug. ***