Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323147 - net-misc/l7-filter-userspace-0.11 fails to compile
Summary: net-misc/l7-filter-userspace-0.11 fails to compile
Status: RESOLVED DUPLICATE of bug 280747
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-08 08:20 UTC by Aleksandr Ivanov
Modified: 2010-07-18 02:36 UTC (History)
4 users (show)

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


Attachments
environment (env.txt,18.47 KB, text/plain)
2010-06-08 08:21 UTC, Aleksandr Ivanov
Details
Build log (build.log,9.28 KB, text/plain)
2010-06-10 07:49 UTC, Aleksandr Ivanov
Details
environment (environment,5.52 KB, text/plain)
2010-06-10 07:50 UTC, Aleksandr Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandr Ivanov 2010-06-08 08:20:48 UTC
net-misc/l7-filter-userspace-0.11 fails to compile



Reproducible: Always

Steps to Reproduce:
1. emerge l7-filter-userspace

Actual Results:  
cd . && /bin/sh /var/tmp/portage/net-misc/l7-filter-userspace-0.11/work/l7-filter-userspace-0.11/missing --run autoheader
aclocal.m4:14: error: this file was generated for autoconf 2.62.
You have another version of autoconf.  If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te-2.65: /usr/bin/m4 failed with exit status: 63
autoheader-2.65: '/usr/bin/autom4te-2.65' failed with exit status: 63
WARNING: `autoheader' is probably too old.  You should only need it if
         you modified `acconfig.h' or `configure.ac'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch config.h.in
