Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-x11 ebuild fails
View unanswered posts
View posts from last 24 hours

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


Joined: 13 May 2003
Posts: 43

PostPosted: Tue Apr 20, 2004 10:21 am    Post subject: xorg-x11 ebuild fails Reply with quote

Hello everyone,

When I try to emerge xorg-x11 on my laptop I end up with the following error.

Code:

PROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API      -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'   -c -o ../../../lib/GL/glx/compsize.o ../../../lib/GL/glx/compsize.c
In file included from ../../../lib/GL/glx/compsize.c:38:
../../../lib/GL/glx/glxclient.h:57:32: GL/internal/glcore.h: No such file or directory
../../../lib/GL/glx/glxclient.h:58:24: glapitable.h: No such file or directory
../../../lib/GL/glx/glxclient.h:63:22: Xthreads.h: No such file or directory
In file included from ../../../lib/GL/glx/compsize.c:38:
../../../lib/GL/glx/glxclient.h:683: error: syntax error before "__GLcontextModes"
../../../lib/GL/glx/glxclient.h:697: error: syntax error before '}' token
../../../lib/GL/glx/glxclient.h:697: error: ISO C forbids data definition with no type or storage class
../../../lib/GL/glx/glxclient.h:732: error: syntax error before "__GLXscreenConfigs"
../../../lib/GL/glx/glxclient.h:866: error: syntax error before '*' token
make[5]: *** [../../../lib/GL/glx/compsize.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/lib/GL/GL'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.7.0 failed.
!!! Function src_compile, Line 630, Exitcode 2
!!! (no error message)


I've tried to vary with several useflags didn't help me much though.
The files mentioned seem to be available on my system but I'm not shure wheter emerge is looking for them in the right place, which is rather ood because I seem to be the only one whith this problem....
Does anybody have a clue whats wrong here?

Grtz,
Noodle
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Apr 20, 2004 11:29 am    Post subject: Reply with quote

Not just from this output - could you post
Code:
emerge info

?
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
StuRReaL
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2003
Posts: 117

PostPosted: Tue Apr 20, 2004 12:41 pm    Post subject: Reply with quote

i had the same problem i just did an emerge sync and then emerged it again and all was good now i'm trying to configure it so far its proving a traumer :cry:
Back to top
View user's profile Send private message
noodle
n00b
n00b


Joined: 13 May 2003
Posts: 43

PostPosted: Tue Apr 20, 2004 4:56 pm    Post subject: Reply with quote

Hi,
That's a nice option I didn't know about yet, I'm still somewhat of a newbie I guess.

Well anyway here is the output.

Code:

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) III CPU             1133MHz
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.18/sites/www.ibiblio.org/gentoo/ http://212.219.247.16/sites/www.ibiblio.org/gentoo/ http://212.219.247.14/sites/www.ibiblio.org/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga
tcpd truetype x86 xml2 xmms xv zlib"


Thanx for helping me out btw.

Grtz,
Noodle
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Apr 20, 2004 6:05 pm    Post subject: Reply with quote

Hmm that seems fine...

It looks to be a missing library header issue, although OpenGL is simply a part of the X server.

Maybe try to (r)emerge the video glx driver ?
Or try a newer set of linux-headers ?

If the problem persist you could try to
Code:
emerge -u system

and run
Code:
env-update

to reload all library and file locations.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
noodle
n00b
n00b


Joined: 13 May 2003
Posts: 43

PostPosted: Tue Apr 20, 2004 6:25 pm    Post subject: Reply with quote

Hi,

My laptop has a ATI radeon modility M6-P.

adaptr wrote:

Maybe try to (r)emerge the video glx driver ?

I would love to do this but how? If I emerge ati-drivers xfree (which doesn't compile either) or xorg needs to be emerged first....
I've compiled the kernel module ATI-driver so should I recompile the kernel?

adaptr wrote:

Or try a newer set of linux-headers ?


Good idea, never emerged them after the install.... :oops:

Thanks for the info I'll let you know what happens.

Grtz,
Noodle
Back to top
View user's profile Send private message
noodle
n00b
n00b


Joined: 13 May 2003
Posts: 43

PostPosted: Wed Apr 21, 2004 6:57 am    Post subject: Reply with quote

Alfter I've emerged linux-hedears 2.6.5, still the same error.

After
Code:
 emerge -u system && env-update

still the same error.

I wouldn't know how to emerge the video glx driver for my card..

Any more idea's?

Grtz,
Noodle
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Wed Apr 21, 2004 6:11 pm    Post subject: Reply with quote

I've got a brand spanking new Gentoo install here (no X, no nothin' yet), and the exact same problem.

It looks like iamlarryboy (the guy who does the KDE-CVS builds) had the same problem too. Here is his post in the "experiences with xorg-x11-6.7.0" thread, where it looks like his (our) problem was never resolved.

Maybe it's some dependancy that isn't in the ebuild...
Maybe if I emerge xfree, then unmerge it, then emerge xorg-x11?
Back to top
View user's profile Send private message
noodle
n00b
n00b


Joined: 13 May 2003
Posts: 43

PostPosted: Wed Apr 21, 2004 6:57 pm    Post subject: Reply with quote

I've tried that already, problem is that Xfree won't compile either, on my laptop.

