Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222025 - media-sound/alsa-driver-1.0.16 doesn't compile with >=sys-kernel/vanilla-sources-2.6.25
Summary: media-sound/alsa-driver-1.0.16 doesn't compile with >=sys-kernel/vanilla-sour...
Status: RESOLVED DUPLICATE of bug 227045
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Dibb (RETIRED)
URL:
Whiteboard:
Keywords:
: 225289 (view as bug list)
Depends on:
Blocks: 230285
  Show dependency tree
 
Reported: 2008-05-14 06:54 UTC by Arun Raghavan (RETIRED)
Modified: 2008-08-12 14:10 UTC (History)
4 users (show)

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


Attachments
Patch to fix compilation with 2.6.25 kernels from upstream hg (alsa-driver-1.0.16-dont-touch-fs_struct.patch,3.41 KB, patch)
2008-05-14 06:56 UTC, Arun Raghavan (RETIRED)
Details | Diff
Working ebuild. (alsa-driver-1.0.16-r1.ebuild.tar.bz2,5.24 KB, application/x-bzip2)
2008-05-27 20:56 UTC, Ivan Diorditsa
Details
Patch to fix compilation with 2.6.26 kernels from upstream hg (alsa-driver-1.0.16-remove-proc_root.patch,1.15 KB, patch)
2008-07-16 11:19 UTC, Arun Raghavan (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***