Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255190 - net-misc/l7-filter-userspace-0.10 fails to build with 2.6.28 kernel
Summary: net-misc/l7-filter-userspace-0.10 fails to build with 2.6.28 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL: https://sourceforge.net/tracker/index...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 19:18 UTC by Andrew Savchenko
Modified: 2009-02-17 16:12 UTC (History)
0 users

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


Attachments
build log for current build (build.log,9.07 KB, text/plain)
2009-01-17 10:50 UTC, Andrew Savchenko
Details
build environment (environment,81.25 KB, text/plain)
2009-01-17 10:51 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2009-01-16 19:18:37 UTC
net-misc/l7-filter-userspace-0.10 fails to build with kernel-2.6.28, linux-headers-2.6.28-r1.

!! Note: l7-filter-userspace-0.8 compiles OK with this exactly the same kernel and linux-headers.

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector -fdirectives-only -MT l7-queue.o -MD -MP -MF .deps/l7-queue.Tpo -c -o l7-queue.o l7-queue.cpp
l7-classify.cpp: In function ‘char** readl7dir(std::string)’:
l7-classify.cpp:160: предупреждение: deprecated conversion from string constant to ‘char*’
mv -f .deps/l7-classify.Tpo .deps/l7-classify.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector -fdirectives-only -MT l7-conntrack.o -MD -MP -MF .deps/l7-conntrack.Tpo -c -o l7-conntrack.o l7-conntrack.cpp
In file included from l7-conntrack.cpp:28:
/usr/include/linux/netfilter.h:55: ошибка: поле ‘in’ имеет неполный тип
/usr/include/linux/netfilter.h:56: ошибка: поле ‘in6’ имеет неполный тип
l7-conntrack.cpp: In function ‘int sprintf_conntrack_key(char*, nfct_conntrack*, unsigned int)’:
l7-conntrack.cpp:129: предупреждение: ‘int nfct_sprintf_protocol(char*, nfct_conntrack*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:846)
l7-conntrack.cpp:129: предупреждение: ‘int nfct_sprintf_protocol(char*, nfct_conntrack*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:846)
l7-conntrack.cpp:130: предупреждение: ‘int nfct_sprintf_address(char*, nfct_tuple*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:838)
l7-conntrack.cpp:130: предупреждение: ‘int nfct_sprintf_address(char*, nfct_tuple*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:838)
l7-conntrack.cpp:131: предупреждение: ‘int nfct_sprintf_proto(char*, nfct_tuple*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:840)
l7-conntrack.cpp:131: предупреждение: ‘int nfct_sprintf_proto(char*, nfct_tuple*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:840)
l7-conntrack.cpp: In destructor ‘l7_conntrack::~l7_conntrack()’:
l7-conntrack.cpp:196: предупреждение: ‘void nfct_conntrack_free(nfct_conntrack*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:757)
l7-conntrack.cpp:196: предупреждение: ‘void nfct_conntrack_free(nfct_conntrack*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:757)
l7-conntrack.cpp: In member function ‘void l7_conntrack::start()’:
l7-conntrack.cpp:233: предупреждение: ‘void nfct_register_callback(nfct_handle*, int (*)(void*, unsigned int, int, void*), void*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:777)
l7-conntrack.cpp:233: предупреждение: ‘void nfct_register_callback(nfct_handle*, int (*)(void*, unsigned int, int, void*), void*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:777)
l7-conntrack.cpp:234: предупреждение: ‘int nfct_event_conntrack(nfct_handle*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:826)
l7-conntrack.cpp:234: предупреждение: ‘int nfct_event_conntrack(nfct_handle*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:826)
l7-conntrack.cpp:237: предупреждение: ‘void nfct_conntrack_free(nfct_conntrack*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:757)
l7-conntrack.cpp:237: предупреждение: ‘void nfct_conntrack_free(nfct_conntrack*)’ is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:757)
make[1]: *** [l7-conntrack.o] Ошибка 1
make[1]: *** Ожидание завершения заданий...
mv -f .deps/l7-queue.Tpo .deps/l7-queue.Po
make[1]: Leaving directory `/var/tmp/portage/net-misc/l7-filter-userspace-0.10/work/l7-filter-userspace-0.10'
make: *** [all] Ошибка 2

[Topmost error means:
/usr/include/linux/netfilter.h:55: error: field ‘in’ has incomplete type
/usr/include/linux/netfilter.h:56: error: field ‘in6’ has incomplete type
]
P.S. Localization of gcc is really an evil.
Comment 1 Wormo (RETIRED) gentoo-dev 2009-01-17 06:32:35 UTC
Could you attach a full build log after attempting to emerge with 'LANG=C'? Also, please post your 'emerge --info' while you're at it.
Comment 2 Andrew Savchenko gentoo-dev 2009-01-17 10:46:47 UTC
My emerge --info:

Portage 2.2_rc22 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-sheryl x86_64)
=================================================================
System uname: Linux-2.6.28-sheryl-x86_64-Intel-R-_Celeron-R-_CPU_2.53GHz-with-glibc2.2.5
Timestamp of tree: Thu, 15 Jan 2009 11:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector -fdirectives-only"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector -fdirectives-only"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector"
GENTOO_MIRRORS="ftp://ftp.chg.ru/pub/Linux/gentoo http://mirror.yandex.ru//gentoo-distfiles  http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="C"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/layman/science /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="aalib acl acpi adns amd64 apache2 bash-completion berkdb blas bluetooth bzip2 caps cdb cli clisp cracklib crypt cscope ctype cups curl curlwrappers cvs cxx cyrillic djvu doc eap-tls editor encode enscript examples exif expat fftw foomaticdb fortran ftp gdbm geoip gif ginac git gmp gnuplot gnutls gpgme gpm gsl hardened hdf5 iconv idn imap iproute2 ipv6 isdnlog javascript jpeg jpeg2k keyscrub kpathsea lapack latex libcaca libwww lm_sensors logrotate lzo maildir mailwrapper mbox md5sum mhash midi mime mmap mmx mng mppe-mppc mudflap multilib mysql mysqli ncurses netcdf network-cron nls nntp nocd nptlonly objc objc++ offensive openexr openmp otr pam pch pcntl pcre pdf perl plotutils png pop posix ppds pppd python raw readline recode reflection rle samba scanner session sharedmem slang slp smtp sockets socks5 sparse spell spl sse sse2 sse3 ssl subversion supernodal sysfs syslog szip tcpd tiff unicode usb vim vim-syntax wifi xattr xpm yaz zlib" 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="authz_host dir mime" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Andrew Savchenko gentoo-dev 2009-01-17 10:50:56 UTC
Created attachment 178775 [details]
build log for current build
Comment 4 Andrew Savchenko gentoo-dev 2009-01-17 10:51:46 UTC
Created attachment 178777 [details]
build environment
Comment 5 Wormo (RETIRED) gentoo-dev 2009-01-17 22:32:51 UTC
Thanks, assigning to maintainer
Comment 6 Daniel Black (RETIRED) gentoo-dev 2009-01-30 21:40:17 UTC
reported upstream
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2009-02-17 16:12:02 UTC
Fixed in the tree.