Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127359 - iptables-1.3.4 and 1.3.5 emerge fails on libipt_TOS
Summary: iptables-1.3.4 and 1.3.5 emerge fails on libipt_TOS
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-23 13:38 UTC by Solra Bizna
Modified: 2006-06-08 03:45 UTC (History)
0 users

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


Attachments
emerge iptables >& emerge.log (emerge.log,19.86 KB, text/plain)
2006-03-23 17:57 UTC, Solra Bizna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Solra Bizna 2006-03-23 13:38:43 UTC
I'm trying to emerge mol, but it depends on iptables (which incidentally it shouldn't, since it can be built without it) which I cannot get to build. I tried both 1.3.4 and 1.3.5, they fail in the same place.

emerge --info:
Gentoo Base System version 1.6.14
Portage 2.1_pre6-r4 (default-linux/ppc/ppc32/2006.0/G4, gcc-3.4.4, glibc-2.3.5-r3, 2.6.15-gentoo-r7 ppc)
=================================================================
System uname: 2.6.15-gentoo-r7 ppc 7455, altivec supported
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.xmission.net/gentoo/"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="ppc X Xaw3d a52 aac aim alsa altivec bonjour bzip2 canna cdr cjk crypt dga directfb dri dv dvd dvdr dvdread emacs encode expat fbcon ffmpeg fftw flac ftp gif gmp gtk gtk2 howl iconf imagemagick ipv6 jabber javascript joystick jpeg jpeg2k kde libcaca libwww lua mad mikmod mmap mng mozilla mozsvg mp3 mpeg nls nptl ogg oggvorbis opengl oscar png portaudio posix quicktime readline sdl shorten simplexml slang sockets sox speex ssl svg tetex theora tiff truetype unicode userlocales v4l vcd vorbis xml xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS, MAKEOPTS

my error:
extensions/libipt_TOS.c:13: error: field `tos' has incomplete type
extensions/libipt_TOS.c: In function `parse_tos':
extensions/libipt_TOS.c:72: error: dereferencing pointer to incomplete type
extensions/libipt_TOS.c:78: error: dereferencing pointer to incomplete type
extensions/libipt_TOS.c: In function `print':
extensions/libipt_TOS.c:143: error: dereferencing pointer to incomplete type
extensions/libipt_TOS.c: In function `save':
extensions/libipt_TOS.c:153: error: dereferencing pointer to incomplete type
extensions/libipt_TOS.c: At top level:
extensions/libipt_TOS.c:160: error: invalid application of `sizeof' to incomplete type `ipt_tos_target_info' 
extensions/libipt_TOS.c:161: error: invalid application of `sizeof' to incomplete type `ipt_tos_target_info' 

If I add `extensions' to my USE flags, it fails somewhere else.
-:sigma.SB
Comment 1 SpanKY gentoo-dev 2006-03-23 14:56:56 UTC
post the full log as an attachment:
emerge iptables >& log
Comment 2 Solra Bizna 2006-03-23 17:57:57 UTC
Created attachment 82973 [details]
emerge iptables >& emerge.log
Comment 3 SpanKY gentoo-dev 2006-06-08 03:45:25 UTC
your header file should be defining ipt_tos_target_info:

/usr/include/linux/netfilter_ipv4/ipt_TOS.h