| Summary: | x11-base/xorg-server and eselect opengl (--impl-headers error) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Steve Kutnar <anotherbearcatfan> |
| Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | qbasicer, xmw |
| Priority: | High | Keywords: | InOverlay, InVCS |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | PLEASE REOPEN !!!! | ||
|
Description
Steve Kutnar
2009-11-19 01:36:37 UTC
My /etc/portage/package.mask:
>=media-video/nvidia-settings-190.0
>=sys-libs/glibc-2.11
>=x11-apps/xinput-1.5.0
>=x11-base/xorg-drivers-1.7
>=x11-base/xorg-server-1.7.1
>=x11-drivers/nvidia-drivers-190.0
>=x11-libs/libX11-1.3.2
>=x11-libs/libXScrnSaver-1.2.0
>=x11-libs/libXext-1.1.1
>=x11-libs/libXi-1.3
>=x11-libs/libXinerama-1.1
>=x11-libs/libXtst-1.1.0
>=x11-libs/libXxf86dga-1.1.1
>=x11-libs/libXxf86vm-1.1.0
>=x11-proto/bigreqsproto-1.1.0
>=x11-proto/fixesproto-4.1.1
>=x11-proto/inputproto-2.0
>=x11-proto/recordproto-1.14
>=x11-proto/scrnsaverproto-1.2.0
>=x11-proto/xcmiscproto-1.2.0
>=x11-proto/xextproto-7.1.1
>=x11-proto/xf86bigfontproto-1.2.0
>=x11-proto/xf86dgaproto-2.1
>=x11-proto/xf86driproto-2.1.0
>=x11-proto/xf86vidmodeproto-2.3
>=x11-proto/xineramaproto-1.2
Sorry, the proper syntax for the command is "eselect opengl set <option>" where option is one of the available OpenGL implementations seen from "eselect opengl list". Better info...
Apparently, this is the code that is not working:
eselect opengl set --impl-headers ${OPENGL_DIR}
This causes:
!!! Error: Unrecognized option: --impl-headers
exiting
Updated summary As the build.log is missing, it's hard to tell for sure, but perhaps it's because >=190 series no longer create libGl.la file, cause recent eselect-opengl doesn't want it anymore ? This missing parameter --impl-headers also happens witth eselect 1.26/1.2.7 and eselect-opengl-1.1.1 and nvidia-drivers-185.18.36-1 during the downgrade from xorg-server-1.6.4 to current stable xorg-server-1.6.3... Solution: eselect opengl set xorg-x11 && emerge -v1 -j1 xorg-server and ignore the warning. Somebody should add a "|| die" begind the eselect statement and figure out in which world --impl-headers is an valid parameter for eselect opengl ... stupid bug in xorg-server ebuild inside portage tree. (In reply to comment #6) > stupid bug in xorg-server ebuild inside portage tree. it's in all current ebuilds ... n.b. you shall eselect opengl set nvidia after emerge -v1 -j1 `eix -I -C x11-drivers --only-names` otherwise nvidia-drivers will fail. (In reply to comment #5) > As the build.log is missing, it's hard to tell for sure, > but perhaps it's because >=190 series no longer create > libGl.la file, cause recent eselect-opengl doesn't want it anymore ? > If you read my comments, I said: "I am currently masking out the xorg 1.7 packages and also masking the nvidia-drivers 190 series. See a later comment for my packages.mask." See comment 1 for my masks. I'm using xorg 1.6.5 (r1 revision now) and nvidia-drivers 185.18.36-r1. I didn't feel a build.log would shed any additional light on the subject. There are two notable points in the build. The first is the bad parameter to eselect opengl, which causes a failure that is ignored. The ultimate failure is the portion of the build I did post. @Tomáš, can you confirm that we can drop --impl-headers from all xorg-server ebuilds? Thanks Yea(In reply to comment #9) > @Tomáš, can you confirm that we can drop --impl-headers from all xorg-server > ebuilds? > > Thanks > Yeah we should be able to have it working without --impl-headers with no troubles. So i recommend dropping. fixed in both main tree and overlay. Thanks for report. keyboard.c: In function ‘LinuxKeyboardEnable’: keyboard.c:695: warning: cast to pointer from integer of different size keyboard.c: In function ‘LinuxKeyboardDisable’: keyboard.c:727: warning: cast from pointer to integer of different size keyboard.c: In function ‘LinuxKeyboardLeds’: keyboard.c:758: warning: cast from pointer to integer of different size CC linux.o linux.c: In function ‘LinuxCheckChown’: linux.c:62: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result linux.c: In function ‘LinuxFindPci’: linux.c:162: warning: ignoring return value of ‘strtoul’, declared with attribute warn_unused_result CC tslib.o LINK liblinux.la Making all in sdl CC sdl.o LINK Xsdl libtool: link: cannot find the library `/usr/lib64/libGL.la' or unhandled argument `/usr/lib64/libGL.la' make[3]: *** [Xsdl] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 * ERROR: x11-base/xorg-server-1.7.3.902 failed: * emake failed Created attachment 215303 [details]
PLEASE REOPEN !!!!
(In reply to comment #12) > libtool: link: cannot find the library `/usr/lib64/libGL.la' or unhandled > argument `/usr/lib64/libGL.la' Your error is totally unrelated to this bug. It comes because you neglected to read the elog messages after emerging mesa. Check /var/log/portage/elog/summary.log |