Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 343191

Summary: aide-0.13.1-r3 does not compile with curl use flag
Product: Gentoo Linux Reporter: praise.tazio
Component: Current packagesAssignee: Forensics Herd [disbanded] <forensics+obsolete>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 342725    
Bug Blocks:    
Attachments: Build log

Description praise.tazio 2010-10-28 23:23:47 UTC
Instanning aide ( the latest stable version ) always fail if the curl
use flag is set.
It works if the curl use flag is not set.

i686-pc-linux-gnu-gcc -pipe -O2 -march=pentium3 -fomit-frame-pointer    -pipe -O2 -march=pentium3 -fomit-frame-pointer   -Wl,-O1 -Wl,--as-needed -lcurl   -Wl,-O1 -Wl,--as-needed -lcurl  -o aide conf_yacc.o conf_lex2.o getopt.o getopt1.o gnu_regex.o error.o md.o db.o commandconf.o db_file.o db_disk.o db_lex2.o db_sql.o gen_list.o list.o do_md.o base64.o symboltable.o compare_db.o be.o util.o snprintf.o fopen.o aide.o -lm  -lgcrypt -lgpg-error -lacl    -lcrypt -lz 
fopen.o: In function `url_rewind':
fopen.c:(.text+0x73): undefined reference to `curl_multi_remove_handle'
fopen.c:(.text+0x84): undefined reference to `curl_multi_add_handle'
fopen.o: In function `fill_buffer':
fopen.c:(.text+0x1ae): undefined reference to `curl_multi_fdset'
fopen.c:(.text+0x200): undefined reference to `curl_multi_perform'
fopen.o: In function `url_fclose':
fopen.c:(.text+0x6e5): undefined reference to `curl_multi_remove_handle'
fopen.c:(.text+0x6f0): undefined reference to `curl_easy_cleanup'
fopen.o: In function `url_fopen':
fopen.c:(.text+0x7b9): undefined reference to `curl_easy_init'
fopen.c:(.text+0x7d0): undefined reference to `curl_easy_setopt'
fopen.c:(.text+0x7ed): undefined reference to `curl_easy_setopt'
fopen.c:(.text+0x80a): undefined reference to `curl_easy_setopt'
fopen.c:(.text+0x824): undefined reference to `curl_easy_setopt'
fopen.c:(.text+0x84a): undefined reference to `curl_multi_add_handle'
fopen.c:(.text+0x85b): undefined reference to `curl_multi_perform'
fopen.c:(.text+0x886): undefined reference to `curl_multi_remove_handle'
fopen.c:(.text+0x891): undefined reference to `curl_easy_cleanup'
fopen.c:(.text+0x8b7): undefined reference to `curl_easy_init'
fopen.c:(.text+0x8d3): undefined reference to `curl_easy_setopt'
fopen.c:(.text+0x8eb): undefined reference to `curl_easy_setopt'
fopen.c:(.text+0x905): undefined reference to `curl_easy_setopt'
fopen.c:(.text+0x923): undefined reference to `curl_easy_setopt'
fopen.c:(.text+0x945): undefined reference to `curl_multi_add_handle'
fopen.c:(.text+0x95b): undefined reference to `curl_multi_perform'
fopen.c:(.text+0x971): undefined reference to `curl_multi_init'
fopen.c:(.text+0x981): undefined reference to `curl_multi_init'


Reproducible: Always

Steps to Reproduce:
1.USE=curl
2.emerge aide
3.




emerge --info
Portage 2.1.8.3 (hardened/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.32-hardened-r9 i686)
=================================================================
System uname: Linux-2.6.32-hardened-r9-i686-Pentium-R-_Dual-Core_CPU_E5400_@_2.70GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 28 Oct 2010 21:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.3.4, 4.4.4-r2
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="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium3 -fomit-frame-pointer"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-pipe -O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="allpackagers assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j1"
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/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion berkdb bzip2 caps cli cracklib crypt curl cxx doc dri fam gdbm gpm hardened hardened-php iconv idn ipv6 kerberos ldap logrotate maildir memlimit mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pic pie pppd python quotas readline samba sasl session slp snmp ssl sysfs tcpd tetex unicode urandom x86 xml 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="cgi cgid 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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel         mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage  siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware     voodoo" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 praise.tazio 2010-10-28 23:28:38 UTC
Created attachment 252445 [details]
Build log

Complete build log
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2010-11-03 02:38:05 UTC
what version of curl is installed?
Comment 3 praise.tazio 2010-11-04 19:06:02 UTC
Installed version:  7.20.0-r2
(idn ipv6 kerberos ldap ssl -ares -gnutls -libssh2 -nss -test)
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2010-11-05 14:39:22 UTC
its fixed in >=aide-0.13.1-r5.