Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247955 - net-analyzer/argus fails to build
Summary: net-analyzer/argus fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 12:45 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-11-30 16:08 UTC (History)
6 users (show)

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


Attachments
Build log (net-analyzer:argus-2.0.6:20081121-063315.log,21.01 KB, text/plain)
2008-11-21 12:46 UTC, Diego Elio Pettenò (RETIRED)
Details
ebuild for argus 3.0.2 (argus-3.0.2.ebuild,1.21 KB, text/plain)
2009-10-21 03:27 UTC, Keith Harrison
Details
argus 3.0.2 init.d (argus-3.0.2.initd,492 bytes, text/plain)
2009-10-21 03:29 UTC, Keith Harrison
Details
argus 3.0.2 conf patch (argus-3.0.2-gentoo.patch,574 bytes, text/plain)
2009-10-21 03:30 UTC, Keith Harrison
Details
argus clients 3.0.2 ebuild (argus-clients-3.0.2.ebuild,1.05 KB, text/plain)
2009-10-21 03:31 UTC, Keith Harrison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-21 12:45:28 UTC
Portage 2.2_rc14 (default/linux/x86/2008.0, gcc-4.1.2-asneeded, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-glibc2.0
Timestamp of tree: Fri, 14 Nov 2008 00:37:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
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.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage-distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK=" 	/usr/share/doc 	/usr/share/man 	/usr/share/info"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/usr/portage-packages"
PORTAGE_COMPRESS=""
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 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="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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-21 12:46:17 UTC
Created attachment 172688 [details]
Build log
Comment 2 Fabian Groffen gentoo-dev 2009-03-25 14:03:16 UTC
same problem here in Prefix on OSX/x86

1 -DSTDC_HEADERS=1  -c ./argus.c
In file included from ./ArgusOutput.h:84,
                 from ./argus.c:59:
../include/argus_filter.h:228: error: conflicting types for ‘bpf_dump’
/Volumes/Scratch/Gentoo/usr/include/pcap/pcap.h:342: error: previous declaration of ‘bpf_dump’ was here
make[1]: *** [argus.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ./ArgusOutput.h:84,
                 from ./ArgusAuth.c:75:
../include/argus_filter.h:228: error: conflicting types for ‘bpf_dump’
/Volumes/Scratch/Gentoo/usr/include/pcap/pcap.h:342: error: previous declaration of ‘bpf_dump’ was here
Comment 3 Fabian Groffen gentoo-dev 2009-03-25 14:05:24 UTC
I think this is since the introduction of net-libs/libpcap-1.0.0-r1
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2009-06-05 14:15:05 UTC
Thank you for report, Diego.

Upstream is active so I think it's better to keep this tool in the tree. Removing treecleaner.

Since this libpcap related issue I'll do my best to get here earlier. Ping me if you think I'm very slow :)
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-09 16:51:45 UTC
Two months later the package is still there, and still failing, do you care about this or should I QA-last rite it?
Comment 6 Keith Harrison 2009-10-13 18:22:03 UTC
Just ran into this bug and I see that Argus 3.0.2 is available from http://www.qosient.com/argus/
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2009-10-18 11:49:20 UTC
Just a small status update. I still fail to get it working with sasl and digging deeper in the code to get what's wrong there. If anybody has a clues how to make it working with sasl, please, share.
Comment 8 Fabian Groffen gentoo-dev 2009-10-18 13:54:48 UTC
3.0.2 compiles for me here
Comment 9 Keith Harrison 2009-10-21 03:27:24 UTC
Created attachment 207773 [details]
ebuild for argus 3.0.2

This argus ebuild works for me, but someone should check it and clean it up due to my lack of ebuild writing experience.
Comment 10 Keith Harrison 2009-10-21 03:29:23 UTC
Created attachment 207775 [details]
argus 3.0.2 init.d

I had to add --background to the init.d file otherwise it would hang. I don't know if this is correct.
Comment 11 Keith Harrison 2009-10-21 03:30:14 UTC
Created attachment 207776 [details]
argus 3.0.2 conf patch

Patch to change the configuration directory to /etc/argus
Comment 12 Keith Harrison 2009-10-21 03:31:33 UTC
Created attachment 207778 [details]
argus clients 3.0.2 ebuild

Ebuild for argus clients 3.0.2, builds fine and ra works fine for me. Someone better qualified should check it more thoroughly and clean it up.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-26 09:18:05 UTC
And this is almost three months from my last ping, five since you said you wouldn't want to kill this on.

Keith, thanks for your work but I'm tentatively going to mask this today unless either Peter or the netmon team feel to show some interest in getting this in tree.
Comment 14 Peter Volkov (RETIRED) gentoo-dev 2009-11-26 10:23:44 UTC
Don't mask. Argus didn't work here but after work with upstream it was supposed to be fixed (this happened week ago and tarballs on site were updated). Now I going to check that it really works and commit. Yup, I don't have lot's of time at hand lately, but argus is good software we want to have in the tree.
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-26 10:30:55 UTC
Keeping stuff in tree that does not even build is *not good*.

This is an official QA request: either get it updated and building in tree before end of next week or the package will be p.masked pending removal in February. At that point you got 60 days to get it back in shape, failing that as well, the package will be removed and you'll have to get it back into the tree like it was a new package.

Yes, it's nasty, but this is an year-old bug ffs!
Comment 16 Peter Volkov (RETIRED) gentoo-dev 2009-11-30 16:08:37 UTC
Fixed.

For those who concerns, sasl support is still broken and thus disabled. At least ratop hangs on authentification here. Probably it'll be fixed in 3.0.3.