Emerging ati-drivers-8.34.8 does not pull in two dependencies that are required to successfully build the package. The two dependencies that are missing from the ebuild are: x11-proto/xf86miscproto and x11-proto/xf86vidmodeproto Reproducible: Always Steps to Reproduce: 1.un-merge x11-proto/xf86miscproto and x11-proto/xf86vidmodeproto 2.now if you run: emerge =ati-drivers-8.34.8 -a notice that the two packages above are not pulled in by the ebuild. However, they are required. 3.emerge =ati-drivers-8.34.8 Will produce the error in the bug description above about missing depends. Actual Results: Here's a portion of the emerge output near the failure: /var/tmp/portage/x11-drivers/ati-drivers-8.34.8/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KAS_ExecuteAtLevel': /var/tmp/portage/x11-drivers/ati-drivers-8.34.8/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4719: warning: 'flags' may be used uninitialized in this function LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.34.8/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.o Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/x11-drivers/ati-drivers-8.34.8/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.34.8/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r5' * Building fgl_glxgears * Building fglrx_gamma lib fglrx_gamma.c:27:37: error: X11/extensions/xf86misc.h: No such file or directory fglrx_gamma.c:28:39: error: X11/extensions/xf86mscstr.h: No such file or directory In file included from fglrx_gamma.c:41: fglrx_gamma.h:17:38: error: X11/extensions/xf86vmode.h: No such file or directory In file included from fglrx_gamma.c:41: fglrx_gamma.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FGLRX_X11Gamma_float' fglrx_gamma.h:69: error: expected declaration specifiers or '...' before 'FGLRX_X11Gamma_float' fglrx_gamma.c:188: error: expected declaration specifiers or '...' before 'FGLRX_X11Gamma_float' fglrx_gamma.c: In function 'FGLRX_X11SetGammaRamp_float': fglrx_gamma.c:224: error: 'Gamma' undeclared (first use in this function) fglrx_gamma.c:224: error: (Each undeclared identifier is reported only once fglrx_gamma.c:224: error: for each function it appears in.) distcc[19152] ERROR: compile fglrx_gamma.c on localhost failed !!! ERROR: x11-drivers/ati-drivers-8.34.8 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 4060: Called src_compile ati-drivers-8.34.8.ebuild, line 180: Called die !!! fglrx_gamma lib build failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.34.8/temp/build.log'. Expected Results: emerged correctly
Created attachment 114870 [details, diff] Attached modified ebuild that fixes this problem The attached ebuild will allow anyone experiencing this problem to successfully emerge this package.
Please, attach a unified diff instead of a huge ebuild. Thanks.
Created attachment 114879 [details, diff] Created a unified diff Created a unified diff from the old and new ebuild.
Reopen.
Fixed in cvs with a modified version of your patch: they're header files, so should be DEPEND, not RDEPEND. Thanks for reporting!