Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 288221

Summary: media-libs/mesa-7.4.4 depends on xf86vmode.h, removed in x11-proto/xf86vidmodeproto-2.3
Product: Gentoo Linux Reporter: Luke-Jr <luke-jr+gentoobugs>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luke-Jr 2009-10-08 16:57:43 UTC
arm-gentoo-linux-gnueabi-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -I/usr/include/drm     -pipe -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -fomit-frame-pointer -Os -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing  -fPIC   -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" glxcmds.c -o glxcmds.o
glxcmds.c:43:38: error: X11/extensions/xf86vmode.h: No such file or directory
glxcmds.c: In function '__driGetMscRateOML':
glxcmds.c:2218: error: 'XF86VidModeModeLine' undeclared (first use in this function)
glxcmds.c:2218: error: (Each undeclared identifier is reported only once
glxcmds.c:2218: error: for each function it appears in.)
glxcmds.c:2218: error: expected ';' before 'mode_line'
glxcmds.c:2224: warning: implicit declaration of function 'XF86VidModeQueryVersion'
glxcmds.c:2225: warning: implicit declaration of function 'XF86VidModeGetModeLine'
glxcmds.c:2225: error: 'mode_line' undeclared (first use in this function)

This header was included with x11-proto/xf86vidmodeproto-2.2, but seems to no longer be installed with 2.3.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-10-09 06:02:57 UTC
This package is under a big package.mask. Please don't unmask packages from xorg 1.7 unless you are willing to submit patches.

Thanks
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-10-09 07:17:30 UTC
Don't mix stable and unstable/masked parts of X.org. This leads to problems.

In your case, you neglected to upgrade libXxf86vm to 1.1.0
Comment 3 Luke-Jr 2009-10-09 13:19:35 UTC
In this case, the mask states that it is only masked because the prior version needs more testing.

@Chí-Thanh: That's what dependencies are for.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-10-09 14:38:31 UTC
(In reply to comment #3)
> @Chí-Thanh: That's what dependencies are for.

Yes, the qt team chose to go down that route. And the result was not always great. Don't expect Gentoo to keep you from shooting yourself in your foot.