Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103262 - failed compiling gnome-base/control-center on gtk+2.8.0, pango-1.10 and cairo-0.9.2-r1
Summary: failed compiling gnome-base/control-center on gtk+2.8.0, pango-1.10 and cairo...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 2.12
  Show dependency tree
 
Reported: 2005-08-21 10:41 UTC by Kirill A. Korinsky
Modified: 2005-09-13 19:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill A. Korinsky 2005-08-21 10:41:08 UTC
Install on system:
cairo-0.9.2-r1
pango-1.10
gtk+-2.8.0


Reproducible: Always
Steps to Reproduce:
1.emerge gnome-base/control-center-2.11.91




Actual Results:  
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O9
-march=k8 -pipe -fomit-frame-pointer -Wall   -o 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
../accessibility/keyboard/libaccessibility-keyboard.a
../../capplets/common/libcommon.la -Wl,--export-dynamic -pthread -lglade-2.0
-lgnome-desktop-2 -lgnomeui-2 -lSM -lICE -lstartup-notification-1 -lbonoboui-2
-lxml2 -lpthread -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0
-lpango-1.0 -lfreetype -lz -lcairo -lgobject-2.0 -lgnomevfs-2 -lbonobo-2
-lgconf-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0
-lglib-2.0    -lSM -lICE  -L/usr/lib64 -lX11  -lXcursor -lXrender -lX11 -lXext 
 -lxklavier -lxml2 -lpthread -lz -lm   ../../libgswitchit/libgswitchit.a
../../libkbdraw/libkbdraw.a 
mkdir .libs
x86_64-pc-linux-gnu-gcc -O9 -march=k8 -pipe -fomit-frame-pointer -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 
../accessibility/keyboard/libaccessibility-keyboard.a
../../capplets/common/.libs/libcommon.a
/var/tmp/portage/control-center-2.11.91/work/control-center-2.11.91/libwindow-settings/.libs/libgnome-window-settings.so
-L/usr/lib -L/usr/lib64 /usr/lib64/libgnome-menu.so /usr/lib64/libfam.so
-lrpcsvc /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so
-L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib
/usr/lib64/libmetacity-private.so -lXrandr /usr/lib64/libgnome-keyring.so
/usr/lib64/libjpeg.so -lpng12 /usr/lib64/libfontconfig.so /usr/lib64/libexpat.so
-lssl -lcrypto -lresolv -lrt /usr/lib64/libORBitCosNaming-2.so -pthread
/usr/lib64/libglade-2.0.so /usr/lib64/libgnome-desktop-2.so
/usr/lib64/libgnomeui-2.so /usr/lib64/libstartup-notification-1.so
/usr/lib64/libbonoboui-2.so /usr/lib64/libgnomecanvas-2.so
/usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libart_lgpl_2.so
/usr/lib64/libpangoft2-1.0.so /usr/lib64/libgtk-x11-2.0.so
/usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so
/usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so
/usr/lib64/libpango-1.0.so /usr/lib64/libfreetype.so /usr/lib64/libcairo.so
/usr/lib64/libgobject-2.0.so /usr/lib64/libgnomevfs-2.so
/usr/lib64/libbonobo-2.so /usr/lib64/libgconf-2.so
/usr/lib64/libbonobo-activation.so /usr/lib64/libORBit-2.so
/usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so
/usr/lib64/libglib-2.0.so -lSM -lICE -lXcursor -lXrender -lX11 -lXext
/usr/lib64/libxklavier.so /usr/lib64/libxml2.so -lpthread -lz -lm
../../libgswitchit/libgswitchit.a ../../libkbdraw/libkbdraw.a
../../libkbdraw/libkbdraw.a(keyboard-drawing.o): In function `draw_layout':
keyboard-drawing.c:(.text+0x848): undefined reference to
`pango_xft_set_default_substitute'
keyboard-drawing.c:(.text+0x860): undefined reference to
`pango_xft_substitute_changed'
../../libkbdraw/libkbdraw.a(keyboard-drawing.o): In function
`keyboard_drawing_init':
keyboard-drawing.c:(.text+0x2d1d): undefined reference to `pango_xft_get_context'
collect2: ld returned 1 exit status
make[3]: *** [gnome-keyboard-properties] Ошибка 1
make[3]: Leaving directory
`/var/tmp/portage/control-center-2.11.91/work/control-center-2.11.91/capplets/keyboard'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory
`/var/tmp/portage/control-center-2.11.91/work/control-center-2.11.91/capplets'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory
`/var/tmp/portage/control-center-2.11.91/work/control-center-2.11.91'
make: *** [all] Ошибка 2

