Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106225 - xorg-x11-6.8.2-r3 failes to compile
Summary: xorg-x11-6.8.2-r3 failes to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-16 15:58 UTC by NightTwix
Modified: 2005-09-17 08:08 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 NightTwix 2005-09-16 15:58:04 UTC
i somehow borked my system (i dont know how exactly). However X refuses to 
start...
So i decided to remerge xorg-x11 but that doesnt work either.

I tried to emerge 6.8.99.15-r1 as well but it exits with the same error

Reproducible: Always
Steps to Reproduce:
1. emerge xorg-x11
2.
3.

Actual Results:  
cd ../exports/lib/locale && ln -s ../../../nls/compose.dir.lt compose.dir
make[3]: Leaving directory `/stuff/var-tmp/portage/xorg-x11-6.8.2-r3/work/xc/
nls'
making all in ./programs...
make[3]: Entering directory `/stuff/var-tmp/portage/xorg-x11-6.8.2-r3/work/xc/
programs'
making all in programs/appres...
make[4]: Entering directory `/stuff/var-tmp/portage/xorg-x11-6.8.2-r3/work/xc/
programs/appres'
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -pipe -fno-
strict-aliasing -ansi -pedantic -Wno-return-type -w     -I../.. -I../../exports/
include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                           
   -D_POSIX_SOURCE -D_XOPEN_SOURCE                          -D_BSD_SOURCE -
D_SVID_SOURCE                             -D_GNU_SOURCE                          
  -DFUNCPROTO=15 -DNARROWPROTO       -c -o appres.o appres.c
rm -f appres
i686-pc-linux-gnu-gcc -o appres -O2 -march=athlon-xp -fomit-frame-pointer -pipe 
-fno-strict-aliasing -ansi -pedantic -Wno-return-type -w     -L../../exports/lib 
  appres.o -lXt -lSM -lICE -lX11      -Wl,-rpath-link,../../exports/lib
../../exports/lib/libX11.so: undefined reference to `__dlsym'
../../exports/lib/libX11.so: undefined reference to `__dlclose'
../../exports/lib/libX11.so: undefined reference to `__dlopen'
collect2: ld returned 1 exit status
make[4]: *** [appres] Error 1
make[4]: Leaving directory `/stuff/var-tmp/portage/xorg-x11-6.8.2-r3/work/xc/
programs/appres'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/stuff/var-tmp/portage/xorg-x11-6.8.2-r3/work/xc/
programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/stuff/var-tmp/portage/xorg-x11-6.8.2-r3/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/stuff/var-tmp/portage/xorg-x11-6.8.2-r3/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r3 failed.
!!! Function build, Line 970, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.




i found these to bugs :
http://bugs.gentoo.org/show_bug.cgi?id=93068
http://bugs.gentoo.org/show_bug.cgi?id=87613

so i remerge flex wich didn't help either

here is some info:

# emerge xorg-x11 -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-base/xorg-x11-6.8.2-r3  -3dfx +3dnow +bitmap-fonts -cjk -
debug -dlloader -dmx -doc +font-server -insecure-drivers -ipv6 -minimal +mmx 
+nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-
uclibc) -xprint +xv 0 kB

# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.
11.11 i686)
=================================================================
System uname: 2.6.11.11 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
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.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://ftp-stud.fht-
esslingen.de/pub/Mirrors/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://
ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.du.se/pub/os/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X aac aalib acl acpi alsa apache2 apm arts audiofile 
avi bash-completion berkdb bidi bitmap-fonts bzlib cairo cdda cddb cdr crypt 
curl dga directfb divx4linux dvd elf emboss encode esd ethereal fam fbcon ffmpeg 
flac font-server foomaticdb fortran freetype ftp gbdm gd gdbm geoip ggl gif 
glitz glut gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal httpd 
imagemagick imlib jpeg jpeg2k junit kde libcaca libg++ libwww lua lzo mad 
maildir mime mmx mmxext motif mozilla mp3 mpeg mppe-mppc mysql ncurses network 
nls nocd nptl nsplugin nvidia ode offensive ogg oggvorbis opengl oss pam pcre 
pdflib perl php png prelude python qt quicktime readline real rtc ruby samba 
sasl sdl slang smux snmp sockets speex spell sqlite sse sse2 ssl stream svga 
tcltk tcpd tga tiff timidity toolbar truetype truetype-fonts type1-fonts unicode 
usb userlocales vcd vhosts videos visualization vlm vorbis win32codecs wmf 
wxwindows x86 xine xml xml2 xmms xosd xrandr xv xvid xvmc zlib userland_GNU 
kernel_linux elibc_glibc"
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2005-09-16 19:13:26 UTC
You could try re-merging glibc, but take a look at
http://forums.gentoo.org/viewtopic-t-352852-highlight-dlsym.html first. (Just go
to the bottom) and
http://forums.gentoo.org/viewtopic-t-357715-highlight-dlsym.html .  Hope those help.

Let me know how it turns out.
Comment 2 NightTwix 2005-09-17 03:33:38 UTC
this one gave me the hint:
http://forums.gentoo.org/viewtopic-t-357715-highlight-dlsym.html

I had to move /usr/lib/ to another partition and link it back because my / ran 
out of space.
well, i try to find another solution
Comment 3 NightTwix 2005-09-17 06:32:25 UTC
yes, its solved!
Thanks a lot. I was close to madness

linking /usr/lib/ around is a bad idea. I used 'mount --bind' instead and xorg 
just finished compiling without any problems

Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2005-09-17 08:08:06 UTC
Since this was a space issue I'm marking as INVALID.  Thanks for letting letting
me know :)