Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179732 - jack-audio-connection-kit uses deprecated check-kernel eclass
Summary: jack-audio-connection-kit uses deprecated check-kernel eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-25 10:30 UTC by Martin Väth
Modified: 2007-06-29 12:36 UTC (History)
2 users (show)

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


Attachments
Patch to use kmod instead of check-kernel (jack-audio-connection-kit-0.102.20.ebuild.patch,661 bytes, patch)
2007-05-25 10:31 UTC, Martin Väth
Details | Diff
jack-audio-connection-kit-0.102.20.ebuild.diff (jack-audio-connection-kit-0.102.20.ebuild.diff,1.22 KB, patch)
2007-05-25 10:48 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2007-05-25 10:30:28 UTC
jack-audio-connection-kit seems to be the only package in the tree whose most current ebuild still uses the deprecated check-kernel eclass.
In particular, this means that the package won't compile for people using the kbuild output feature of the kernel, see e.g. bug 51903.

This can be fixed by using the kmod eclass instead of the check-kernel eclass.
I attach a patch for 0.102.20 which works for me.
Comment 1 Martin Väth 2007-05-25 10:31:35 UTC
Created attachment 120261 [details, diff]
Patch to use kmod instead of check-kernel
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-25 10:38:09 UTC
Comment on attachment 120261 [details, diff]
Patch to use kmod instead of check-kernel

kmod.eclass

<snip>
# !!!!!!!!!!
#
# BEWARE: DO NOT USE. THIS ECLASS IS DEPRECATED AND BROKEN. DO NOT USE.
</snip>
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-05-25 10:48:39 UTC
Created attachment 120264 [details, diff]
jack-audio-connection-kit-0.102.20.ebuild.diff
Comment 5 Martin Väth 2007-05-25 12:00:04 UTC
Thanks for the two corrections. Also the new (corrected) patch compiled fine here on x86 and on amd64 (both with 2.6 kernels and using KERNEL_DIR and KBUILD_OUTPUT environments).

OT: Maybe it would be a good idea to include a warning as in comment #2 also in check-kernel.eclass
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2007-06-23 16:06:59 UTC
No clue why this was assigned to me ...
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-29 12:36:48 UTC
I've committed the patch now, so let's consider this closed.