Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22223 - iptables-1.2.8-r1 doesnt compile aganst 2.5 & 2.6 kernel sources correctly
Summary: iptables-1.2.8-r1 doesnt compile aganst 2.5 & 2.6 kernel sources correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
: 24520 29926 31053 (view as bug list)
Depends on:
Blocks: 31695
  Show dependency tree
 
Reported: 2003-06-04 13:37 UTC by Bret Towe
Modified: 2003-10-21 14:06 UTC (History)
8 users (show)

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


Attachments
fixed iptables-1.2.8-r1.ebuild (iptables-1.2.8-r1.ebuild,2.54 KB, text/plain)
2003-06-04 13:38 UTC, Bret Towe
Details
iptables-1.2.8-r1.ebuild (fixed for >2.4.x Linux) (iptables-1.2.8-r1.ebuild,2.58 KB, text/plain)
2003-10-06 19:06 UTC, Daniel Mannarino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bret Towe 2003-06-04 13:37:34 UTC
just that or at least doesnt under gcc 3.2.3
attached is modified ebuild to allow it to build
just an addition to the sed script to change the include ordering
to allow it to work


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bret Towe 2003-06-04 13:38:27 UTC
Created attachment 12794 [details]
fixed iptables-1.2.8-r1.ebuild

here is the working ebuild
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 15:56:36 UTC
*** Bug 24520 has been marked as a duplicate of this bug. ***
Comment 3 Nathan W. Labadie 2003-08-11 08:07:04 UTC
FYI: The change to sed corrected the problem I was having of not being able to emerge iptables while running kernel-2.6.0-test3.
Comment 4 Dorian Gray 2003-09-25 14:07:21 UTC
NB: the stack-smashing flag was stripped in 1.2.8-r1 but not in the above
attached ebuild; which will cause issues with icmp as follows:
http://bugs.gentoo.org/show_bug.cgi?id=23645
(which I can reproduce quite easily)
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-29 11:56:41 UTC
*** Bug 29926 has been marked as a duplicate of this bug. ***
Comment 6 Radek Podgorny 2003-09-30 14:26:51 UTC
I don't know whether the ebuild above fixes the errors or not but for me,
the following trick worked fine:

1) ebuild iptables.ebuild unpack
2) change all occurence of "_MATCH_" with just "_" (remove the MATCH) from
the file ifs_physdev.c (or something like that...)
3) ebuild iptables.ebuild compile install merge

Radek

P.S.: Sorry for not being specific but I'm not sitting at the box right now...

Comment 7 Daniel Mannarino 2003-10-06 19:06:54 UTC
Created attachment 18882 [details]
iptables-1.2.8-r1.ebuild (fixed for >2.4.x Linux)

This worked great for me.  Nmap can't touch my 2.6.0-test6-mm4 l33tness.
 ::)

-- Daniel Mannarino
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-10-14 07:41:51 UTC
*** Bug 31053 has been marked as a duplicate of this bug. ***
Comment 9 John Mylchreest (RETIRED) gentoo-dev 2003-10-15 09:02:54 UTC
fix has been looked over, tested, and committed.
thanks
Comment 10 Adrian Almenar 2003-10-15 10:40:00 UTC
Have to say that tested it on 3 machines with kernel 2.6 and worked perfectly
and smooth. Thanks.