Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110249 - when emerging net-misc/l7-filter stable net-misc/l7-filter from ~x86 crashes on unmerging
Summary: when emerging net-misc/l7-filter stable net-misc/l7-filter from ~x86 crashes ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
: 118000 139569 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-23 11:05 UTC by Bartosz Krzeszewski
Modified: 2006-07-09 04:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Krzeszewski 2005-10-23 11:05:29 UTC
>>> net-misc/l7-filter-1.4 merged. 
 
 net-misc/l7-filter 
    selected: 2.0_beta 
   protected: 1.4 
     omitted: none 
 
>>> 'Selected' packages are slated for removal. 
>>> 'Protected' and 'omitted' packages will not be removed. 
 
>>> Waiting 5 seconds before starting... 
>>> (Control-C to abort)... 
>>> Unmerging in: 5 4 3 2 ^[[B1 ^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B 
>>> Unmerging net-misc/l7-filter-2.0_beta... 
No package files given... Grabbing a set. 
 * attempting to unpatch l7-patch from kernel 
 * Determining the location of the kernel source code 
 * Found kernel source directory: 
 *     /usr/src/linux 
 * Found sources for kernel version: 
 *     2.6.13-gentoo-r3 
>>> Unpacking netfilter-layer7-v2.0-beta.tar.gz 
to /var/tmp/portage/l7-filter-2.0_beta/temp 
 * removing previous patch 
 
 * Failed Patch: kernel-2.6.13-layer7-2.0.patch ! 
 *  
( /var/tmp/portage/l7-filter-2.0_beta/temp/netfilter-layer7-v2.0-beta/kernel-2.6.13-layer7-2.0.patch ) 
 * 
 * Include in your bugreport the contents of: 
 * 
 
*   /var/tmp/portage/l7-filter-2.0_beta/temp/kernel-2.6.13-layer7-2.0.patch-25203.out 
 
 
!!! ERROR: net-misc/l7-filter-2.0_beta failed. 
!!! Function epatch, Line 363, Exitcode 0 
!!! Failed Patch: kernel-2.6.13-layer7-2.0.patch! 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 
!!! FAILED prerm: 1 

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge l7-filter 
2.emerge l7-filter
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-10-23 13:11:49 UTC
I haven't worked out the way to do it. I'd unemerge then remerge l7-fitler. 
Comment 2 Daniel Black (RETIRED) gentoo-dev 2005-11-07 03:05:00 UTC
can't fix because of the way the ebuild patches the kernel tree. Sorry. Have 
to unmerge and reemerge. 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-06 02:53:42 UTC
*** Bug 118000 has been marked as a duplicate of this bug. ***
Comment 4 Bartosz Krzeszewski 2006-01-06 08:29:46 UTC
i can't unmerge any version of l7-filter, i have always the same error doesn't matter if i try to emerge or unmerge l7-filter[1.4/2_beta]
i don't need to really unmerge l7-filter it would be fine if it just don't try to do it evry time i emere/unmerge something 
Comment 5 Bartosz Krzeszewski 2006-01-06 11:02:53 UTC
The next patch, when reversed, would delete the file regexp/regsub.c,
which does not exist!  Applying it anyway.
can't find file to patch at input line 1940
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.6.13/net/ipv4/netfilter/regexp/regsub.c    1969-12-31 18:00:00.000000000 -0600
|+++ linux-2.6.13-layer7/net/ipv4/netfilter/regexp/regsub.c     2005-08-31 23:42:39.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

but I have removed linux-2.6.13 sources with l7-filter patch so the probles is that emerge tryes to unmerge something which don't exist
Comment 6 Sven E. 2006-01-16 19:42:07 UTC
I am stuck with the same error, trying to emerge l7-filter - fails - reemerge kernel, works, but doesn'T change a thing, unmerging l7-filter (to unmerge kernel as well) and remerge both ... fails for exactly the samer reason as reported.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2006-01-19 01:30:54 UTC
ok dodgy ways for now since anything I do will only apply to future installs. (The unmerge process uses the ebuild of what you installed the package with)

 rm -rf /var/db/pkg/net-misc/l7-filter-2.0_beta (or whatever version)
Comment 8 Daniel Black (RETIRED) gentoo-dev 2006-07-07 20:13:58 UTC
*** Bug 139569 has been marked as a duplicate of this bug. ***
Comment 9 Daniel Black (RETIRED) gentoo-dev 2006-07-09 04:31:02 UTC
Ok I've remodeled l7-filter-2.2.

It now installs the patch to /usr/src/linux-{full version}.

This should prevent unemerges when the /usr/src/linux symlink changes. And those stupid unpatching of the stuff it just installed *groan*. Yes it was a big mess sorry.

Unfortunately I can't get it unslotted or slotted to the kernel version (QA/portage limitations) so you're really limited to one at a time.

Thanks for your patience. Marking fixed (as much as I can think). better suggestions welcome.