Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316041 - x11-base/xorg-server-1.7.6 fails to compile
Summary: x11-base/xorg-server-1.7.6 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 00:06 UTC by 7v5w7go9ub0o
Modified: 2010-04-19 16:13 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 7v5w7go9ub0o 2010-04-19 00:06:46 UTC
Starts out o.k.    early on, this error:

>>> Emerging (1 of 1) x11-base/xorg-server-1.7.6
 * xorg-server-1.7.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                                     [ ok ]
 * CPV:  x11-base/xorg-server-1.7.6
 * REPO: gentoo
 * USE:  amd64 elibc_glibc ipv6 kernel_linux multilib nptl userland_GNU xorg
Switching to xorg-x11 OpenGL interface...!!! Error: No proper xorg-x11 or xorg-x11 opengl implementation found
exiting
>>> Unpacking source...
>>> Unpacking xorg-server-1.7.6.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.7.6/work
>>> Source unpacked in /var/tmp/portage/x11-base/xorg-server-1.7.6/work
>>> Preparing source in /var/tmp/portage/x11-base/xorg-server-1.7.6/work/xorg-server-1.7.6 ...
 * Applying 1.7.3.901-0001-dix-if-owner-events-is-true-for-passive-grabs-add-th.patch ...                                   [ ok ]
 * Applying 1.7.5.902-fix-tslib-1.0-check.patch ...   

later on, this occurs:


   CC    renderpixswap.o
  CC    rensize.o
  CC    single2.o
  CC    single2swap.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
make[1]: *** Waiting for unfinished jobs....
make: *** [all-recursive] Error 1
 * ERROR: x11-base/xorg-server-1.7.6 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3844:  Called x-modular_src_compile
 *   environment, line 4811:  Called x-modular_src_make
 *   environment, line 4849:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 


Reproducible: Always




- I've been using the NVidia proprietary drivers from the NV website.

-I'd ..guess.. that I should reinstall open source GL, then reinstall the NV drivers? If so, how do I do that?
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-04-19 09:07:39 UTC
> 
> - I've been using the NVidia proprietary drivers from the NV website.
> 

don't do that. We have the package even in portage.

> -I'd ..guess.. that I should reinstall open source GL, then reinstall the NV
> drivers? If so, how do I do that?
> 

Consult our Forums, Mailing lists or IRC channels for that.
Comment 2 7v5w7go9ub0o 2010-04-19 16:13:21 UTC
For anyone else with this problem, it turns out that uninstalling the NV proprietary drivers reinstalls the openGL drivers.  xorg-server-1.7.6 (and mesa) then compiles uneventfully. Perhaps NV and gentoo back up the drivers in different places, or a symbolic link is handled differently.