As you have all noticed by now, I am currently upgrading my system to
~x86. About 220 of the 238 packages were built correctly, but when it
got to xorg-server-1.6.5, it crashed complaining about
"../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No
such file or directory". I'm guessing this means that there was a
problem with a dependency being upgraded/installed/omitted. How do I fix
this?
I have attached the output of emerge --info =x11-base/xorg-server-1.6.5,
as requested, and an (abridged) build log. Thanks for your help!
Marcus
That file comes from libXinerama:
$ equery belongs /usr/include/X11/extensions/panoramiXext.h
* Searching for /usr/include/X11/extensions/panoramiXext.h ...
x11-libs/libXinerama-1.1 (/usr/include/X11/extensions/panoramiXext.h)
I recall similar issues with the upgrade to xorg-server-1.7*
Solution then was to emerge *all* required libs and -proto packages, then
build xorg-server. I think it was due to stuff not being in DEPEND
--
alan dot mckinnon at gmail dot com
Disable (either temporary or permanent) the "xinerama" USE flag.
Marcus
OP
As a suggestion for a work around for the compile issue. If you
temporarily disable xinerama, then the build should proceed. Then if
you need xinerama, enable the USE flag and build again.
I did put -xinerama in my use flag variable and try again, we'll see how
that works...btw, I have switched to xorg-server-1.7.1, since I don't
want to go through upgrading more than I need to.
Marcus
Error: Unrecognized option: --impl-headers
exiting
and
ends with:
CC single2.o
rensize.c: In function '__glXImageSize':
rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in
this function)
rensize.c:222: error: (Each undeclared identifier is reported only once
rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first
use in this function)
rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared
(first use in this function)
rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use
in this function)
rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first
use in this function)
make[1]: *** [rensize.lo] Error 1
I have tried both versions of libXinerama (latest x86 and latest ~x86)
and neither of the work with the latest stable version of xorg-server
(1.6.3-901-r2), 1.6.5, 1.7.1.
This is getting really frustrating...any suggestions would be welcome.
Marcus
libXinerama and xineramaproto are hard-DEPENDS on quite a few things:
$ equery depends libXinerama
* Searching for libXinerama ...
app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama)
app-office/openoffice-3.1.1 (x11-libs/libXinerama)
$ equery depends xineramaproto
* Searching for xineramaproto ...
app-office/openoffice-3.1.1 (x11-proto/xineramaproto)
x11-base/xorg-server-1.7.1 (>=x11-proto/xineramaproto-1.1.3)
x11-libs/libXinerama-1.1 (>=x11-proto/xineramaproto-1.2)
Those are OpenGL/mesa errors. Did you rebuild mesa first?
Marcus
Xorg used to be one ginormous complicated package. It is now a ginormous
complicated collection of small packages, each one simple.
This is supposed to make someone's life easier. In reality it moves the
complexity from point A to point B, where you still have to deal with it :-)
The -proto packages are the protocol header files. They tell the compiler how
to build other packages that use those protocols. They are separate because
Ubuntu users don't need them - they don't compile stuff. You do, so you need
them, and the Xorg ebuilds pull them in.
Marcus
After rebuilding mesa, and then compiling xorg-server, and I get the
same error.
Marcus
Marcus
Marcus
Not usually. You don't compile headers, you just unpack them from the archive
so other apps can use them.
But, this is software and we never really expect stuff to actually work. So
some ebuilds might actually build something. In which case, it safer to just
emerge them anyway. Those packages take just a few seconds to install
../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include
-DHAVE_ssing-declarations -Wnested-externs -fno-strict-aliasing
-DDBUS_API_SUBJECT_TO_CI/usr/include/pixman-1 -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib/dbuxt -I../xfixes -I../Xi -I../mi
-I../miext/shadow -I../miext/damage -I../render (1) * 10000000) + ((6)
* 100000) + ((5) * 1000) + 0)" -march=pentium4 -O2 -pipe ch.lo dispatch.c
In file included from ../Xext/panoramiX.h:44,
from dispatch.c:134:
/usr/include/X11/extensions/panoramiXext.h:49: error: expected ')'
before '*' to
/usr/include/X11/extensions/panoramiXext.h:54: error: expected '=', ',',
';', 'a
/usr/include/X11/extensions/panoramiXext.h:64: error: expected '=', ',',
';', 'a
/usr/include/X11/extensions/panoramiXext.h:70: error: expected '=', ',',
';', 'a
/usr/include/X11/extensions/panoramiXext.h:76: error: expected '=', ',',
';', 'a
dispatch.c: In function 'ProcCloseFont':
dispatch.c:1117: warning: 'SecurityLookupIDByType' is deprecated
(declared at ..
make[2]: *** [dispatch.lo] Error 1
Marcus
http://bugs.gentoo.org/show_bug.cgi?id=291312
Basically you will need to mask all the dependencies for xorg-
server-1.7 to be able to compile 1.6.5. I hit this a few days ago.
>= dependencies in ebuilds cause PITA for users...
HTH,
Roy
However, I would also note that I use xfce4-settings, and therefore also
had to mask ">=xfce-base/xfce4-settings-4.6.3-r1", since it depends on
libXi-1.3 or greater.
Again, thank you to everyone who helped me with this.
Marcus