Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172683 - ati-drivers-8.34.8 fails to emerge - missing needed dependencies from ebuild
Summary: ati-drivers-8.34.8 fails to emerge - missing needed dependencies from ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Marien Zwart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 16:06 UTC by Paul Thomas
Modified: 2007-03-29 23:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Attached modified ebuild that fixes this problem (ati-drivers-8.34.8.ebuild,12.76 KB, patch)
2007-03-29 16:11 UTC, Paul Thomas
Details | Diff
Created a unified diff (ati-driver.patch,384 bytes, patch)
2007-03-29 18:41 UTC, Paul Thomas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Thomas 2007-03-29 16:06:55 UTC
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
Comment 1 Paul Thomas 2007-03-29 16:11:03 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-29 18:22:44 UTC
Please, attach a unified diff instead of a huge ebuild. Thanks.
Comment 3 Paul Thomas 2007-03-29 18:41:52 UTC
Created attachment 114879 [details, diff]
Created a unified diff

Created a unified diff from the old and new ebuild.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-29 18:49:53 UTC
Reopen.
Comment 5 Marien Zwart (RETIRED) gentoo-dev 2007-03-29 23:01:34 UTC
Fixed in cvs with a modified version of your patch: they're header files, so should be DEPEND, not RDEPEND. Thanks for reporting!