Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127671

Summary: gtk+ doesn't find libX11 with FEATURES="confcache"
Product: Gentoo Linux Reporter: Raboo Treed <britta_22>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: configure log

Description Raboo Treed 2006-03-26 14:07:23 UTC
gtk+ doesn't find libX11 when following the modular xorg howto and XGL howto.
And i have x11-libs/libX11-1.0.0-r2 installed
both gtk+ 2.8.13 and 2.8.12 failes at the configure.


here is the error:
configure: error: *** libX11 not found. Check 'config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/gtk+-2.8.13/work/gtk+-2.8.13/config.log

!!! ERROR: x11-libs/gtk+-2.8.13 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  gtk+-2.8.13.ebuild, line 113:   Called econf '--disable-gtk-doc' '--with-libjpeg' '--without-libtiff' '--disable-xinerama' '--with-libpng' '--with-gdktarget=x11' '--with-xinput'
  ebuild.sh, line 527:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info:

Portage 2.1_pre7 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/ ftp://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo ftp://ftp.ds.hj.se/pub/Linux/distributions/gentoo/ "
LC_ALL="en_US.UTF-8"
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 X aac acpi alsa amd applet arts asf automount avi bitmap-fonts cairo cardbus chroot crypt crypto_libgcrypt crypto_openssl cups curlwrappers dri dvd eds emboss encode fat fbcon fbsplash firefox font-server fontconfig foomaticdb fortran ftp fuse gatos gdbm gif glitz glx gnome gnome-print gpm gstreamer gtk gtk2 gvim gzip ibam ieee1394 imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipod ipv6 john jpeg kde kdeenablefinal lame libg++ libwww logrotate mad mikmod mmx motif mp3 mpeg mpeg2 mplayer ncurses nls ntfs ogg oggvorbis opengl openssh openssl oss pam pcap pdflib perl png pnp python qt quicktime readline real screen sdl spell splashutils sse sse2 ssl symlink sysfs tcpd truetype truetype-fonts type1-fonts unicode urandom userlocales video_cards_ati video_cards_fbdev video_cards_fglrx video_cards_vesa vim vim-with-x vnc vorbis wifi win32codecs wma wxwindows x11vnc xcomposite xml2 xmms xv xvmc zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Raboo Treed 2006-03-26 14:08:27 UTC
Created attachment 83192 [details]
configure log

/var/tmp/portage/gtk+-2.8.13/work/gtk+-2.8.13/config.log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-26 14:11:35 UTC
It depends on it. We need to find what's breaking your dependencies and pulls in virtual/x11-7.0

Please, do the following:

emerge -Ca virtual/x11
echo "virtual/x11" >> /etc/portage/package.mask
echo "=x11-base/xorg-x11-6*" >> /etc/portage/package.mask
emerge -uDpv world

Now you should see what's pulling in virtual/x11-7.0 and breaks gtk+
dependencies.

Post here and reopen then. Thanks.
Comment 3 Raboo Treed 2006-03-26 14:19:59 UTC
I found out what was wrong, it only failed to find libX11 when using confcache FEATURE, (dev-util/confcache), I guess it's to soon to start using confcache
Comment 4 Raboo Treed 2006-03-26 14:24:45 UTC
hmm i was told to reopen :)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-03-26 14:34:00 UTC
(In reply to comment #3)
> I found out what was wrong, it only failed to find libX11 when using confcache
> FEATURE, (dev-util/confcache), I guess it's to soon to start using confcache
> 

Thanks for reporting back, this is a dupe. I'll reopen the original bug. confcache generally works very well, there are just a couple of issues like this one. Can be worked around by RESTRICT=confcache in those ebuilds if there's no better solution.

*** This bug has been marked as a duplicate of 116171 ***