Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 332579

Summary: xtables-addons-1.28: don't compile on kernel 2.6.35
Product: Gentoo Linux Reporter: alexey <lexa.yaroslavl>
Component: Current packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description alexey 2010-08-13 10:23:57 UTC
I try compile xtables-addons-1.28 and it's fail.


Reproducible: Always

Steps to Reproduce:
1.emerge xtables-addons
2.
3.

Actual Results:  
>>> Emerging (1 of 1) net-firewall/xtables-addons-1.28-r1
 * xtables-addons-1.28.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                [ ok ]
 * CPV:  net-firewall/xtables-addons-1.28-r1
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux modules userland_GNU x86 xtables_addons_geoip
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.35-gentoo-r1/build
 * Found sources for kernel version:
 *     2.6.35-gentoo-r1
 * Checking for suitable kernel configuration options...                                                                                                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking xtables-addons-1.28.tar.xz to /var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work
>>> Source unpacked in /var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work
>>> Preparing source in /var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28 ...
 * econf: updating xtables-addons-1.28/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xtables-addons-1.28/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/ --libexecdir=/lib/ --with-kbuild=/usr/src/linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxtables... yes
checking linux/netfilter/x_tables.h usability... yes
checking linux/netfilter/x_tables.h presence... yes
checking for linux/netfilter/x_tables.h... yes
Found kernel version 2.6.35.0 in /usr/src/linux
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.iptrules
config.status: creating Makefile.mans
config.status: creating geoip/Makefile
config.status: creating extensions/Makefile
config.status: creating extensions/ACCOUNT/Makefile
config.status: creating extensions/ipset/Makefile
config.status: creating extensions/pknock/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28 ...
make -j3 'CFLAGS=-O2 -Os -mtune=pentium4 -march=pentium4 -pipe ' CC=gcc V=1 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28'
Making all in extensions
make[2]: Entering directory `/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28/extensions'
make -f ../Makefile.iptrules all;
make[3]: Entering directory `/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28/extensions'
gcc -Wp,-MMD,./.libxt_geoip.oo.d,-MT,libxt_geoip.oo -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 	-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Winline -pipe -DXTABLES_LIBDIR=\"/lib/xtables\" 	-I../include  -DPIC -fPIC -O2 -Os -mtune=pentium4 -march=pentium4 -pipe  -o libxt_geoip.oo -c libxt_geoip.c;
libxt_geoip.c: In function ‘geoip_get_subnets’:
libxt_geoip.c:77: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
libxt_geoip.c: At top level:
libxt_geoip.c:266: warning: implicit declaration of function ‘ALIGN’
libxt_geoip.c:266: error: initializer element is not constant
libxt_geoip.c:266: error: (near initialization for ‘geoip_match.size’)
make[3]: *** [libxt_geoip.oo] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28/extensions'
make[2]: *** [user-all-local] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28'
make: *** [all] Error 2
 * ERROR: net-firewall/xtables-addons-1.28-r1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3515:  Called die
 * The specific snippet of code:
 *       emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" V=1 || die;
 * 
 * If you need support, post the output of 'emerge --info =net-firewall/xtables-addons-1.28-r1',
 * the complete build log and the output of 'emerge -pqv =net-firewall/xtables-addons-1.28-r1'.
 * The complete build log is located at '/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/temp/environment'.
 * S: '/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28'

>>> Failed to emerge net-firewall/xtables-addons-1.28-r1, Log file:

>>>  '/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/temp/build.log'

 * Messages for package net-firewall/xtables-addons-1.28-r1:

 * ERROR: net-firewall/xtables-addons-1.28-r1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3515:  Called die
 * The specific snippet of code:
 *       emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" V=1 || die;
 * 
 * If you need support, post the output of 'emerge --info =net-firewall/xtables-addons-1.28-r1',
 * the complete build log and the output of 'emerge -pqv =net-firewall/xtables-addons-1.28-r1'.
 * The complete build log is located at '/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/temp/environment'.
 * S: '/var/tmp/portage/net-firewall/xtables-addons-1.28-r1/work/xtables-addons-1.28'


Expected Results:  
normal comile

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 13 Aug 2010 09:15:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.5.4-r4, 2.6.5-r2, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.3.6-r1, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -Os -mtune=pentium4 -march=pentium4 -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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"
CPPFLAGS="-O2 -Os -mtune=pentium4 -march=pentium4 -pipe "
CXXFLAGS="-O2 -Os -mtune=pentium4 -march=pentium4 -pipe "
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests buildsyspkg distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
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="/var/portage"
PORTDIR_OVERLAY="/var/layman/emacs /var/layman/xemacs /var/layman/lisp /var/layman/mpd /var/layman/haskell /var/layman/x11 /var/layman/science /var/layman/freeswitch /var/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X acl acpi alsa apache2 aspell bash-completion berkdb bzip2 cli cracklib crypt cups curl cxx dbus djvu dri fbcon ffmpeg firefox flac fortran gdbm gif glib glibc-omitfp gmp gnutls gpm h264 h323 hal htmlhandbook iconv id3 idea imlib iproute2 ipv6 jabber java jpeg m17n-lib mmx modules mp3 mpeg mplayer mudflap ncurses nls nouveau nptl nptlonly ogg openal openmp pam pcre pdf perl pic png pppd python readline reflection samba sbcl sdl semantic-desktop session smp spell spl sqlite3 sse sse2 ssl svga sysfs threads tiff truetype unicode vorbis wavpack webkit x264 x86 xcb xcomposite xface xft xinetd xmlrpc xorg xpm xscreensaver xv zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv " XTABLES_ADDONS=" geoip " 
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-08-16 10:57:53 UTC
Thank you for report, but this bug was already reported in our bugzilla. Patch attached there too.

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