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

Bug 222025

Summary: media-sound/alsa-driver-1.0.16 doesn't compile with >=sys-kernel/vanilla-sources-2.6.25
Product: Gentoo Linux Reporter: Arun Raghavan (RETIRED) <ford_prefect>
Component: [OLD] UnspecifiedAssignee: Steve Dibb (RETIRED) <beandog>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andrija.prcic, johnmichael.fischer, rbachl, thoward1120
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 230285    
Attachments: Patch to fix compilation with 2.6.25 kernels from upstream hg
Working ebuild.
Patch to fix compilation with 2.6.26 kernels from upstream hg

Description Arun Raghavan (RETIRED) gentoo-dev 2008-05-14 06:54:40 UTC
Compilation fails with the following error:

  CC [M]  /var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore/timer.o
/var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore/timer.c: In function 'snd_timer_request':
/var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore/timer.c:155: error: wrong type argument to unary exclamation mark
make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore/timer.o] Error 1
make[2]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16/acore] Error 2
make[1]: *** [_module_/var/tmp/portage/media-sound/alsa-driver-1.0.16/work/alsa-driver-1.0.16] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.3'
make: *** [compile] Error 2

This has been fixed in the hg repo

Reproducible: Always
Comment 1 Arun Raghavan (RETIRED) gentoo-dev 2008-05-14 06:56:13 UTC
Created attachment 153093 [details, diff]
Patch to fix compilation with 2.6.25 kernels from upstream hg

Taken from alsa-kernel changest 5876 (http://hg.alsa-project.org/alsa-kernel/rev/2d6164f0bf0e)
Comment 2 Arun Raghavan (RETIRED) gentoo-dev 2008-05-14 06:57:53 UTC
(In reply to comment #1)
> Created an attachment (id=153093) [edit]
> Patch to fix compilation with 2.6.25 kernels from upstream hg

This applies in the alsa-kernel/ directory in the source tree.
Comment 3 Ivan Diorditsa 2008-05-27 20:56:12 UTC
Created attachment 154521 [details]
Working ebuild.

Working ebuild.
Comment 4 John-Michael Fischer 2008-06-08 04:26:32 UTC
*** Bug 225289 has been marked as a duplicate of this bug. ***
Comment 5 rainer 2008-07-07 00:47:38 UTC
Can the revision be added in portage then? Thank you.
Comment 6 Constrabus 2008-07-07 05:29:46 UTC
(In reply to comment #5)
> Can the revision be added in portage then? Thank you.
> 

I second that. I need this working ebuild. Please add it
Comment 7 Arun Raghavan (RETIRED) gentoo-dev 2008-07-16 11:19:47 UTC
Created attachment 160540 [details, diff]
Patch to fix compilation with 2.6.26 kernels from upstream hg

This patch is needed for compilation with 2.6.26 (should work just fine with older kernels as well as per kernel commit log at http://is.gd/UH0). This too applies withing the alsa-kernel/ directory.
Comment 8 Ivan Diorditsa 2008-07-18 08:20:01 UTC
1.0.17 ebuilds http://bugs.gentoo.org/show_bug.cgi?id=232160
Comment 9 Steve Dibb (RETIRED) gentoo-dev 2008-08-12 14:10:52 UTC

*** This bug has been marked as a duplicate of bug 227045 ***