Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 120954
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dan Check <check@radicalmedia.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 120954 depends on: Show dependency tree
Bug 120954 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-30 09:53 0000
NTOP 3.2 won't compile against any of the net-analyzer/net-snmp ebuilds in
portage, meaning that the +snmp use flag can't be used.  Below is the error
that it kicks back:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../myrrd -DLINUX -g
-O2 -march=athlon-xp -fomit-frame-pointer -g -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT
libsnmpPlugin_la-snmpPlugin.lo -MD -MP -MF
.deps/libsnmpPlugin_la-snmpPlugin.Tpo -c snmpPlugin.c  -fPIC -DPIC -o
.libs/libsnmpPlugin_la-snmpPlugin.o
In file included from /usr/include/net-snmp/utilities.h:54,
                 from /usr/include/net-snmp/net-snmp-includes.h:71,
                 from snmpPlugin.c:58:
/usr/include/net-snmp/library/container.h: In function `CONTAINER_FREE':
/usr/include/net-snmp/library/container.h:361: error: invalid lvalue in unary
`&'
distcc[9045] ERROR: compile snmpPlugin.c on bluefish failed
make[3]: *** [libsnmpPlugin_la-snmpPlugin.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/ntop-3.2/work/ntop-3.2/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ntop-3.2/work/ntop-3.2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ntop-3.2/work/ntop-3.2'
make: *** [all] Error 2

!!! ERROR: net-analyzer/ntop-3.2 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.




Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
http://gentoo.netnitco.net"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apache2 apm arts audiofile avi berkdb bitmap-fonts
bzip2 cdr crypt cups curl eds emboss encode ethereal expat fam fastcgi flac
flash foomaticdb fortran gd gdbm gif glut gpm gtk gtk2 idn imagemagick imlib
ipv6 java jpeg junit kde lcms libg++ libwww mad mailwrapper mbox mhash mikmod
ming mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly odbc ogg
oggvorbis opengl oss pam pcre pdflib perl png postgres python qt quicktime
readline ruby samba sdl slang snmp spell ssl svga tcpd tiff truetype
truetype-fonts type1-fonts udev vhosts vorbis xine xml xml2 xmms xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Markus Ullmann 2006-01-30 13:22:59 0000 -------
Does the same error show up when built without distcc?

------- Comment #2 From Dan Check 2006-01-30 13:35:05 0000 -------
Yup.

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../myrrd -DLINUX -g
-O2 -march=athlon-xp -fomit-frame-pointer -g -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT
libsnmpPlugin_la-snmpPlugin.lo -MD -MP -MF
.deps/libsnmpPlugin_la-snmpPlugin.Tpo -c snmpPlugin.c  -fPIC -DPIC -o
.libs/libsnmpPlugin_la-snmpPlugin.o
In file included from /usr/include/net-snmp/utilities.h:54,
                 from /usr/include/net-snmp/net-snmp-includes.h:71,
                 from snmpPlugin.c:58:
/usr/include/net-snmp/library/container.h: In function `CONTAINER_FREE':
/usr/include/net-snmp/library/container.h:361: error: invalid lvalue in unary
`&'
make[3]: *** [libsnmpPlugin_la-snmpPlugin.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/ntop-3.2/work/ntop-3.2/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ntop-3.2/work/ntop-3.2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ntop-3.2/work/ntop-3.2'
make: *** [all] Error 2

!!! ERROR: net-analyzer/ntop-3.2 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #3 From Markus Ullmann 2006-01-30 14:34:01 0000 -------
I'm trying to reproduce locally but it seems to work fine here.

Which version of net-snmp do you use?

------- Comment #4 From Dan Check 2006-01-30 14:46:33 0000 -------
I tried it with the following versions of net-snmp:

5.2.1.2-r1 ~5.2.2-r1 ~5.3.0.1

Here are the use flags that I used:

+X -doc -elf +ipv6 -lm_sensors -minimal +perl -rpm (-selinux) -smux +ssl +tcpd 

------- Comment #5 From Markus Ullmann 2006-01-31 06:23:11 0000 -------
Really hard to reproduce, but will set up a fresh testbox, just to make sure

------- Comment #6 From Markus Ullmann 2006-01-31 14:37:53 0000 -------
Okay, I've got a situation to reproduce it now. Fix will be soon

------- Comment #7 From Markus Ullmann 2006-02-01 06:11:52 0000 -------
Fixed in cvs, thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug