Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332687 - net-firewall/ipset-4.2 - ipset-4.2/kernel/ipt_SET.c:75:46: error: dereferencing pointer to incomplete type
Summary: net-firewall/ipset-4.2 - ipset-4.2/kernel/ipt_SET.c:75:46: error: dereferenci...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-14 01:35 UTC by fkhp
Modified: 2010-08-25 09:13 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,8.50 KB, text/plain)
2010-08-16 03:07 UTC, fkhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-08-14 01:35:25 UTC
* Building kernel modules
 * Preparing ip_set module
make -C /usr/src/linux M=`pwd`  V=0 KBUILD_OUTPUT= modules
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IP_NF_SET_MAX=256 IP_NF_SET_HASHSIZE=1024 all
make[1]: Entering directory `/usr/src/linux-2.6.35-ccs-r1'
  CC [M]  /var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ip_set.o
  CC [M]  /var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_set.o
  CC [M]  /var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_SET.o
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_SET.c:69:21: warning: 'struct xt_target_param' declared inside parameter list
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_SET.c:69:21: warning: its scope is only this definition or declaration, which is probably not what you want
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_SET.c: In function 'target':
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_SET.c:75:46: error: dereferencing pointer to incomplete type
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_SET.c: At top level:
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_SET.c:219:2: warning: initialization from incompatible pointer type
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_SET.c:221:2: warning: initialization from incompatible pointer type
make[2]: *** [/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_SET.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_set.c:89:20: warning: 'struct xt_match_param' declared inside parameter list
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_set.c:89:20: warning: its scope is only this definition or declaration, which is probably not what you want
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_set.c: In function 'match':
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_set.c:95:45: error: dereferencing pointer to incomplete type
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_set.c: At top level:
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_set.c:215:2: warning: initialization from incompatible pointer type
/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_set.c:217:2: warning: initialization from incompatible pointer type
make[2]: *** [/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel/ipt_set.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.35-ccs-r1'
make[1]: *** [_module_/var/tmp/paludis/net-firewall-ipset-4.2/work/ipset-4.2/kernel] Error 2
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in net-firewall/ipset-4.2::gentoo:
!!! In linux-mod_src_compile at line 4098
!!! Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  IP_NF_SET_MAX=256 IP_NF_SET_HASHSIZE=1024 all


Reproducible: Always




 # emerge --info ipset
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.5.0, glibc-2.11.2-r0, 2.6.35-ccs-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-ccs-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 13 Aug 2010 22:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net/ "
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en_US zh en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/vmware /var/lib/layman/gentoo-china /var/lib/layman/gentoo-taiwan /var/lib/layman/sunrise /var/lib/layman/gnome /var/lib/layman/mozilla /var/lib/layman/init6"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 ao apache2 avahi bash-completion berkdb branding bzip2 cairo caps cdr cjk cli consolekit cracklib crypt cups cxx dbus dga djvu doc dri dts dvd dvdr eds emboss encode evo examples exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk guile i18n iconv icu introspection ipv6 jadetex java jpeg jpeg2k latex lcms ldap libnotify mad midi mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nas nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pch pcre pda pdf perl php png policykit ppds pppd pulseaudio python qt3support qt4 readline reflection samba scsi sdl session smp snmp spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification suid svg sysfs tcpd threads tiff tk truetype unicode usb v4l2 vim-syntax vorbis x264 xattr xcb xml xmp xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ens1370 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US zh en" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmwgfx vmwlegacy nouveau nvidia nv vmware vesa svga" XTABLES_ADDONS="cui gfw zhang ipset" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-firewall/ipset-4.2 was built with the following:
USE="modules (multilib)" 
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-3.0/include -I/usr/include/atk-1.0"
CXXFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-3.0/include -I/usr/include/atk-1.0"
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-08-15 22:10:06 UTC
emerge --info and build.log please
Comment 2 fkhp 2010-08-16 03:07:12 UTC
Created attachment 243159 [details]
build.log

# emerge --info ipset
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.5.0, glibc-2.12.1-r0, 2.6.35-ccs-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-ccs-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 15 Aug 2010 22:30:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net/ "
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en_US zh en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/vmware /var/lib/layman/gentoo-china /var/lib/layman/gentoo-taiwan /var/lib/layman/sunrise /var/lib/layman/gnome /var/lib/layman/mozilla /var/lib/layman/init6"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 ao apache2 avahi bash-completion berkdb branding bzip2 cairo caps cdr cjk cli consolekit cracklib crypt cups cxx dbus dga djvu doc dri dts dvd dvdr eds emboss encode evo examples exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk guile i18n iconv icu introspection ipv6 jadetex java jpeg jpeg2k latex lcms ldap libnotify mad midi mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nas nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pch pcre pda pdf perl php png policykit ppds pppd pulseaudio python qt3support qt4 readline reflection samba scsi sdl session smp snmp spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification suid svg sysfs tcpd threads tiff tk truetype unicode usb v4l2 vim-syntax vorbis x264 xattr xcb xml xmp xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ens1370 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US zh en" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmwgfx vmwlegacy nouveau nvidia nv vmware vesa svga" XTABLES_ADDONS="cui gfw zhang ipset" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-firewall/ipset-4.2 was built with the following:
USE="modules (multilib)" 
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-3.0/include -I/usr/include/atk-1.0"
CXXFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-3.0/include -I/usr/include/atk-1.0"
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-08-16 18:56:10 UTC
I guess this is known incompatibility with newer kernels. While I'm looking for patches, please, try ipset from xtables-addons. 
Comment 4 Oleksandr Kovalenko 2010-08-24 17:20:45 UTC
The same probled. But ipset v3.4 was compiled without errors. Ebuild for new version of ipset is required.
Comment 5 Oleksandr Kovalenko 2010-08-24 17:21:57 UTC
(In reply to comment #4)
> ipset v3.4

Sorry, ipset v4.3
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2010-08-25 09:13:12 UTC
ipset 4.3 was added to the tree. Thank you guys.