Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255212 - emerge bmon fails at libnl-1.1-r1 build
Summary: emerge bmon fails at libnl-1.1-r1 build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Other Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 21:53 UTC by Doug Ausmus
Modified: 2009-01-18 02:39 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Ausmus 2009-01-16 21:53:44 UTC
emerge -av bmon

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-libs/libnl-1.1-r1  0 kB
[ebuild  N    ] net-analyzer/bmon-2.1.0-r3  USE="-dbi -rrdtool" 0 kB

Total: 2 packages (2 new), Size of downloads: 0 kB
...
Emerging (1 of 2) dev-libs/libnl-1.1-r1
...
  CC fib_lookup/request.c
  CC netfilter/ct.c
  CC netfilter/ct_obj.c
netfilter/ct_obj.c:16:49: error: linux/netfilter/nf_conntrack_common.h: No such file or directory
netfilter/ct_obj.c:17:46: error: linux/netfilter/nf_conntrack_tcp.h: No such file or directory
  CC netfilter/log.c
netfilter/ct_obj.c: In function 'ct_dump':
netfilter/ct_obj.c:171: error: 'IPS_SEEN_REPLY' undeclared (first use in this function)
netfilter/ct_obj.c:171: error: (Each undeclared identifier is reported only once
netfilter/ct_obj.c:171: error: for each function it appears in.)
netfilter/ct_obj.c:176: error: 'IPS_ASSURED' undeclared (first use in this function)
netfilter/ct_obj.c: At top level:
netfilter/ct_obj.c:351: error: 'TCP_CONNTRACK_NONE' undeclared here (not in a function)
netfilter/ct_obj.c:352: error: 'TCP_CONNTRACK_SYN_SENT' undeclared here (not in a function)
netfilter/ct_obj.c:353: error: 'TCP_CONNTRACK_SYN_RECV' undeclared here (not in a function)
netfilter/ct_obj.c:354: error: 'TCP_CONNTRACK_ESTABLISHED' undeclared here (not in a function)
netfilter/ct_obj.c:355: error: 'TCP_CONNTRACK_FIN_WAIT' undeclared here (not in a function)
netfilter/ct_obj.c:356: error: 'TCP_CONNTRACK_CLOSE_WAIT' undeclared here (not in a function)
netfilter/ct_obj.c:357: error: 'TCP_CONNTRACK_LAST_ACK' undeclared here (not in a function)
netfilter/ct_obj.c:358: error: 'TCP_CONNTRACK_TIME_WAIT' undeclared here (not in a function)
netfilter/ct_obj.c:359: error: 'TCP_CONNTRACK_CLOSE' undeclared here (not in a function)
netfilter/ct_obj.c:360: error: 'TCP_CONNTRACK_LISTEN' undeclared here (not in a function)
make[2]: *** [netfilter/ct_obj.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all] Error 2
make: *** [all] Error 2
 *
 * ERROR: dev-libs/libnl-1.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2794:  Called _eapi0_src_compile
 *               ebuild.sh, line  595:  Called _eapi2_src_compile
 *               ebuild.sh, line  629:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed

<snip>

>>> Failed to emerge dev-libs/libnl-1.1-r1, Log file:

>>>  '/var/tmp/portage/dev-libs/libnl-1.1-r1/temp/build.log'

 * Messages for package dev-libs/libnl-1.1-r1:

 *
 * ERROR: dev-libs/libnl-1.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2794:  Called _eapi0_src_compile
 *               ebuild.sh, line  595:  Called _eapi2_src_compile
 *               ebuild.sh, line  629:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed

<snip>


I will post more as requested/needed.
-Doug
Comment 1 Wormo (RETIRED) gentoo-dev 2009-01-17 07:02:45 UTC
Please post output of 'emerge --info'. It seems you are missing some kernel header files needed for libnl; it will be interesting to see what headers you have installed.
Comment 2 Doug Ausmus 2009-01-17 10:33:47 UTC
(In reply to comment #1)
> Please post output of 'emerge --info'. It seems you are missing some kernel
> header files needed for libnl; it will be interesting to see what headers you
> have installed.
> 
Here you go:

# emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: Linux-2.6.16-gentoo-r13-i686-AMD_Geode_NX-with-glibc2.0
Timestamp of tree: Fri, 16 Jan 2009 20:15:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.11.15-r3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl alsa ao audiofile berkdb bidi binfilter bl branding browserplugin bzip2 cdparanoia clamav cli cpudetection cracklib crypt cups curl curlwrappers dbus dga dri dts dvd dvdread exif expat fam firefox flac foomatic fortran ftp gif gnutls gpm gstreamer gtk2 hal iconv ipv6 isdnlog java javascript jpeg jpeg2k kde kdehiddenvisibility kdexdeltas libcaca libwww live lzo midi mime mmap mmx mmxext mng mozilla mp3 mp4 mpeg mudflap musepack nas ncpi ncurses nls no-seamonkey nptl nptlonly nsplugin nvidia odk ogg oggvorbis openal opengl openmp pam pascal pcre pdf perl png posix ppds pppd python qt3 qt4 quicktime readline reflection rtc samba session slp sound speex spl sql sqlite sse ssl subversion svg sysfs sysvipc tcpd tga theora threads tiff unicode v4l v4l2 vcd webdav win32codecs x264 x86 xanim xinerama xml xorg xpm xscreensaver xv xvid xvmc 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="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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="sis vesa nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Wormo (RETIRED) gentoo-dev 2009-01-17 19:22:06 UTC
Ok, your kernel headers are rather old; not available in the official tree anymore. Try upgrading sys-kernel/linux-headers to something more modern. I believe your actual kernel 2.6.16 has the needed support, though if you run into run-time problems try building a newer kernel as well.
Comment 4 Doug Ausmus 2009-01-18 02:39:23 UTC
Thanks- that took care of it.