Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289951 - net-proxy/squid-3.0.18-r1 fails with error: redefinition of 'MemPoolMeter&
Summary: net-proxy/squid-3.0.18-r1 fails with error: redefinition of 'MemPoolMeter&
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-21 04:40 UTC by sapparod
Modified: 2009-11-28 16:20 UTC (History)
0 users

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


Attachments
emerge log (build.log,76.98 KB, text/plain)
2009-10-21 04:41 UTC, sapparod
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sapparod 2009-10-21 04:40:22 UTC
Seem, there is errror in ebuild of squild(Mempool.cc)which cause emerge cannot installed successfully. 
Please see the additional infomration for build.log

Reproducible: Always

Steps to Reproduce:
1. emerge squid

Actual Results:  
cannot install squid successfully

Expected Results:  
squid installed

this is the last message before emerge die

MemPool.cc:433: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:433: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:442: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:442: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:447: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:447: warning: deprecated conversion from string constant to 'char*'
MemPool.cc: In member function 'virtual void MemImplementingAllocator::free(void*)':
MemPool.cc:559: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:559: warning: deprecated conversion from string constant to 'char*'
MemPool.cc: In member function 'virtual void* MemPool::allocate()':
MemPool.cc:575: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:575: warning: deprecated conversion from string constant to 'char*'
MemPool.cc: In member function 'virtual void MemPool::deallocate(void*)':
MemPool.cc:585: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:585: warning: deprecated conversion from string constant to 'char*'
MemPool.cc: In member function 'void MemPool::convertFreeCacheToChunkFreeCache()':
MemPool.cc:602: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:602: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:603: warning: deprecated conversion from string constant to 'char*'
MemPool.cc:603: warning: deprecated conversion from string constant to 'char*'
MemPool.cc: At global scope:
MemPool.cc:948: error: redefinition of 'MemPoolMeter& MemImplementingAllocator::getMeter()'
MemPool.cc:942: error: 'virtual MemPoolMeter& MemImplementingAllocator::getMeter()' previously defined here
make[2]: *** [MemPool.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-proxy/squid-3.0.18-r1/work/squid-3.0.STABLE18/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-proxy/squid-3.0.18-r1/work/squid-3.0.STABLE18/lib'
make: *** [all-recursive] Error 1
 [31;01m*[0m 
 [31;01m*[0m ERROR: net-proxy/squid-3.0.18-r1 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   49:  Called src_compile
 [31;01m*[0m             environment, line 2860:  Called _eapi2_src_compile
 [31;01m*[0m               ebuild.sh, line  634:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   		emake || die "emake failed"
 [31;01m*[0m  The die message:
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/tmp/portage/net-proxy/squid-3.0.18-r1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-proxy/squid-3.0.18-r1/temp/environment'.
 [31;01m*[0m 


Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.17-gentoo-r4-i686-Intel-R-_Pentium-R-_D_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Wed, 21 Oct 2009 03:30:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.3-r1, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
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.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=pentium4 -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.in.th http://gentoo.scphost.com http://gentoo.mirrors.pair.com"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cli cluster cracklib crypt dri fortran gd gpm iconv imap ipv6 isdnlog maildir mmx modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spamassassin spl sse ssl sysfs tcpd unicode x86 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 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 sapparod 2009-10-21 04:41:24 UTC
Created attachment 207781 [details]
emerge log
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2009-11-28 16:20:19 UTC
It works for me.

Try to run a emerge --depclean once in awhile, followed by revdep-rebuild.