View previous topic :: View next topic |
Author |
Message |
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Sun Jan 05, 2003 1:44 am Post subject: all iptables ebuilds are broken for me |
|
|
This is what every iptables ebuild gives me currently.
Quote: |
cc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -Wall -Wunused -I/usr/s rc/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.7a\" -fPIC -o extensions/l ibipt_ROUTE_sh.o -c extensions/libipt_ROUTE.c
extensions/libipt_ROUTE.c: In function `parse':
extensions/libipt_ROUTE.c:61: structure has no member named `if_name'
extensions/libipt_ROUTE.c:64: structure has no member named `if_name'
extensions/libipt_ROUTE.c:66: structure has no member named `if_name'
extensions/libipt_ROUTE.c:67: structure has no member named `if_index'
extensions/libipt_ROUTE.c:80: structure has no member named `if_name'
extensions/libipt_ROUTE.c:81: structure has no member named `if_index'
extensions/libipt_ROUTE.c:86: structure has no member named `if_index'
extensions/libipt_ROUTE.c: In function `print':
extensions/libipt_ROUTE.c:119: structure has no member named `if_name'
extensions/libipt_ROUTE.c:120: structure has no member named `if_name'
extensions/libipt_ROUTE.c:122: structure has no member named `if_index'
make: *** [extensions/libipt_ROUTE_sh.o] Error 1
!!! ERROR: sys-apps/iptables-1.2.7a-r1 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)
|
This tends to make me sad.. because it broke my emerge -e world...
Another question, I not really have a need for iptables, but portage insist that I have it installed, same goes for some other builds like dhcpcd, is there anyway of making sure that these are not installed (more USE flags ?).
[/quote] |
|
Back to top |
|
|
Shaman Apprentice
Joined: 12 Sep 2002 Posts: 167 Location: Kingston, ON
|
Posted: Sun Jan 05, 2003 2:26 am Post subject: |
|
|
I'm having similar problems. |
|
Back to top |
|
|
kronenpj n00b
Joined: 06 Sep 2002 Posts: 3 Location: Orlando, FL
|
Posted: Sun Jan 05, 2003 4:43 pm Post subject: |
|
|
You can use the emerge inject command to fool portage into thinking that the package is installed... That would stop it from trying to emerge it during -u world... |
|
Back to top |
|
|
GelatinousCube n00b
Joined: 13 Nov 2002 Posts: 6 Location: Mpls, Mn
|
Posted: Wed Jan 08, 2003 5:51 pm Post subject: remove iptables from your packages profile |
|
|
If you don't need iptables you can edit your /etc/make.profile/packages and remove the * before the line for iptables. That denotes that it is part of the system.
Also make sure it's not listed in the /var/cache/edb/world file.
You should then be able to update world without updating iptables.
Stills leaves the question as to why these builds are not working. Anyone out there know?
-gc |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Jan 08, 2003 7:09 pm Post subject: |
|
|
Have you read this thread? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Thu Jan 09, 2003 12:23 am Post subject: |
|
|
Off the netfilter.org homepage
Jan-07-2003
New patch-o-matic release
The netfilter core team has released patch-o-matic-20030107.
It contains the most up-to-date bugfixes and new features available for kernels >= 2.4.18.
That should fix our problems yes? |
|
Back to top |
|
|
tredman2 Apprentice
Joined: 06 Dec 2002 Posts: 169 Location: Holiday, FL
|
Posted: Tue Mar 11, 2003 9:29 pm Post subject: Pooched IPTABLES merge |
|
|
I was able to get this to work. At least in my case it seems to be that something went south with the patch-o-matic. I am running a 2.4.20-gentoo-r1 kernel, and had applied a bunch of netfilter patches to it. I received the same error.
Here's how I got mine to work:
- Copy .config from the root of your kernel source out to someplace else, so that you don't have to reconfigure the kernel from scratch.
- unmerge gentoo-sources
- delete the remaining linux-2.4.20-gentoo directory from /usr/src.
- merge gentoo-sources again
- when you do your kernel config, load in the original .config that you saved in the first step.
- recompile the kernel
- merge iptables again
You should be good to go after that. If you still need to apply the patch-o-matic kernel patches from Netfilter, you should be safe to apply all of the submitted, pending and base packages. There is, however a problem with an item called "realm match support". It's in the base package, but I'm guessing I didn't install a dependency. So unless you can figure out what it's bombing on in the kernel build, you're better off disabling it in config/menuconfig/xconfig. _________________ Tim
"I drank what?" - Socrates, 399 BCE |
|
Back to top |
|
|
|