Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276138 - sci-libs/cholmod-1.7.0-r1 - /usr/include/metis/proto.h:462: error: conflicting types for '__log2'
Summary: sci-libs/cholmod-1.7.0-r1 - /usr/include/metis/proto.h:462: error: conflictin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-02 01:26 UTC by tot-to
Modified: 2009-10-03 14:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tot-to 2009-07-02 01:26:12 UTC
end lines of build log:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"cholmod\" -DPACKAGE_TARNAME=\"cholmod\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"cholmod 1.7.0\"" -DPACKAGE_BUGREPORT=\"davis@cise.ufl.edu\" -DPACKAGE=\"cholmod\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBM=1 -DHAVE_UFCONFIG_H=1 -DHAVE_CCOLAMD_H=1 -DHAVE_LIBCCOLAMD=1 -DHAVE_CAMD_H=1 -DHAVE_LIBCAMD=1 -DNSUPERNODAL=1 -DHAVE_AMD_H=1 -DHAVE_LIBAMD=1 -DHAVE_COLAMD_H=1 -DHAVE_LIBCOLAMD=1 -I. -I../Include -I/usr/include/metis -march=athlon64 -O2 -pipe -fomit-frame-pointer -MT cholmod_nesdis.lo -MD -MP -MF .deps/cholmod_nesdis.Tpo -c cholmod_nesdis.c -o cholmod_nesdis.o >/dev/null 2>&1
In file included from /usr/include/metis/metis.h:36,
                 from cholmod_metis.c:52:
/usr/include/metis/proto.h:462: error: conflicting types for '__log2'
/usr/include/bits/mathcalls.h:145: error: previous declaration of '__log2' was here
make[1]: *** [cholmod_metis.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"cholmod\" -DPACKAGE_TARNAME=\"cholmod\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"cholmod 1.7.0\"" -DPACKAGE_BUGREPORT=\"davis@cise.ufl.edu\" -DPACKAGE=\"cholmod\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBM=1 -DHAVE_UFCONFIG_H=1 -DHAVE_CCOLAMD_H=1 -DHAVE_LIBCCOLAMD=1 -DHAVE_CAMD_H=1 -DHAVE_LIBCAMD=1 -DNSUPERNODAL=1 -DHAVE_AMD_H=1 -DHAVE_LIBAMD=1 -DHAVE_COLAMD_H=1 -DHAVE_LIBCOLAMD=1 -I. -I../Include -I/usr/include/metis -march=athlon64 -O2 -pipe -fomit-frame-pointer -MT cholmod_ccolamd.lo -MD -MP -MF .deps/cholmod_ccolamd.Tpo -c cholmod_ccolamd.c -o cholmod_ccolamd.o >/dev/null 2>&1
mv -f .deps/cholmod_ccolamd.Tpo .deps/cholmod_ccolamd.Plo
mv -f .deps/cholmod_nesdis.Tpo .deps/cholmod_nesdis.Plo
make[1]: Leaving directory `/var/tmp/portage/sci-libs/cholmod-1.7.0-r1/work/CHOLMOD/Partition'
make: *** [all-recursive] Error 1
 * 
 * ERROR: sci-libs/cholmod-1.7.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2724:  Called _eapi2_src_compile
 *               ebuild.sh, line  634:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sci-libs/cholmod-1.7.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/cholmod-1.7.0-r1/temp/environment'.
 *

Reproducible: Always

Steps to Reproduce:




# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1
Timestamp of tree: Tue, 30 Jun 2009 02:45:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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 /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ "
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
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/layman/keks-overlay /usr/local/portage/layman/bangert /usr/local/portage/layman/rion-overlay /usr/local/portage/layman/qutim-overlay /usr/local/portage /usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib accessibility alsa amd64 ao ass audiofile branding bzip2 cairo cblas cli corefonts crypt css cups curl cvs d dga dirac djvu dri dts dvd encode exif expat faac faad ffmpeg fftw flac fontconfig fortran gcj gd ggi gif gimp git glib glitz gmp gnuplot gnutls gs gtk hdri iconv id3tag idn imagemagick imlib ipv6 isdnlog java java5 java6 jbig jce jpeg jpeg2k lame lapack latex lcms libcaca lua lzo midi mmx mmxext mng mp3 mpeg mudflap multilib musepack mysql nptl nptlonly objc odbc ogg openal openexr opengl openmp openssl pam pcre pdf perl php plotutils png pnm posix ppds pppd python qt3support qt4 quicktime raw readline reflection rle scanner sdl servletapi session smp speex spl sqlite sqlite3 sse sse2 sse3 ssl subversion svg sysfs taglib threads tiff truetype umfpack unicode usb vorbis wavpack wmf wxwindows x264 xattr xcb xinerama xml xmp xorg xulrunner xv xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" SANE_BACKENDS="gt68xx" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-07-02 14:24:21 UTC
You didn't write what's your version of sci-libs/metis,
but I suspect it's 4.0.1-r1.
The problem lies there, it tries to redefine log2.
This is probably a glibc 2.10.1 problem.
Comment 2 tot-to 2009-07-02 17:58:41 UTC
Yes, metis version is 4.0.1-r1
After fixing bug 275670, i tried to install cholmod.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-07-26 01:26:29 UTC
(In reply to comment #2)
> Yes, metis version is 4.0.1-r1
> After fixing bug 275670, i tried to install cholmod.

And did it compile successfully?

Comment 4 tot-to 2009-10-03 14:36:39 UTC
After updating cholmod-1.7.0-r1 installs successfully. Thanks