Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111448 - Modular libX11 Fails to compile
Summary: Modular libX11 Fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 00:57 UTC by Ilya Eremin
Modified: 2005-11-05 08:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emere info (info.txt,1.84 KB, text/plain)
2005-11-04 11:23 UTC, Ilya Eremin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Eremin 2005-11-04 00:57:52 UTC
The libX11 packagee from Modular Xorg fails to compile. Sorry but since I don't
have any GUI I can't really copy and paste, let me know if you need more info.
Example of errors:
In file included from ../../../include/X11/Xlibint.h:43
from imCallbk.c:40
../../../include/X11/Xlib.h:3575: error: parse error before "_X_SENTINEL"
../../../include/X11/Xlib.h:3575: warning: type defaults to 'int' in declaration
of '_X_SENTINEL'
../../../include/X11/Xlib.h:3575: warning: function declaration isn't a prototype
../../../include/X11/Xlib.h:3575: warning: data definition has no type or
storage class

Same errors on lines 3580, 3593, 3606, 3611, 3843, 3847, 3859, 3887,3891, 3931

Ends with
make[3]: [imDefFlt.lo] Error 1


Reproducible: Always
Steps to Reproduce:
1. emerge libX11
2.
3.

Actual Results:  
Make failed

Expected Results:  
Make succeded

Here's the portage info with some stuff cut out, 'cause I had to type it in manually

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.14-gentoo i686)
System uname: 2.6.14-gentoo i686 Pentium III (Coppermine)
ccache version 2.3 [enabled] (i also tryed with it disabled
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 12.12
sys-devel/autoconf: 2.13, 259-r6
automake: 1.4_p6, 1.5, 1.63, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
binutils: 2.15.92.0.2-r10
libtool: 1.5.20
os-headers: 2.6.11-r2
CFLAGS="-O3 -march=pentium3 -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointern -ftracer -pipe"
CXXFLAGS" same -fvisibility-inlines-hidden"
features="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
makeopts="-j2" (tryed disabling it)
Comment 1 Ilya Eremin 2005-11-04 05:31:12 UTC
To add to this: I have tryed with saner CXX/CF flags (-O -march=pentium3) same
result.
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2005-11-04 08:26:50 UTC
That's really odd...

What's your ACCEPT_KEYWORDS? ~x86?  Also, take a look at http://dev.gentoo.org/
~spyderous/xorg-x11/migrating_to_modular_x_howto.txt to make sure you clean out 
any crap left behind by 6.8.x.
Comment 3 Ilya Eremin 2005-11-04 09:01:55 UTC
Yeah ~x86, added it for the purpose of emerging xorg.
And i did read that guide yesterday and deleted
# rm -rf /usr/lib/opengl/xorg-x11
# rm -rf /usr/lib/libGL*
like it said. I think thats all I deleted manually though.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-11-04 10:32:28 UTC
Can you do `emerge info > info.txt` and attach the file via "Create a New
Attachment"?

Seems like your compiler isn't recognizing the '...' parts of Xlib.h.
Comment 5 Ilya Eremin 2005-11-04 11:23:31 UTC
Created attachment 72125 [details]
emere info
Comment 6 Ilya Eremin 2005-11-04 11:24:08 UTC
done
Comment 7 Ilya Eremin 2005-11-05 06:33:03 UTC
Ah sorry guys. Deinstalled everything deleted all X11 folders, works now. Looks
like a bigger clean then described in the guide was needed.
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2005-11-05 08:10:33 UTC
Any idea what extra was required?