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

Bug 132042

Summary: muscle-3.6: error: redefinition of `double log2(double)'
Product: Gentoo Linux Reporter: Luc Grenier <jayers15>
Component: New packagesAssignee: Donnie Berkholz (RETIRED) <dberkholz>
Status: RESOLVED WORKSFORME    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luc Grenier 2006-05-02 12:09:45 UTC
I have a problem when I try to install muscle

bugs:
i686-pc-linux-gnu-g++ -c -O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer -ffast-math  local.cpp -o local.o
intmath.cpp: In function `double log2(double)':
intmath.cpp:19: error: redefinition of `double log2(double)'
/usr/include/bits/mathinline.h:627: error: `double log2(double)' previously defined here
make: *** [intmath.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: sci-biology/muscle-3.6 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

--info:
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cdr cjk cli crypt cups curl dri dvd dvdr eds emboss encode esd expat fam foomaticdb fortran gd gdbm gif glut gpm gstreamer gtk2 i8x0 idn imagemagick imlib isdnlog java jpeg junit kde lcms libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg msn ncurses network nls nptl nsplugin ogg opengl oss pam pcre pda pdflib perl png ppds pppd python qt quicktime readline real reflection sdl session spell spl sse sse2 ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xinerama xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Thanks
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-05-02 13:20:33 UTC
FWIW, I recommend using ProbCons instead.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-21 07:27:36 UTC
I can't reproduce this with gcc 4.1.1.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-31 16:11:40 UTC
Still can't reproduce with 4.1.1, which is now stable.