Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg-x11 and vanilla gcc (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
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Fri Feb 24, 2006 10:02 am    Post subject: Xorg-x11 and vanilla gcc (Solved) Reply with quote

When i try to emerge xorg 7 it fails with the following error message
Code:

 emerge xorg-x11
Calculating dependencies ...done!
>>> emerge (1 of 13) x11-base/xorg-server-1.0.1-r4 to /
>>> checksums files   ;-) xorg-server-1.0.1-r4.ebuild
>>> checksums files   ;-) files/xorg-server-1.0.1-64bit-fix-indirect-vertex-array.patch
>>> checksums files   ;-) files/xorg-server-1.0.1-Sbus.patch
>>> checksums files   ;-) files/xorg-server-1.0.1-backtrace.patch
>>> checksums files   ;-) files/digest-xorg-server-1.0.1-r4
>>> checksums files   ;-) files/xorg-server-1.0.1-64bit-fix-have-dix-config.patch
>>> checksums files   ;-) files/xorg-server-1.0.1-amd64-fix-for-glx.patch
>>> checksums src_uri ;-) xorg-server-1.0.1.tar.bz2
>>> checksums src_uri ;-) MesaLib-6.4.2.tar.bz2
>>> Unpacking source...
 * Do not emerge xorg-server without vanilla gcc!

!!! ERROR: x11-base/xorg-server-1.0.1-r4 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_unpack
  ebuild.sh, line 694:   Called src_unpack
  ebuild.sh, line 1609:   Called x-modular_src_unpack

!!! Do not emerge xorg-server without vanilla gcc!


Is there something unusual about my cflags or something? GCC version is stable, Cflags straight from the gentoo page and i'm not having trouble with other packages so far.

Code:

 emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
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-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=prescott -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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 16bit 7zip X Xaw3d aac acpi adsl alsa amd apm asf asm automount avi bash-completion bitmap-fonts bittorrent bluetooth bonobo bootsplash calendar caps cardbus cdda cddb cdinstall cdio cdparanoia chm crypt cups curlwrappers dbus dga dio dri dv dvd dvdr dvdread encode fbcon fftw flac flash foomaticdb fortran ftp gdbm gif ginac gnome gnustep gpm gstreamer gtk gtk2 hardened icc icq ieee1394 imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_vmmouse ipv6 javascript jikes jpeg jpeg2k libwww mad mime ming mmx mono motif mp3 mpeg msn ncurses nls nocd nptl ntfs offensive ogg oggvorbis opengl osc oscar pam pcntl pdf pdflib perl php png python quicktime readline scanner sdl session sharedmem soap sockets source speex spell sse sse-filters sse2 ssl threads truetype truetype-fonts type1-fonts unicode v4l vcd videos vorbis wifi win32codecs wxwindows xml2 xmms xpm xv zlib elibc_glibc input_devices_kbd kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_vmware"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS


Last edited by Kaste on Sat Feb 25, 2006 7:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sleipnir
Guru
Guru


Joined: 20 Sep 2005
Posts: 372
Location: Germany

PostPosted: Fri Feb 24, 2006 10:15 am    Post subject: Reply with quote

[quote=Kaste]!!! Do not emerge xorg-server without vanilla gcc![/quote]

Hmmm seems to me that you do not have a vanilla gcc. *g* Try to emerge a
vanilla gcc (using '+vanilla' as useflag) and try again!
_________________
A)bort, R)etry, I)nfluence with large hammer.
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Fri Feb 24, 2006 6:43 pm    Post subject: Reply with quote

Thanks for you help. Your suggestion didn't work unfortunately. I tried
Code:
USE="vanilla" emerge gcc
and
Code:
emerge xorg-x11
afterwards to no avail.
It still complains about it being non vanilla somehow.

I never tinkered with any patches, gcc is straight out of portage.

Is there any useflags that would make it nonstd? Any other explanations?
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Fri Feb 24, 2006 9:20 pm    Post subject: Reply with quote

ok i had gcc 3.3.6 and 3.4.4 and figured that the latest one would be used for compiling and updating. Must have been wrong i guess
I then tried to rebuild a vanilla 3.3.6 as well but that gave me a patch error, so I guess that is the source of my trouble.
I fear i now hosed my system by being an idiot and doing an emerge -C "=gcc-3.3.6" hoping that portage is smart enough to leave the 3.4.4 untouched. :( Now i can't use emerge anymore since python can't find libstdc++.so.5.
What's the easiest way to get back to normal now? boot with a cd?
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Sat Feb 25, 2006 7:45 pm    Post subject: Reply with quote

Solved the Problem myself:
1. Problem: Do not emerge xorg-server without vanilla gcc!
Solution: gcc-config -l
gcc-config i686-pc-linux-gnu-3.4.4-vanilla (or whatever the first command tells you.

2. Problem: emerge -C gcc
Solution: Slap yourself over the head for being an idiot and try this:
Code:
 cd /
wget http://dev.gentoo.org/~avenj/bins/i686/gcc-3.3.4-r1.tbz2
tar xvjf gcc-3.3.4-r1.tbz2
LD_LIBRARY_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4  env-update && source /etc/profile   
mv gcc-3.3.4-r1.tbz2 /usr/portage/packages/All
LD_LIBRARY_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 emerge -k =gcc-3.3.4-r1


(compiled from the bottom of this threat (also see next page) : GCC Upgrade )
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