Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340109 - app-admin/collectd-4.10.1-r2: builds own libiptc even if iptables plugin is disabled
Summary: app-admin/collectd-4.10.1-r2: builds own libiptc even if iptables plugin is d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 21:49 UTC by Mike Hammill
Modified: 2010-10-12 18:01 UTC (History)
0 users

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


Attachments
build.log (app-admin:collectd-4.10.1-r2:20101007-184914.log,56.77 KB, text/plain)
2010-10-07 21:53 UTC, Mike Hammill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hammill 2010-10-07 21:49:31 UTC
Tried compiling app-admin/collectd-4.10.1-r2 on a stable x86 system but it fails building on "aligned_u64" redefined error in owniptc/libip6tc.c 

Reproducible: Always

Steps to Reproduce:
1. Try to build

Actual Results:  
Bombs during compile

Expected Results:  
Compiles

# emerge --info app-admin/collectd
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo-r4 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r4-i686-Intel-R-_Xeon-TM-_CPU_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 06 Oct 2010 23:15:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB sv sv_SE"
MAKEOPTS="-j5"
PKGDIR="/var/pkg"
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://giddy.michael.hammill.name/gentoo-portage"
USE="X a52 aac acl acpi afs alsa apache2 aspell assistant autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cgi cli consolekit cracklib crypt cups curl cvs cxx dbus dia djvu docbook dot dri dts dvd dvdr dvi dvi2tty dvipdfm emacs emboss encode esd exif fam firefox flac fltk fontconfig fortran fuse gcrypt gdbm geoip gif gimp gnutls gpm graphics graphviz gs gstreamer gtk hal helpers hyphenation iconv imagemagick imlib ipv6 jai java java6 jpeg kerberos kpathsea latex latex3 lcms ldap libcaca libnotify libssh2 lm_sensors m17n-lib mad mailwrapper mikmod mmx mng modules mp3 mp4 mpeg mpm-worker mudflap nagios-ntp nagios-ssh nano-syntax ncurses network-cron nls no-old-linux nptl nptlonly nsplugin nss ogg opengl openmp openssl pam pango pcre pdf perl plotutils png postscript ppds pppd python qt3support raw rcs readline reflection rtf ruby sasl schroedinger screenshot sdl sensord session sound spell sse sse2 ssl startup-notification subversion svg sysfs t1lib tcl tcpd templates tex4ht threads tiff tk truetype udev unicode usb vhosts vorbis webdav webkit wmf x264 x86 xattr xcb xft xinerana xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" 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="access actions alias asis auth auth_anon auth_dbm auth_digest authz_default authz_host autoindex cache case_filter_in case_filter cern_meta cgi cgid charset_lite dav dav_fs dav_lock deflate dir disk_cache echo env expires ext_filter file_cache filter headers imap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_connect proxy_ftp proxy_http rewrite setenvif so speling status unique_id unique_id userdir usertrack vhost_alias authn_file  authz_groupfile authz_user" APACHE2_MPMS=" worker" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv sv_SE" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 intel r128 radeon vesa fbdev nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Hammill 2010-10-07 21:53:49 UTC
Created attachment 249892 [details]
build.log
Comment 2 SpanKY gentoo-dev 2010-10-08 09:46:41 UTC
ebuilds should never build with -Werror
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-10-10 18:18:00 UTC
That may be true but the -Werror is upstream default (and if they want to keep their code that clean, why should we disagree? :) vapier, let's talk about this on irc.

Anyway this exposes a real bug: the bundled copy of libiptc is built whenever iptables is not installed, even though the iptables plugin is disabled.

I'll place an unconditional dependency on iptables in the ebuild now and will fix it in a next ebuild release with a patch. Keeping the bug open for now.

Mike, please sync and try again in an hour, or alternatively just emerge iptables ... then it should build.

Comment 4 Mike Hammill 2010-10-11 20:00:06 UTC
(In reply to comment #3)
After a resync I tried again and it builds now.  As suggested, it pulls in iptables.  Just a note that the stable collectd pulls in an unstable iptables (1.4.9.1-r2 on ~x86)
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2010-10-12 18:01:55 UTC
Can't be because there is no stable collectd. :)

Anyway, the real fix is in the tree now, so iptables is not needed anymore.