Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55632 - emerge fails to install iptables-1.2.9-r3 YET records it as installed
Summary: emerge fails to install iptables-1.2.9-r3 YET records it as installed
Status: RESOLVED DUPLICATE of bug 55489
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 18:34 UTC by nr16020
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 nr16020 2004-06-29 18:34:52 UTC
upgrading iptables left me with no iptables binary installed.

>>> Install iptables-1.2.9-r3 into /var/tmp/portage/iptables-1.2.9-r3/image/ category net-firewall
gcc -pipe -O2 -march=i686 -fno-stack-protector -Iinclude -Wall -Wunused -I/usr/src/linux/include  -DIPTABLES_VERSION=\"1.2.9\"  -fPIC -o extensions/libipt_recent_sh.o -c extensions/libipt_recent.c
In file included from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from extensions/libipt_recent.c:8:
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no semicolon at end of struct or union
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: parse error before '*' token
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: parse error before '}' token
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type defaults to `int' in declaration of `DECLARE_MUTEX'
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: parameter names (without types) in function declaration
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: `DECLARE_MUTEX' declared `static' but never defined
make: *** [extensions/libipt_recent_sh.o] Error 1
gcc -pipe -O2 -march=i686 -fno-stack-protector -Iinclude -Wall -Wunused -I/usr/src/linux/include  -DIPTABLES_VERSION=\"1.2.9\"  -fPIC -o extensions/libipt_recent_sh.o -c extensions/libipt_recent.c
In file included from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from extensions/libipt_recent.c:8:
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no semicolon at end of struct or union
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: parse error before '*' token
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: parse error before '}' token
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type defaults to `int' in declaration of `DECLARE_MUTEX'
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: parameter names (without types) in function declaration
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: `DECLARE_MUTEX' declared `static' but never defined
make: *** [extensions/libipt_recent_sh.o] Error 1
man:
prepallstrip:
strip: 
strip: 
>>> Completed installing into /var/tmp/portage/iptables-1.2.9-r3/image/


Reproducible: Always
Steps to Reproduce:
1. emerge iptables
Actual Results:  
iptables wasn't installed, and emerge said "Completed installing into
/var/tmp/portage/iptables-1.2.9-r3/image/"

Expected Results:  
1/ say "the emerge failed"
OR
2/ install correctly iptables

Portage 2.0.50-r8 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -march=i686 -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -march=i686 -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acl alsa apm arts avi berkdb bonobo cdr crypt cups dga doc dvd dvdr
encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib
java jpeg libg++ libwww mad matrox mikmod motif mozilla mpeg ncurses nls ogg
oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline
samba scanner sdl slang spell ssl svga tcltk tcpd tiff truetype usb vorbis
wxwindows x86 xml xml2 xmms xv zlib"
Comment 1 nr16020 2004-06-29 19:05:11 UTC
ln -s linux linux-2.4.26
instead of
ln -s linux linux-2.6.7
did the trick.
Comment 2 nr16020 2004-06-29 19:06:16 UTC
but emerge shouldn't have claimed to having properly installed iptables... hmmm. fishy.
could someone look into that ?
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-06-29 19:20:10 UTC
Remember to search for duplicate bugs before filing new bugs.

*** This bug has been marked as a duplicate of 55489 ***