Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95809 - Applications that require gtk+2.0 at compile time fail due to having 2.6.7 installed, but 2.6.4 detected
Summary: Applications that require gtk+2.0 at compile time fail due to having 2.6.7 in...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 16:33 UTC by Benjie Gillam
Modified: 2005-06-11 22:47 UTC (History)
0 users

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 Benjie Gillam 2005-06-11 16:33:10 UTC
When emerging an application that requires gtk+2.0, emerge fails, and informs me
that 2.6.7 was found by pkg-config, but 2.6.4 was detected (by the test program
that ./configure compiles).

This is caused by the file /usr/local/lib/libgtk-x11-2.0.so.0 not being removed.
It is left over from 2.6.4

Reproducible: Always
Steps to Reproduce:
1. Upgrade gtk+ from 2.6.4 to 2.6.7
2. emerge pygtk


Actual Results:  
*** 'pkg-config --modversion gtk+-2.0' returned 2.6.7, but GTK+ (2.6.4)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files


Expected Results:  
It should compile, but fails.

/usr/local/lib/libgtk-x11-2.0.so.0 should be removed. It is not. Upon removing
it and running env-update, the builds emerge.


I recently changed from having ACCEPT_KEYWORDS="~x86" to just using
packages.keywords, which caused a mass downgrade (around 350 ebuilds). This was
one of the problems that I had that took the longest to solve (I am no coder!).


crayzee crayzee # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(TM) XP 2800+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 12 2005, 22:45:52)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow
-msse -mfpmath=sse -mmmx -fforce-addr -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -maccumulate-outgoing-args -fprefetch-loop-arrays"
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="-march=athlon-xp -mtune=athlon-xp -O3 -pipe -fomit-frame-pointer
-m3dnow -msse -mfpmath=sse -mmmx -fforce-addr -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext S3TC X Xaw3D aac aalib acpi adns alsa apm
artworkextra asm atm avi bash-completion bcmath bidi bitmap-fonts bluetooth bmp
bonobo boundschecking cairo cdda cddb cdio cdparanoia cdr cdrom clanJavaScript
clanVoice crypt cups dba dga dhcp directfb divx4linux dpms dv dvb dvd dvdr
dvdread eds emboss encode escreen esd evo exif faad fam fame fbcon ffmpeg flac
flash font-server foomaticdb fortran freetype ftp gcj gd gdbm ggi gif gimpprint
glut gnome gnutls gpg gphoto2 gpm gstreamer gtk gtk2 gtkhtml hardened
hardenedphp httpd i8x0 ieee1394 imagemagick imap imlib insecure-drivers ipv6
irmc java javascript jikes jpeg jpeg2k junit lcd lcms ldap libcaca libg++ libwww
lirc lzo mad matroska mcal mikmod mmx mmx2 mmxext mng mono motif mozilla
moznomail mp3 mpeg mppe mppe-mppc mysql mythtv nas ncurses network nls nmb nntp
nptl nptlonly objc offensive ogg oggvorbis opengl opie oss overlay pam pcre pda
pdflib perl php png posix ppds pptp python qt quicktime quotas readline real rtc
samba scanner sdl session shaper skey slang smb sockets softquota spell
splashutils sse ssl stream svg svga tcltk tcpd tga themes theora threads tidy
tiff transcode truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vidix
vlm vorbis win32codecs wmf wxwindows xanim xine xinerama xml xml2 xosd xprint
xscreensaver xv xvid xvmc yv12 zlib video_cards_radeon userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-11 22:47:26 UTC
Portage never installs libs into /usr/local/ so you have to remove it yourself.