Summary: | net-dialup/linux-atm-2.4.1-r1 compile fails w/ linux-headers-2.6.17-r2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dariusz Parciak <sneer> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | alanh, alephlg, bangert, jlewis, mlists, nelson.batalha, net-dialup, sergio.migmac, siegerstein, warwick |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 156814 | ||
Attachments: | A simple patch which seems to work to me |
Description
Dariusz Parciak
2007-01-06 09:15:04 UTC
ive fixed this in 2.6.19 already *** Bug 160419 has been marked as a duplicate of this bug. *** FYI this is also failing with exactly the same error on x86_64 native. So as per Spanky's message you can work around the error by upgrading to unstable linux-headers. I'd rather not upgrade to unstable. Is there any fix that can be backported to stable ?? Well I'll tell you what I did and the devs can comment on the wrongness or impending doom if any. Simply upgrade to unstable linux-headers, install linux-atm and then go back to stable linux-headers, worked for me anyway. i havent looked at the src code, but that should be no problem the 2.6.19 headers actually arent too bad ... i imagine it shouldnt be long before they hit stable I really think this should be a MAJOR bug as it could stop some noob from being able to finish their Gentoo install i.e. internet access and put people off Gentoo altogether. I have to agree. I don't know what the problem is with backporting the fix. Yes well the really weird thing is that this only appeared when I "emerge --sync"ed on the 5th of January. Prior to that linux-atm compiled perfectly with the current stable headers i.e. "2.6.17.whatever" so whatever it was that screwed the compilation up came down with "emerge --sync". Not knowing that much about portage I would say it's either the linux-atm "ebuild" or the "2006.1" profile that has caused the problem. how to upgrade to unstable linux-headers and to downgrade again? have i to rebuild kernel? Add "sys-kernel/linux-headers ~x86" to "/etc/portage/package.keywords" Only put "x86" in there if you are using an Intel processor, alternatively you might be using an AMD chip with 64 bit support in which case you would put ~amd64 in there instead. Then "emerge -u --oneshot linux-headers && emerge linux-atm" This will upgrade linux-headers and install linux-atm. Then remove "sys-kernel/linux-headers ~x86" from "/etc/portage/package.keywords". and "emerge -u --oneshot linux-headers". This will downgrade linux-headers back to stable but you will still have linux-atm installed. You don't need to recompile or upgrade your kernel or gcc or anything like that. I'm assuming this hasn't been fixed yet because linux-headers-2.6.19 should be stable any day now. Still it would've been nice for a dev to have said this or for an announcement on the forums or in newsletter. Incidentally devs there is exactly the same problem with stable 64 bit linux-headers. There's currently no stabilization bug for newer headers, so we either need to backport this to the current stable, or mark a newer set of headers stable before we make the 2007.0 snapshot. jupp - been bit by this one as well. i guess no new linux-headers in 2007.0?! This is now blocking the snapshot. We can either get this fixed, or we can drop support for any ATM-based devices (which includes several DSL modems) from the upcoming release. i don't know the process involved - but if its fixed in linux-headers-2.6.19 then lets get them to stable... Is there any progress on backporting the fix ?? *** Bug 168657 has been marked as a duplicate of this bug. *** Hello - any news ??? *** Bug 171028 has been marked as a duplicate of this bug. *** What is holding the new headers back from being marked stable?! Surely this is a show stopper? Anyone merging a new stable version of Gentoo will be stumped at this point... Created attachment 115688 [details, diff]
A simple patch which seems to work to me
It seems that linux-headers-2.6.19 still has some troubles to be safely put stable.
I'm proposing this simple patch which should fix the problem against linux-headers-2.6.17-r2.
Well, maybe this is not the right way to face the problem. But, you know, I need my ADSL lines...
Fixed in cvs by replacing net/if.h with linux/if.h. However, the package compiles with dozens of QA warnings. One of these days I will have to make a new revision with all those QA issues fixed. FYI: I've committed linux-atm-2.4.1-r2, which fixes all QA warnings of the previous revision. *** Bug 188982 has been marked as a duplicate of this bug. *** What is the reason this bug is fixed? I still can't emerge net-misc/networkmanager-0.6.5_p20070823 without unstable linux-headers. (In reply to comment #26) How is this related to linux-atm? |