Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13644 - iptables -r2/-r3 fails with sed < 4.0 installed
Summary: iptables -r2/-r3 fails with sed < 4.0 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-10 10:00 UTC by Joshua Brindle (RETIRED)
Modified: 2003-01-17 07:42 UTC (History)
1 user (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 Joshua Brindle (RETIRED) gentoo-dev 2003-01-10 10:00:40 UTC
The ebuild uses the sed -i option which is not available in sed < 4.0, when 
sed 3.x is installed (an older install) iptables ebuild fails miserably, i'm 
not sure what this -i option does, so i don't know if it is completely 
necessary, if so perhaps a DEPEND is in line?
Comment 1 SpanKY gentoo-dev 2003-01-10 10:30:46 UTC
sed-4.x is marked as stable on x86/sparc/alpha and iptables does not have ppc in its 
KEYWORDS ... 
Comment 2 Joshua Brindle (RETIRED) gentoo-dev 2003-01-10 11:20:41 UTC
No, this isn't invalid
if the ebuild needs a specific sed version it needs to depend on that, the 
ebuild failed on my machine because the correct version of sed was not 
installed.

The fact that sed is marked stable is irrelavent, a user doesn't know that 
they need to install a newer sed, and this is the whole reason we have depends 
anyway
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-01-12 15:40:38 UTC
aliz: how about depending iptables on virtual/linux-sources ?
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2003-01-17 07:42:37 UTC
Martin: no, since iptables is a system package, and when Installing a new computer 
the kernel source is installed after the system is installed.  Also, it's no need to have 
kernel-sources installed becuse iptables can use kernel-headers.