Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerging xkbcomp & others depend on libX11 [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
celebyte
n00b
n00b


Joined: 26 Dec 2002
Posts: 7

PostPosted: Sun Feb 04, 2007 9:05 am    Post subject: Problem emerging xkbcomp & others depend on libX11 [solv Reply with quote

Hi all,

This is a fresh install from 2006.1 stage3 i686. I really need to get this system up & running as soon as possible, so please help me out!

All non-GUI related system packages were updated successfully (emerge -uDN world), but when I tried to emerge xorg-x11 and gnome, everything stopped at the following error of emerging x11-apps/xkbcomp:

Code:
        then mv -f ".deps/xkbscan.Tpo" ".deps/xkbscan.Po"; else rm -f ".deps/xkbscan.Tpo"; exit 1; fi
sed -e 's|__vendorversion__|"xkbcomp 1.0.2" "X Version 11"|' -e 's|__xorgversion__|"xkbcomp 1.0.2" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1x|g' -e 's|__libmansuffix__|3x|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5x|g' < xkbcomp.man > xkbcomp.1x
i686-pc-linux-gnu-gcc  -DDFLT_XKB_CONFIG_ROOT='"/usr/share/X11/xkb"' -march=athlon-xp -O2 -pipe -fomit-frame-pointer   -o xkbcomp  action.o alias.o compat.o expr.o geometry.o indicators.o keycodes.o keymap.o keytypes.o listing.o misc.o parseutils.o symbols.o utils.o vmod.o xkbcomp.o xkbparse.o xkbpath.o xkbscan.o -lX11 -lxkbfile   
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libX11.so: undefined reference to `XauGetBestAuthByAddr'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libX11.so: undefined reference to `XauDisposeAuth'
collect2: ld returned 1 exit status
make[1]: *** [xkbcomp] Error 1
make[1]: Leaving directory `/var/tmp/portage/xkbcomp-1.0.2/work/xkbcomp-1.0.2'
make: *** [all] Error 2

!!! ERROR: x11-apps/xkbcomp-1.0.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called x-modular_src_compile
  x-modular.eclass, line 333:   Called x-modular_src_make
  x-modular.eclass, line 328:   Called die


Not only x11-apps/xkbcomp was having problems but also any package that uses XauGetBestAuthByAddr and XauDisposeAuth. I deleted /usr/portage, emerge --sync, re-emerged, upgraded, downgraded libX11 & libXau, but none seemed to work. Any ideas??? Thanks!

Versions:
Code:
[ebuild   R   ] x11-libs/libX11-1.0.3  USE="-debug -ipv6" 1,415 kB
[ebuild   R   ] x11-libs/libXau-1.0.2  USE="-debug" 214 kB
[ebuild   R   ] x11-apps/xauth-1.0.1  USE="-debug -ipv6" 93 kB
[ebuild  N    ] x11-apps/xkbcomp-1.0.2  USE="-debug" 0 kB


My portage info:
Code:
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System release 1.12.6
Last Sync: Sun, 04 Feb 2007 06:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ "
LINGUAS="en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 acc acpi alsa alsa_cards_nForce2 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 arts bash-completion berkdb bitmap-fonts bzip2 cairo caps cdb cdparanoia cdr clamav cli cracklib crypt cscope cups dbus dlloader dvd dvdr elibc_glibc emacs emboss encode esd expat fastcgi ffmpegg firefox flac fortran freetype gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 hal iconv imagemagick imap imlib innodb input_devices_keyboard input_devices_mouse isdnlog jabber java jpeg jpeg2k kde kernel_linux lame lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libwww linguas_en linguas_en_US lm_sensors logrotate mad maildir midi mikmod mmx mozilla mp3 mpeg mysql nas ncurses nfs nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre perl php png posix ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sasl sdl session snmp spell spl sse ssl tcl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia vim-syntax vorbis win32codecs xine xinerama xinetd xml xml2 xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Last edited by celebyte on Mon Feb 05, 2007 7:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Feb 04, 2007 10:25 am    Post subject: Reply with quote

Install the gentoolkit.

then use revdep-rebuild, to see if anything is broken.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Feb 04, 2007 10:27 am    Post subject: Re: Problem emerging x11-apps/xkbcomp & others depend on Reply with quote

celebyte wrote:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libX11.so: undefined reference to `XauGetBestAuthByAddr'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libX11.so: undefined reference to `XauDisposeAuth'

First obvious thing to try, even if libXau is already installed:
Code:
emerge libXau
Back to top
View user's profile Send private message
celebyte
n00b
n00b


Joined: 26 Dec 2002
Posts: 7

PostPosted: Sun Feb 04, 2007 4:19 pm    Post subject: Reply with quote

I really appreciate for your helps.

Tried revdep-rebuild, everything seemed to be consistent.
Also tried re-emerge libXau and libX11 many times, but still the same error.

Any other ideas I can try?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Feb 04, 2007 10:20 pm    Post subject: Reply with quote

I have:
Code:
$ find /usr/include/X11/ -type f | xargs grep XauGetBestAuthByAddr
/usr/include/X11/Xauth.h:Xauth *XauGetBestAuthByAddr(

$ equery belongs /usr/include/X11/Xauth.h
x11-libs/libXau-1.0.2 (/usr/include/X11/Xauth.h)
Back to top
View user's profile Send private message
celebyte
n00b
n00b


Joined: 26 Dec 2002
Posts: 7

PostPosted: Mon Feb 05, 2007 7:44 pm    Post subject: Reply with quote

Ok, I've found the problem... It has always been these silly mistakes I make that drives me nuts :oops:

Like some people, I use different variables to manage USE flags. And one of the variables that I use to manage X related flags is:

Code:
X11="${X11_LIBS} X -dri freetype gnome kde truetype xinerama"
USE="${APP} ${DEVEL} ${MEDIA} ${NET} ${SEC} ${SYS} ${WWW} ${X11}"


${X11} defined in make.conf really made a mess for compiling packages depending on libX11. Add a unique prefix to all custom variables fixed everything. I guess my servers never had this problem because they don't need X :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum