Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239245 - net-analyzer/snort-2.8.3: compile error with a default USE flags
Summary: net-analyzer/snort-2.8.3: compile error with a default USE flags
Status: RESOLVED DUPLICATE of bug 198205
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-01 14:30 UTC by Hodur
Modified: 2008-10-02 15:47 UTC (History)
0 users

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 Hodur 2008-10-01 14:30:11 UTC
Unable to compile snort-2.8.3.ebuild without "dynamicplugin" USE flag (off by default)


Reproducible: Always

Steps to Reproduce:
1. emerge -pv snort
Calculating dependencies... done!
[ebuild   R   ] net-analyzer/snort-2.8.3  USE="-dynamicplugin -flexresp2 -gre -inline -linux-smp-stats -mysql -odbc -perfprofiling -postgres -prelude (-selinux) -sguil -timestats" 0 kB [1]

2. emerge snort 

Actual Results:  
i686-pc-linux-gnu-gcc -O2 -fomit-frame-pointer -pipe -Wall
-DDETECTION_OPTION_TREE -DGRE -fno-strict-aliasing -Wl,-O1 -o
snort codes.o debug.o decode.o log.o mstring.o parser.o profiler.o
plugbase.o snort.o snprintf.o strlcatu.o strlcpyu.o tag.o ubi_BinTree.o
ubi_SplayTree.o util.o detect.o signature.o mempool.o sf_sdlist.o
fpcreate.o fpdetect.o pcrm.o byte_extract.o sfthreshold.o packet_time.o
event_wrapper.o event_queue.o inline.o ppm.o log_text.o  -L/usr/lib
output-plugins/libspo.a detection-plugins/libspd.a
dynamic-plugins/libdynamic.a preprocessors/libspp.a
preprocessors/flow/portscan/libportscan.a preprocessors/flow/libflow.a
parser/libparser.a target-based/libtarget_based.a
preprocessors/HttpInspect/libhttp_inspect.a
preprocessors/Stream5/libstream5.a sfutil/libsfutil.a
/usr/lib/libpcre.so -lz -lbz2 -lpcap -lm -lnsl
detection-plugins/libspd.a(detection_options.o): In function
`detection_option_key_compare_func':
detection_options.c:(.text+0xafe): undefined reference to
`PreprocessorRuleOptionCompare'
detection_options.c:(.text+0xcb3): undefined reference to
`DynamicRuleCompare'
detection-plugins/libspd.a(detection_options.o): In function
`detection_option_hash_func':
detection_options.c:(.text+0xd68): undefined reference to
`PreprocessorRuleOptionHash'
detection_options.c:(.text+0xf48): undefined reference to
`DynamicRuleHash'
collect2: ld returned 1 exit status 

Expected Results:  
My suggestion: turn "dynamicplugin" option on by default.

Portage 2.1.5.6 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.7-r2, 2.6.26-gentoo-r2 i686)
=================================================================
System uname: 2.6.26-gentoo-r2 i686 Intel(R) Celeron(R) CPU 2.00GHz
Timestamp of tree: Wed, 01 Oct 2008 03:47:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/bacula /opt/openfire/resources/security/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks noinfo notitles parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages/x86"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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://192.168.0.99/gentoo-portage"
USE="acl apache2 audit bash-completion berkdb bzip2 caps cli dri gdbm gnutls gpm iconv isdnlog kerberos logrotate midi mudflap ncurses nptl nptlonly openmp pam pcre perl pppd python readline reflection sasl session spl sse2 ssl sysfs syslog tcpd threads truetype unicode vim-syntax x86 xattr 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon nv vesa vga fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Sebastian Luther (few) 2008-10-01 15:04:19 UTC
Where did you get this ebuild? There is no version 2.8.3 in portage.

# eix net-analyzer/snort

 net-analyzer/snort
     Available versions:  2.4.5 2.6.1.3-r1 ~2.6.1.4 [M]~2.7.0.1 {dynamicplugin flexresp flexresp2 gre inline linux-smp-stats mysql odbc perfprofiling postgres prelude react selinux sguil snortsam ssl timestats}
     Homepage:            http://www.snort.org/
     Description:         Libpcap-based packet sniffer/logger/lightweight IDS
Comment 2 Hodur 2008-10-01 15:27:04 UTC
Taken from http://bugs.gentoo.org/show_bug.cgi?id=198205
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-02 15:47:49 UTC

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