Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280450 - [version bump] app-admin/ulogd-2.0.0_beta2 fails to compile, upgrade to beta3
Summary: [version bump] app-admin/ulogd-2.0.0_beta2 fails to compile, upgrade to beta3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wormo (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 12:57 UTC by parafin
Modified: 2009-08-10 06:03 UTC (History)
1 user (show)

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


Attachments
patch for ulogd-2.0.0_beta3.ebuild (ulogd-pcap.patch,312 bytes, patch)
2009-08-05 13:00 UTC, parafin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description parafin 2009-08-05 12:57:14 UTC
make[3]: Entering directory `/var/tmp/portage/app-admin/ulogd-2.0.0_beta2/work/ulogd-2.0.0beta2/input/flow'
/bin/sh ../../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include   -fPIC -Wall  -O2 -march=core2 -fomit-frame-pointer -ftracer -pipe -Wall -Wextra -Wno-unused-parameter -MT ulogd_inpflow_NFCT_la-ulogd_inpflow_NFCT.lo -MD -MP -MF .deps/ulogd_inpflow_NFCT_la-ulogd_inpflow_NFCT.Tpo -c -o ulogd_inpflow_NFCT_la-ulogd_inpflow_NFCT.lo `test -f 'ulogd_inpflow_NFCT.c' || echo './'`ulogd_inpflow_NFCT.c
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -fPIC -Wall -O2 -march=core2 -fomit-frame-pointer -ftracer -pipe -Wall -Wextra -Wno-unused-parameter -MT ulogd_inpflow_NFCT_la-ulogd_inpflow_NFCT.lo -MD -MP -MF .deps/ulogd_inpflow_NFCT_la-ulogd_inpflow_NFCT.Tpo -c ulogd_inpflow_NFCT.c  -fPIC -DPIC -o .libs/ulogd_inpflow_NFCT_la-ulogd_inpflow_NFCT.o
In file included from /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:12,
                 from ulogd_inpflow_NFCT.c:47:
/usr/include/netinet/in.h:56: error: expected identifier before numeric constant
ulogd_inpflow_NFCT.c: In function 'propagate_ct':
ulogd_inpflow_NFCT.c:511: error: 'IPPROTO_UDPLITE' undeclared (first use in this function)
ulogd_inpflow_NFCT.c:511: error: (Each undeclared identifier is reported only once
ulogd_inpflow_NFCT.c:511: error: for each function it appears in.)
ulogd_inpflow_NFCT.c:512: error: 'IPPROTO_SCTP' undeclared (first use in this function)
ulogd_inpflow_NFCT.c:513: error: 'IPPROTO_DCCP' undeclared (first use in this function)
make[3]: *** [ulogd_inpflow_NFCT_la-ulogd_inpflow_NFCT.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-admin/ulogd-2.0.0_beta2/work/ulogd-2.0.0beta2/input/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-admin/ulogd-2.0.0_beta2/work/ulogd-2.0.0beta2/input'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-admin/ulogd-2.0.0_beta2/work/ulogd-2.0.0beta2'
make: *** [all] Error 2

This problem is fixed in latest release - 2.0.0_beta3, just renaming the ebuild works.
But there is also one more bug - pcap plugin doesn't get built because of incorrect usage of configure script. I'll attach fix for ebuild in comment.
Comment 1 parafin 2009-08-05 13:00:50 UTC
Created attachment 200255 [details, diff]
patch for ulogd-2.0.0_beta3.ebuild

so what's needed to be done is:
a). rename ulogd-2.0.0_beta2.ebuild to ulogd-2.0.0_beta3.ebuild
b). apply this patch to ebuild
Comment 2 James Earl Spahlinger 2009-08-06 01:34:49 UTC
Please paste the output of 'emerge --info' into a bugzilla comment to assist the maintainers in resolving this issue
Comment 3 parafin 2009-08-06 06:37:45 UTC
spobs ~ # emerge --info ulogd
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29.1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.29.1-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.0
Timestamp of tree: Wed, 05 Aug 2009 20:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r3
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
USE="X a52 aac adns alsa apache2 audiofile bash-completion berkdb bzip2 cairo caps cddb cdparanoia cracklib crypt cups curl cxx dba dbus dri dts dvb dvd dvdr dvdread encode expat faac faad fbcon ffmpeg flac fontconfig foomaticdb ftp gd gdbm geoip gif gmp gpm graphviz gtk iconv idn imap ipv6 jpeg lcms libsamplerate mad matroska milter mmx mmxext mng mp3 mpeg mysql ncurses nls nptl nsplugin offensive ogg opengl pam pcre pdf perl pic png ppds pulseaudio python quicktime readline ruby sasl session slang sndfile snmp speex spell sqlite sse sse2 ssl ssse3 svg tcpd theora threads tiff truetype unicode usb vorbis win32codecs wxwindows x264 x86 xml xpm xv xvid 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic authn_file authz_host authz_user autoindex cgid dir info log_config mime mime_magic negotiation rewrite setenvif so speling status" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-admin/ulogd-2.0.0_beta3 was built with the following:
USE="mysql pcap -doc -postgres -sqlite3"
Comment 4 Wormo (RETIRED) gentoo-dev 2009-08-09 01:50:08 UTC
Thanks for submitting your version bump
Comment 5 Wormo (RETIRED) gentoo-dev 2009-08-10 06:03:27 UTC
Committed to cvs with only minor changes.