Apparently 2.6.24 kernel requires yet another patch for Cisco-vpn-3des, available at http://projects.tuxx-home.at/ciscovpn/patches/vpnclient-linux-2.6.24-final.diff - please update the ebuild.
OK, this is in the tree now. Thanks for the patch!
The patch doesn't apply cleanly, which is what I thought would happen (happened when I tested it locally). Someone will need to hack at this some more.
Created attachment 142533 [details] output of failed patch
Ah - I should have probably mentioned that the patch is for 4.8.01, not for 4.8.00..
When i emerged net-misc/cisco-vpnclient-3des-4.8.00.0490-r1, the emerge process failed. (probably related to comment #4) I posted the error message below. The Version cisco-vpnclient-3des-4.8.00.0490 emerges nicely without any problems. Please fix this bug. The error message: # emerge net-misc/cisco-vpnclient-3des >>> Emerging (2 of 2) net-misc/cisco-vpnclient-3des-4.8.00.0490-r1 to / * vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.23-gentoo-r3/build * Found sources for kernel version: * 2.6.23-gentoo-r3 >>> Unpacking source... >>> Unpacking vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz to /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490-r1/work * Applying 2.6.22.patch ... [ ok ] * Applying 2.6.24.patch ... * Failed Patch: 2.6.24.patch ! * ( /usr/portage/net-misc/cisco-vpnclient-3des/files/2.6.24.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490-r1/temp/2.6.24.patch-28844.out * * ERROR: net-misc/cisco-vpnclient-3des-4.8.00.0490-r1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_unpack * ebuild.sh, line 817: Called qa_call 'src_unpack' * ebuild.sh, line 44: Called src_unpack * cisco-vpnclient-3des-4.8.00.0490-r1.ebuild, line 40: Called epatch '/usr/portage/net-misc/cisco-vpnclient-3des/files/2.6.24.patch' * eutils.eclass, line 303: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!" * The die message: * Failed Patch: 2.6.24.patch! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490-r1/temp/build.log'.
I have the same issue as posted by Tobias Muehlenbruch. Is there a solution for this error yet?
(In reply to comment #6) > I have the same issue as posted by Tobias Muehlenbruch. Is there a solution for > this error yet? Solution is basically use 4.8.01 instead of 4.8.00 and remove the 2.6.22 patch (it's already in 4.8.01). Here's an updated ebuild for 4.8.01. Use filename cisco-vpnclient-3des-4.8.01.0640.ebuild
Created attachment 142578 [details] cisco-vpnclient-3des-4.8.01.0640.ebuild cisco-vpnclient-3des-4.8.01.0640.ebuild is identical to cisco-vpnclient-3des-4.8.00.0490-r1.ebuild except the kernelpatch for 2.6.22 is removed.
*** Bug 208797 has been marked as a duplicate of this bug. ***
Reopen, this is broken and doesn't apply.
Created attachment 142614 [details, diff] Corrected patch for 4.8.00.0490 I just hacked the 2.6.24 patch to apply properly to 4.8.00.0490 after applying the 2.6.22 patch. NB: It builds for me with no extra warnings on both 2.6.23-gentoo-r3 and 2.6.24-gentoo, but I did not try actually loading it on either! I also fixed a bug in the patch for sub-2.6.24-- it unilaterally changed the return type of interceptor_init to void from int, instead of just changing it for >= 2.6.24.
patch in comment #11 seems to fix all problems and works on a 2.6.24 kernel.
Created attachment 142628 [details, diff] patch for 2.6.24 with makefile EXTRA_CFLAGS change for amd64 I have attached a patch that modifies the makefile for amd64 CFLAGS->EXTRA_CFLAGS, else the module will not compile
(In reply to comment #13) > Created an attachment (id=142628) [edit] > patch for 2.6.24 with makefile EXTRA_CFLAGS change for amd64 > > I have attached a patch that modifies the makefile for amd64 > CFLAGS->EXTRA_CFLAGS, else the module will not compile > This patch seems to have done the trick for me - successfully started service and connected to a VPN.
Howdy. I've got kernel 2.6.22, but the 2.6.24 patch failure stops me from installing this. Should I comment out the patch in the ebuild for <2.6.24 kernels? Thanks.
Ehh... I tested the stupid thing against 4.8.01... I'll fix this tonight... sorry about that...
Reopening as above comments suggest this isn't fixed
Wait... I thought that I had fixed this. Is this fixed or not?
Comment #17 was mistaken; it's fine.
OK... thanks...