Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118557 - psmcia-cs is broken with (some) KBUILD_OUTPUT
Summary: psmcia-cs is broken with (some) KBUILD_OUTPUT
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: rsync://rsync.tar.bz/gentoo-portage-p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 10:48 UTC by Kalin KOZHUHAROV
Modified: 2006-01-11 04:14 UTC (History)
0 users

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


Attachments
pcmcia-cs-3.2.9_pre20050614-KBUILD_OUTPUT.patch (pcmcia-cs-3.2.9_pre20050614-KBUILD_OUTPUT.patch,9.45 KB, patch)
2006-01-10 10:54 UTC, Kalin KOZHUHAROV
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kalin KOZHUHAROV 2006-01-10 10:48:50 UTC
I started using KBUILD_OUTPUT and managing my kernels (mostly vanilla) since 2.6.0 came out. There are many packages, and some bugs are already filed here, that do not support KBUILD_OUTPUT.

Trying to make pcmacia-cs work with it, I patched it so at least it compiles and installs. Will provide the patch shortly, it is available at my overlay (see URL above)
Comment 1 Kalin KOZHUHAROV 2006-01-10 10:54:43 UTC
Created attachment 76760 [details, diff]
pcmcia-cs-3.2.9_pre20050614-KBUILD_OUTPUT.patch

This is based on brix's overlay ( http://dev.gentoo.org/~brix/files/overlay/ ), but the version in the offical tree is also broken.

The patch started with trying to get better VERSION PATCHLEVEL etc, becayse the Configure script was using sed to parse the Makefile... I reworked it ot use make (similar to linux-info.eclass)

This was not enough, so some other things got fixed.

Not sure abotu /proc/kallsyms if anybody is more knowledgeble, plese check it.

One more FIXME: in the patch as there are no such CONFIGs in the current linux-2.6.15 source.
Comment 2 Kalin KOZHUHAROV 2006-01-10 10:56:32 UTC
Adding brix to CC, as this "work" was originally based on his overlay ;-)
Comment 3 Henrik Brix Andersen 2006-01-10 11:10:06 UTC
pcmcia-cs is deprecated in favor of pcmciautils.

Please get this patch accepted upstream, then it will automatically appear in Gentoo Portage when (if?) a new version is released.

Feel free to reopen this bug once the patch has been accepted upstream, and I will include it in sys-apps/pcmcia-cs.
Comment 4 Kalin KOZHUHAROV 2006-01-10 16:06:25 UTC
Filed upstream:
[ 1402263 ] Patch to allow compiling with KBUILD_OUTPUT and kernel-2.6.x

http://sourceforge.net/tracker/index.php?func=detail&aid=1402263&group_id=2405&atid=102405

Thank you for your quick response.
Comment 5 Henrik Brix Andersen 2006-01-11 04:14:12 UTC
Great. Please let me know when it gets accepted upstream.