make  all-am
make[1]: Entering directory `/var/tmp/portage/net-misc/l7-filter-userspace-0.11/work/l7-filter-userspace-0.11'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O3 -march=athlon -pipe -O2 -fomit-frame-pointer -MT l7-classify.o -MD -MP -MF .deps/l7-classify.Tpo -c -o l7-classify.o l7-classify.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O3 -march=athlon -pipe -O2 -fomit-frame-pointer -MT l7-queue.o -MD -MP -MF .deps/l7-queue.Tpo -c -o l7-queue.o l7-queue.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O3 -march=athlon -pipe -O2 -fomit-frame-pointer -MT l7-conntrack.o -MD -MP -MF .deps/l7-conntrack.Tpo -c -o l7-conntrack.o l7-conntrack.cpp
l7-classify.cpp: In function ‘char** readl7dir(std::string)’:
l7-classify.cpp:160: warning: deprecated conversion from string constant to ‘char*’
mv -f .deps/l7-classify.Tpo .deps/l7-classify.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O3 -march=athlon -pipe -O2 -fomit-frame-pointer -MT l7-filter.o -MD -MP -MF .deps/l7-filter.Tpo -c -o l7-filter.o l7-filter.cpp
mv -f .deps/l7-queue.Tpo .deps/l7-queue.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O3 -march=athlon -pipe -O2 -fomit-frame-pointer -MT l7-parse-patterns.o -MD -MP -MF .deps/l7-parse-patterns.Tpo -c -o l7-parse-patterns.o l7-parse-patterns.cpp
mv -f .deps/l7-filter.Tpo .deps/l7-filter.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O3 -march=athlon -pipe -O2 -fomit-frame-pointer -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.cpp
mv -f .deps/l7-parse-patterns.Tpo .deps/l7-parse-patterns.Po
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
mv -f .deps/util.Tpo .deps/util.Po
l7-conntrack.cpp: In function ‘int sprintf_conntrack_key(char*, nfct_conntrack*, unsigned int)’:
l7-conntrack.cpp:129: error: ‘nfct_sprintf_protocol’ was not declared in this scope
l7-conntrack.cpp:130: error: invalid use of incomplete type ‘struct nfct_conntrack’
l7-conntrack.h:53: error: forward declaration of ‘struct nfct_conntrack’
l7-conntrack.cpp:130: error: ‘nfct_sprintf_address’ was not declared in this scope
l7-conntrack.cpp:131: error: invalid use of incomplete type ‘struct nfct_conntrack’
l7-conntrack.h:53: error: forward declaration of ‘struct nfct_conntrack’
l7-conntrack.cpp:131: error: ‘nfct_sprintf_proto’ was not declared in this scope
l7-conntrack.cpp: In function ‘int l7_handle_conntrack_event(void*, unsigned int, int, void*)’:
l7-conntrack.cpp:159: error: invalid use of incomplete type ‘struct nfct_conntrack’
l7-conntrack.h:53: error: forward declaration of ‘struct nfct_conntrack’
l7-conntrack.cpp:160: error: invalid use of incomplete type ‘struct nfct_conntrack’
l7-conntrack.h:53: error: forward declaration of ‘struct nfct_conntrack’
l7-conntrack.cpp:162: error: ‘NFCT_MSG_DESTROY’ was not declared in this scope
l7-conntrack.cpp:163: error: ‘NFCT_MSG_NEW’ was not declared in this scope
l7-conntrack.cpp:164: error: ‘NFCT_MSG_UPDATE’ was not declared in this scope
l7-conntrack.cpp:165: error: ‘NFCT_MSG_UNKNOWN’ was not declared in this scope
l7-conntrack.cpp:168: error: ‘NFCT_MSG_NEW’ was not declared in this scope
l7-conntrack.cpp:182: error: ‘NFCT_MSG_DESTROY’ was not declared in this scope
l7-conntrack.cpp: In destructor ‘l7_conntrack::~l7_conntrack()’:
l7-conntrack.cpp:196: error: ‘nfct_conntrack_free’ was not declared in this scope
l7-conntrack.cpp: In member function ‘void l7_conntrack::start()’:
l7-conntrack.cpp:233: error: ‘nfct_register_callback’ was not declared in this scope
l7-conntrack.cpp:234: error: ‘nfct_event_conntrack’ was not declared in this scope
l7-conntrack.cpp:237: error: ‘nfct_conntrack_free’ was not declared in this scope
make[1]: *** [l7-conntrack.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/l7-filter-userspace-0.11/work/l7-filter-userspace-0.11'
make: *** [all] Error 2


Expected Results:  
l7-filter-userspace compiles

*  net-libs/libnetfilter_conntrack
      Latest version available: 0.0.101
      Latest version installed: 0.0.101
      Size of files: 281 kB
      Homepage:      http://www.netfilter.org/projects/libnetfilter_conntrack/
      Description:   programming interface (API) to the in-kernel connection tracking state table
      License:       GPL-2

$ gcc-config  -l
 [1] i686-pc-linux-gnu-4.1.2
 [2] i686-pc-linux-gnu-4.4.3 *
Comment 1 Aleksandr Ivanov 2010-06-08 08:21:58 UTC
Created attachment 234505 [details]
environment
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-06-08 13:06:55 UTC
Hello Aleksandr,

can you please attach the full build.log, if it's bigger that 2MB you can attach it gzip'ed. 

Thanks, Michael
Comment 3 Aleksandr Ivanov 2010-06-10 07:49:16 UTC
Created attachment 234829 [details]
Build log
Comment 4 Aleksandr Ivanov 2010-06-10 07:50:55 UTC
Created attachment 234831 [details]
environment
Comment 5 Aleksandr Ivanov 2010-06-10 07:51:29 UTC
build.log added
Comment 6 Patrick Lauer gentoo-dev 2010-06-10 11:48:42 UTC
I can reproduce that error.
Adding an eautoreconf call makes the aclocal warning/error go away, but the "l7-conntrack.cpp:129: error: 'nfct_sprintf_protocol' was not declared in this scope" remains.
Comment 7 blub bla 2010-06-21 05:10:55 UTC
hi

i got the same error, then i downgraded sys-devel/autoconf to 2.62-r1
then i got that error (below emerge --info)

emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34 i586)
=================================================================
System uname: Linux-2.6.34-i586-Geode-TM-_Integrated_Processor_by_AMD_PCS-with-gentoo-2.0.1
Timestamp of tree: Sun, 20 Jun 2010 12:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r2, 3.1.2-r3
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.62-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       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 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer"
CHOST="i486-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/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"
CXXFLAGS="-march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j5"
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="/var/lib/layman/mds /var/lib/layman"
SYNC="rsync://mirror.cambrium.nl/gentoo-portage"
USE="3dnow 3dnowext acl apache2 avahi berkdb boost bzip2 cli cpudetection cracklib crypt ctype cups cxx dbus devfs-compat dri filter fortran ftp gdbm git glib glibc-compat20 gnutls gpm hash iconv ipv6 ldap libwww lm_sensors masquerade md5sum mdnsresponder-compat mmx mmxext modules mudflap mysqli ncurses nfs nfsv4 nls nptl nptlonly objc objc++ objc-gc openmp pam pcre perl php policykit pppd python rar readline reflection rtc sdb-ldap session slang sockets spl ssl subversion suexec sysfs syslog tcpd threads threadsafe unicode usb vhosts vim-syntax x86 xml xorg zlib" 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="php proxy" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for regcomp... yes
checking for strerror... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make -j5
cd . && /bin/sh /var/tmp/portage/net-misc/l7-filter-userspace-0.11/work/l7-filter-userspace-0.11/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
make[1]: Entering directory `/var/tmp/portage/net-misc/l7-filter-userspace-0.11/work/l7-filter-userspace-0.11'
i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -MT l7-classify.o -MD -MP -MF .deps/l7-classify.Tpo -c -o l7-classify.o l7-classify.cpp
i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -MT l7-queue.o -MD -MP -MF .deps/l7-queue.Tpo -c -o l7-queue.o l7-queue.cpp
i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -MT l7-conntrack.o -MD -MP -MF .deps/l7-conntrack.Tpo -c -o l7-conntrack.o l7-conntrack.cpp
i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -MT l7-filter.o -MD -MP -MF .deps/l7-filter.Tpo -c -o l7-filter.o l7-filter.cpp
i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -MT l7-parse-patterns.o -MD -MP -MF .deps/l7-parse-patterns.Tpo -c -o l7-parse-patterns.o l7-parse-patterns.cpp
l7-classify.cpp: In function 'char** readl7dir(std::string)':
l7-classify.cpp:160: warning: deprecated conversion from string constant to 'char*'
mv -f .deps/l7-classify.Tpo .deps/l7-classify.Po
i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.cpp
mv -f .deps/l7-queue.Tpo .deps/l7-queue.Po
mv -f .deps/l7-filter.Tpo .deps/l7-filter.Po
mv -f .deps/l7-parse-patterns.Tpo .deps/l7-parse-patterns.Po
mv -f .deps/util.Tpo .deps/util.Po
l7-conntrack.cpp: In function 'int sprintf_conntrack_key(char*, nfct_conntrack*, unsigned int)':
l7-conntrack.cpp:129: error: 'nfct_sprintf_protocol' was not declared in this scope
l7-conntrack.cpp:130: error: invalid use of incomplete type 'struct nfct_conntrack'
l7-conntrack.h:53: error: forward declaration of 'struct nfct_conntrack'
l7-conntrack.cpp:130: error: 'nfct_sprintf_address' was not declared in this scope
l7-conntrack.cpp:131: error: invalid use of incomplete type 'struct nfct_conntrack'
l7-conntrack.h:53: error: forward declaration of 'struct nfct_conntrack'
l7-conntrack.cpp:131: error: 'nfct_sprintf_proto' was not declared in this scope
l7-conntrack.cpp: In function 'int l7_handle_conntrack_event(void*, unsigned int, int, void*)':
l7-conntrack.cpp:159: error: invalid use of incomplete type 'struct nfct_conntrack'
l7-conntrack.h:53: error: forward declaration of 'struct nfct_conntrack'
l7-conntrack.cpp:160: error: invalid use of incomplete type 'struct nfct_conntrack'
l7-conntrack.h:53: error: forward declaration of 'struct nfct_conntrack'
l7-conntrack.cpp:162: error: 'NFCT_MSG_DESTROY' was not declared in this scope
l7-conntrack.cpp:163: error: 'NFCT_MSG_NEW' was not declared in this scope
l7-conntrack.cpp:164: error: 'NFCT_MSG_UPDATE' was not declared in this scope
l7-conntrack.cpp:165: error: 'NFCT_MSG_UNKNOWN' was not declared in this scope
l7-conntrack.cpp:168: error: 'NFCT_MSG_NEW' was not declared in this scope
l7-conntrack.cpp:182: error: 'NFCT_MSG_DESTROY' was not declared in this scope
l7-conntrack.cpp: In destructor 'l7_conntrack::~l7_conntrack()':
l7-conntrack.cpp:196: error: 'nfct_conntrack_free' was not declared in this scope
l7-conntrack.cpp: In member function 'void l7_conntrack::start()':
l7-conntrack.cpp:233: error: 'nfct_register_callback' was not declared in this scope
l7-conntrack.cpp:234: error: 'nfct_event_conntrack' was not declared in this scope
l7-conntrack.cpp:237: error: 'nfct_conntrack_free' was not declared in this scope
make[1]: *** [l7-conntrack.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/l7-filter-userspace-0.11/work/l7-filter-userspace-0.11'
make: *** [all] Error 2
 * ERROR: net-misc/l7-filter-userspace-0.11 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 112:  Called _eapi0_src_compile
 *     ebuild.sh, line 612:  Called _eapi2_src_compile
 *     ebuild.sh, line 646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =net-misc/l7-filter-userspace-0.11',
 * the complete build log and the output of 'emerge -pqv =net-misc/l7-filter-userspace-0.11'.
 * The complete build log is located at '/var/tmp/portage/net-misc/l7-filter-userspace-0.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/l7-filter-userspace-0.11/temp/environment'.
 * S: '/var/tmp/portage/net-misc/l7-filter-userspace-0.11/work/l7-filter-userspace-0.11'

>>> Failed to emerge net-misc/l7-filter-userspace-0.11, Log file:

>>>  '/var/tmp/portage/net-misc/l7-filter-userspace-0.11/temp/build.log'

 * Messages for package net-misc/l7-filter-userspace-0.11:

 * ERROR: net-misc/l7-filter-userspace-0.11 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 112:  Called _eapi0_src_compile
 *     ebuild.sh, line 612:  Called _eapi2_src_compile
 *     ebuild.sh, line 646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =net-misc/l7-filter-userspace-0.11',
 * the complete build log and the output of 'emerge -pqv =net-misc/l7-filter-userspace-0.11'.
 * The complete build log is located at '/var/tmp/portage/net-misc/l7-filter-userspace-0.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/l7-filter-userspace-0.11/temp/environment'.
 * S: '/var/tmp/portage/net-misc/l7-filter-userspace-0.11/work/l7-filter-userspace-0.11'
Comment 8 Daniel Black (RETIRED) gentoo-dev 2010-07-18 02:36:54 UTC

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