Current stable version of iptables is broken because files are missing. In version 1.2.9-r3 the following files are missing: /sbin/iptables-restore and /sbin/iptables-save. The init-script depend on those files and therefor makes the current version of iptables unusable.
See Bug #55501 for possible solution
Bug #55501 doesn't solve the problem.
Well.. i tried # rm /usr/src/linux # emerge iptables and it works..
As comment #3 suggested, i did the same on my development-sources 2.6.7 and it works perfectly for me too. I have to add that i neither patched/touched development-sources 2.6.7 nor patched the iptables 1.2.9-r3 ebuild.
Just to learn and entertain myself; does anyone knows why the (non)existence of a symlink has any influence on the installation (copy) of two bash-files?
I had the same thing happen to me and "solved" it by copying /usr/include/linux/netfilter_ipv4/ip_tables.h to /usr/src/linux/include/linux/netfilter_ipv4/. I have linux-headers-2.4.21-r1 and g-d-s-2.6.7, and compiled iptables with extensions unset. Now, the real problem here is rather that the actual compilation seems to work, but it bombs out on installing into /var/.../image with the same errors as in bug 55501 whithout actually failing the whole installation. It proceeds as if everything is OK and consequently unmerges the previous version since the mtimes haven't changed.
Please try iptables-1.2.9-r4