I did notice that all three missing .h files are present on my system, its not that their missing, gcc just can't find them. The big question is why is it just our systems that won't compile it?

One comonality is that my system too is sparkling brand new installed.
Could a (too) new version of gcc cause this?

Any more ideas?

Grtz,
Noodle
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Wed Apr 21, 2004 8:57 pm    Post subject: Reply with quote

I doubt that the version of gcc included in the stage3 tarball is too new - and that's what I'm using.

I'm using -Os instead of -O3, but our CFLAGS are otherwise identical.

My computer isn't a laptop.

The really funny thing is that I have successfully set up a new install with xorg-x11 before, and it worked. The only thing I've done differently this time (that I can think of) is use Reiser4 instead of the xfs filesystem.
Back to top
View user's profile Send private message
noodle
n00b
n00b


Joined: 13 May 2003
Posts: 43

PostPosted: Wed Apr 21, 2004 9:05 pm    Post subject: Reply with quote

I'm using Reiser4 as well, but I can hardly imagine that the choice of filesystem would screw up an ebuild like this...
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Wed Apr 21, 2004 9:13 pm    Post subject: Reply with quote

Ah ha, it's got to be a bug in Reiser4! Can you think of another explanation?

And I think I remember iamlarryboy mentioning somewhere that he uses Reiser4 too.
EDIT: Yup, he does. Here's his post about it. I just PMed him.
Back to top
View user's profile Send private message
noodle
n00b
n00b


Joined: 13 May 2003
Posts: 43

PostPosted: Wed Apr 21, 2004 10:48 pm    Post subject: Reply with quote

Maybe we should mention this to the developers I just found a bug report on this issue here: https://bugs.gentoo.org/show_bug.cgi?id=48191

I'll see if I can add some comments there. After that I'll guess we'll have to wait and see???

Grtz,
Noodle
Back to top
View user's profile Send private message
jeversol
n00b
n00b


Joined: 04 Apr 2003
Posts: 17

PostPosted: Thu Apr 22, 2004 2:17 am    Post subject: Reply with quote

That's my bug. Gentoo's devs are blaming Reiser4 since it's still developmental. *Shrug*

There's also currently a bug that makes it impossible to emerge glibc. I am also having problems (different error) emerging xfree... dunno really what the deal is. Hopefully they'll tag a new version of Reiser4 soon.

--je

noodle wrote:
Maybe we should mention this to the developers I just found a bug report on this issue here: https://bugs.gentoo.org/show_bug.cgi?id=48191

I'll see if I can add some comments there. After that I'll guess we'll have to wait and see???
Back to top
View user's profile Send private message
slestak
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2003
Posts: 115

PostPosted: Thu Apr 22, 2004 3:39 am    Post subject: Reply with quote

I was about to mention after upgrading kernel headers re-emerging glibc is mandatory isnt it?
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Thu Apr 22, 2004 3:47 am    Post subject: Reply with quote

I'll agree Reiser4 loses files, but I did setup a chroot system here about a month ago on a reiser4 partition (i have amd64 and wanted a native x86 environment), that had XFree and various apps on it, ie firebird so I could have flash plugins...

That chroot system was highly unstable though so i just ditched everything and am now just running x86 on reiser3...

Reiser4 probably is the problem but there must be a more unique reason its having a problem for you... (or i might be special but I doubt it)... It may be possible that they broke something in the updates since then, so I might set up another reiser4 chroot later tonight...

I was using kernel 2.6.1 at the time, linux-headers 2.4.22, my chroot environment was just one large partition so all reiser4..
Back to top
View user's profile Send private message
noodle
n00b
n00b


Joined: 13 May 2003
Posts: 43

PostPosted: Thu Apr 22, 2004 7:46 am    Post subject: Reply with quote

I'll try to remerge glibc didn't know that about the kernel headers.

Maybe that works...
Back to top
View user's profile Send private message
noodle
n00b
n00b


Joined: 13 May 2003
Posts: 43

PostPosted: Sun Apr 25, 2004 9:55 pm    Post subject: Reply with quote

I've found it! It works I'm not shure if it's a combination of things I've done so I'll just tell the whole story.

First i've updated to the new kernel-headers 2.6.5

ThenI perforemed
Code:
 emerge -e system


But eerging the glibc failed there.

Then I added plugin.fibration=lexicographic to my mount options in fstab.

Didn't seem to help

Then I found this patch
http://mjt.nysv.org/reiser/tail.c.diff

I applied it, recompiled my kernel and did another
Code:
emerge -e system


After that I tried
Code:
emerge xorg-x11
again, and it compiled while still running on a Reiser4 file system.

Great!! :D

Thanx for all the help everyone!
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Mon Apr 26, 2004 8:55 am    Post subject: Reply with quote

whats the purpose of that patch?
Back to top
View user's profile Send private message
noodle
n00b
n00b


Joined: 13 May 2003
Posts: 43

PostPosted: Mon Apr 26, 2004 4:51 pm    Post subject: Reply with quote

You could check out this thread for more info taht's where I found it....

[link]https://forums.gentoo.org/viewtopic.php?t=116785[/link]

It fixes something with Reiser4 and .o files if I'm correct.
If you find out exactly let me know, should be intetersting.

grtz,
Noodle
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