!!! ERROR: gnome-base/control-center-2.11.91 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Kirill A. Korinsky 2005-08-21 11:58:30 UTC
my emerge info:

catap@stalin ~ $ emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9-stalin x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9-stalin x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O9 -march=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/texmf/web2c /etc/env.d"
CXXFLAGS="-O9 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.aiya.ru/pub/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib alsa apache2 avi berkdb bigger-fonts bitmap-fonts c++ cairo
cdr cgi crypt cups dba divx dnd dvd dvdr eds emacs encode fam flac font-server
foomaticdb fortran gcj gd gd-extenral gdbm gif gnome gpm gstreamer gtk2 iconv
imap imlib ipv6 java jpeg latex ldap libwww lzw lzw-tiff mad maildir motif
mozilla mp3 mpeg mplayer mule mysql ncurses nls nptl nptlonly nvidia ogg opengl
oss pam pdflib perl png postgres python quicktime readline scanner sdl session
slang spell ssl svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts
type1-fonts unicode usb userlocales utf8 vorbis xine xml2 xpm xv zlib
video_cards_nvidia linguas_ru linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

catap@stalin ~ $ 
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2005-08-21 15:41:35 UTC
You say you have cairo 0.9.2-r1, pango 1.10.0 and gtk+ 2.8.0 - after emerging
cairo did you re-emerge pango, this seems to be necessary any time you recompile
cairo.  emerge cairo->pango->gtk+  - there are also some newer revision of gtk+
- but the patch for the problem you are experiencing is in portage already.
Comment 3 Kirill A. Korinsky 2005-08-22 02:45:32 UTC
(In reply to comment #2)
> You say you have cairo 0.9.2-r1, pango 1.10.0 and gtk+ 2.8.0 - after emerging
> cairo did you re-emerge pango, this seems to be necessary any time you recompile
> cairo.  emerge cairo->pango->gtk+  - there are also some newer revision of gtk+
> - but the patch for the problem you are experiencing is in portage already.

Yes, i'm re-emrge cairo, pango and gtk+, but don't emerge control-center...
Error again life...
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2005-08-25 13:29:24 UTC
I am also getting this error, but with control-center-2.10.2; the problem is
that control-center needs to link with pangoxft-1.0.so with recent versions of
pango, but the the configure file does not check for pangoxft.

My (ugly) workaround was
1. make a copy of /usr/lib/pkgconfig/pangocairo.pc
2. edit /usr/lib/pkgconfig/pangocairo.pc, and change "Requires" line to 
Requires: pango cairo pangoxft
3. emerge control-center
4. revert back to the original version of pangocairo.pc

This is an ugly hack, but it works. To fix it better, one would have to dig in
the bowels of the configure script for control-center.
Comment 5 pejcao 2005-08-28 13:01:24 UTC
(In reply to comment #0)
> Install on system:
> cairo-0.9.2-r1
> pango-1.10
> gtk+-2.8.0
> ...
> ...
> ...
> 1.emerge gnome-base/control-center-2.11.91

gnome-base/control-center-2.11.92 builds ok here, using:
x11-libs/cairo-1.0.0
x11-libs/pango-1.10.0
dev-libs/glib-2.8.1
x11-libs/gtk+-2.8.2
x11-libs/libxklavier-2.0

...
...
...
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
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
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac alsa apache2 apm avi bash-completion bitmap-fonts
bonobo bzlib cdparanoia cdr crypt cups curl dbus divx4linux dv dvb dvd dvdr
dvdread eds emboss encode esd evo exif expat fam fbcon ffmpeg flac font-server
foomaticdb fortran ftp gd gdbm gif glut gnome gnutls gpm gstreamer gtk gtk2
gtkhtml hal howl imagemagick imap imlib innodb jack java jpeg junit lcms ldap
libg++ libgda libwww lirc lm_sensors mad maildir mailwrapper matroska mhash
mikmod mime mmx mng mono mp3 mpeg msn mysql nas ncurses nls nptl ogg oggvorbis
opengl oss pam pcre pdflib perl php png pnp posix ppds python quicktime readline
samba sdl shared slp sndfile sockets sox spell ssl svg svga symlink sysvipc
tcltk theora tiff tokenizer truetype truetype-fonts type1-fonts unicode usb
userlocales v4l vailas vcd vhosts videos vorbis wifi win32codecs wmf xine xml
xml2 xmlrpc xmms xosd xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 6 John N. Laliberte (RETIRED) gentoo-dev 2005-09-05 13:12:50 UTC
@reporter: are you still having this issue?
Comment 7 John N. Laliberte (RETIRED) gentoo-dev 2005-09-13 19:19:06 UTC
no response from reporter