Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449320 - sci-libs/cholmod-2.0.1 - configure: .../temp/ccKrajc0.o: In function `main': conftest.c:(.text+0x7): undefined reference to `cublasDgemm'
Summary: sci-libs/cholmod-2.0.1 - configure: .../temp/ccKrajc0.o: In function `main': ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-30 16:28 UTC by Luis Ferreira
Modified: 2014-02-03 17:59 UTC (History)
0 users

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


Attachments
/var/tmp/portage/sci-libs/cholmod-2.0.1/temp/build.log (build.log,9.70 KB, text/plain)
2012-12-30 16:28 UTC, Luis Ferreira
Details
config.log (config.log,52.97 KB, text/plain)
2012-12-30 20:40 UTC, Luis Ferreira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Ferreira 2012-12-30 16:28:01 UTC
Created attachment 333782 [details]
/var/tmp/portage/sci-libs/cholmod-2.0.1/temp/build.log
Comment 1 Luis Ferreira 2012-12-30 16:28:38 UTC
emerge --info
Portage 2.1.11.31 (default/linux/amd64/10.0/no-multilib, gcc-4.5.4, glibc-2.15-r3, 3.6.11-gentoo x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Sun, 30 Dec 2012 15:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.8, 2.7.3-r2, 3.1.5, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo betelgeuse betagarden sunrise zugaina science g-ctan x-layman
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="pt_PT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/betelgeuse /var/lib/layman/betagarden /var/lib/layman/sunrise /var/lib/layman/zugaina /var/lib/layman/science /usr/local/portage /var/lib/layman"
SYNC="rsync://ftp.rnl.ist.utl.pt/gentoo-portage"
USE="R X a52 aac aacplus aalib acl acpi action_modeswitch addressbook adns adplug aften akonadi alsa amd64 amr analitza apbs apng archive ares arpack aspell ass atmo attica audiofile autoipd autotrace avahi avcodec avformat avx bash-completion berkdb binfilter bluetooth bs2b bzip2 cairo cdda cddax cddb cdio cleartype cli clucene consolekit context corefonts cover cpudetection cracklib crypt csharp cuda cuda-double cue cups curl cxx dap dbus dc1394 declarative demosaic designer-plugin detex device-mapper dirac djvu double-precision dri dts dv dvd dvi2tty dvipdfm ebook eigen embedded enca encode equalizer exif expat expoblending extra faac faad facedetect fam fame ffmpeg fftw fits flac flash fluidsynth fontconfig fortran fortran95 fpx frei0r ftp fuse g3dvl games gcj gd gdbm geoip geolocation geos gif gimp gmath gml gmxmopac7 gnuplot gnutls gpac gphoto2 gpm gps graphics graphite graphviz grass gsl gstreamer gtk gudev guile hdf5 hdri hpcups humanities hunspell hwdb ical iconv icu id3tag idn ieee1394 imagemagick indi inkjar inotify int64 ipod ipv6 jack jadetex java javascript jbig jemalloc jpeg jpeg2k kate kde kig-scripting kipi kpathsea ladspa lame lapack lash lastfm latex latex3 lcms lensfun libass libcaca libnl libnotify libsamplerate libssh2 libsysfs libtiger libv4l libv4l2 libvisual lm_sensors lqr lua luatex lyrics lzma lzo mad matroska mdnsresponder-compat melt metis midi minizip mjpeg mms mmx mmxext mng modplug modules mopac7 motif mp3 mp3tunes mp4 mpeg mpg123 mpi mplayer mpqc mpris mtp mudflap multimedia musepack music musicbrainz mysql ncurses netcdf network networking nlpsolver nls nptl nsplugin numpy nuv ocr octave odbc ogdi ogg okular omega opal openal openbabel opencl openexr opengl openipmi openmp pam pango panorama pcre pdf pdfannotextractor pdfimport perl pgf phonon plasma plotutils png policykit portaudio postproc postscript ppds pppd projectm pstricks publishers pulseaudio python q32 q64 qimageblitz qt3support qt4 quad quicktime rar raw readline realtime redeyes romio rtf rtmp rtsp ruby rups sasl scale0tilt scanner schroedinger science scrobbler sdl sdl-image semantic-desktop session shaders shine smi smime smp sms smtp sndfile snmp soundtouch sox spatialite speex spell sql sqlite sse sse2 sse3 sse4 sse4a ssl ssse3 subtitles subversion supernodal svg swig symlink szip taglib tbb tcpd tesseract tex4ht tga theora thin-splines threads thumbnail tidy tiff tk toolame tordns truetype twolame type3 udev unicode usb v4l v4l2 vaapi vamp vcdinfo vdpau video vmd vorbis vpx wavpack webkit wma wma-fixed wmf wxwidgets x264 xanim xcomposite xetex xindy xine xml xmp xpm xvid xvmc yaz zeroconf zip 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="sony_dscf55" 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 wacom keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Rafał Mużyło 2012-12-30 17:15:39 UTC
So, what's in config.log ?
Comment 3 Luis Ferreira 2012-12-30 20:40:04 UTC
Created attachment 333798 [details]
config.log

/var/tmp/portage/sci-libs/cholmod-2.0.1/work/cholmod-2.0.1_build/config.log
Comment 4 Rafał Mużyło 2012-12-30 22:13:32 UTC
configure:14374: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe  -I/opt/cuda/include -Wl,-O1 -Wl,--as-needed -L/opt/cuda/lib64 -lcublas conftest.c -lcublas  -lrt -lm  >&5
/var/tmp/portage/sci-libs/cholmod-2.0.1/temp/ccKrajc0.o: In function `main':
conftest.c:(.text+0x7): undefined reference to `cublasDgemm'

meaning the lib should be there, but the symbol is missing.
Recheck the above.
Comment 5 Luis Ferreira 2012-12-30 23:15:31 UTC
(In reply to comment #4)
> configure:14374: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe
> -I/opt/cuda/include -Wl,-O1 -Wl,--as-needed -L/opt/cuda/lib64 -lcublas
> conftest.c -lcublas  -lrt -lm  >&5
> /var/tmp/portage/sci-libs/cholmod-2.0.1/temp/ccKrajc0.o: In function `main':
> conftest.c:(.text+0x7): undefined reference to `cublasDgemm'
> 
> meaning the lib should be there, but the symbol is missing.
> Recheck the above.


do you mean something like this?
I'm too much ignorant in this matter. Sorry.


/opt/cuda/lib64 
$ ls -1l
total 328772
lrwxrwxrwx 1 root root        14 Dez 30 15:38 libcublas.so -> libcublas.so.4
lrwxrwxrwx 1 root root        19 Dez 30 15:38 libcublas.so.4 -> libcublas.so.4.0.17
-rwxr-xr-x 1 root root 129169560 Dez 30 15:38 libcublas.so.4.0.17
lrwxrwxrwx 1 root root        14 Dez 30 15:38 libcudart.so -> libcudart.so.4
lrwxrwxrwx 1 root root        19 Dez 30 15:38 libcudart.so.4 -> libcudart.so.4.0.17
-rwxr-xr-x 1 root root    330512 Dez 30 15:38 libcudart.so.4.0.17
lrwxrwxrwx 1 root root        13 Dez 30 15:38 libcufft.so -> libcufft.so.4
lrwxrwxrwx 1 root root        18 Dez 30 15:38 libcufft.so.4 -> libcufft.so.4.0.17
-rwxr-xr-x 1 root root  87484504 Dez 30 15:38 libcufft.so.4.0.17
lrwxrwxrwx 1 root root        14 Dez 30 15:38 libcurand.so -> libcurand.so.4
lrwxrwxrwx 1 root root        19 Dez 30 15:38 libcurand.so.4 -> libcurand.so.4.0.17
-rwxr-xr-x 1 root root  25371040 Dez 30 15:38 libcurand.so.4.0.17
lrwxrwxrwx 1 root root        16 Dez 30 15:38 libcusparse.so -> libcusparse.so.4
lrwxrwxrwx 1 root root        21 Dez 30 15:38 libcusparse.so.4 -> libcusparse.so.4.0.17
-rwxr-xr-x 1 root root  49159768 Dez 30 15:38 libcusparse.so.4.0.17
lrwxrwxrwx 1 root root        11 Dez 30 15:38 libnpp.so -> libnpp.so.4
lrwxrwxrwx 1 root root        16 Dez 30 15:38 libnpp.so.4 -> libnpp.so.4.0.17
-rwxr-xr-x 1 root root  45135128 Dez 30 15:38 libnpp.so.4.0.17





/opt/cuda/lib64 
$ nm --dynamic -A /opt/cuda/lib64/* | grep -i cublasDgemm
/opt/cuda/lib64/libcublas.so:000000000009c030 T cublasDgemm_v2
/opt/cuda/lib64/libcublas.so.4:000000000009c030 T cublasDgemm_v2
/opt/cuda/lib64/libcublas.so.4.0.17:000000000009c030 T cublasDgemm_v2
Comment 6 Rafał Mużyło 2012-12-31 18:10:35 UTC
Well, not that ignorant, it was more or less what I had in mind.

Now, it seems that the check will need to be updated (and probably a little API patch will be required).

For completeness, your cuda packages versions are required.
Comment 7 Luis Ferreira 2013-01-01 10:29:08 UTC
(In reply to comment #6)
> Well, not that ignorant, it was more or less what I had in mind.
> 
> Now, it seems that the check will need to be updated (and probably a little
> API patch will be required).
> 
> For completeness, your cuda packages versions are required.


[I] dev-util/nvidia-cuda-toolkit
     Available versions:  ~3.2^b 4.0^b ~4.1^b ~4.2 ~4.2.9-r1[1] ~5.0.35[1] {{debugger doc eclipse profiler}}
     Installed versions:  4.0^b(15:38:41 30-12-2012)(-debugger -doc -profiler)
     Homepage:            http://developer.nvidia.com/cuda
     Description:         NVIDIA CUDA Toolkit
Comment 8 Sébastien Fabbro (RETIRED) gentoo-dev 2013-01-04 22:13:39 UTC
could you try with nvidia-cuda-toolkit 4.2.9 or 5.0.35 from the science overlay?
Comment 9 Luis Ferreira 2013-01-05 00:28:07 UTC
(In reply to comment #8)
> could you try with nvidia-cuda-toolkit 4.2.9 or 5.0.35 from the science
> overlay?

[I] dev-util/nvidia-cuda-toolkit                                                                                                                                                    
     Available versions:  ~3.2^b 4.0^b ~4.1^b ~4.2 ~4.2.9-r1[1] (~)5.0.35[1] {{debugger doc eclipse profiler}}                                                                      
     Installed versions:  5.0.35[1](23:12:57 04-01-2013)(-debugger -doc -eclipse -profiler)                                                                                         
     Homepage:            http://developer.nvidia.com/cuda                                                                                                                          
     Description:         NVIDIA CUDA Toolkit                                                                                                                                       
                                                                                                                                                                                    
[1] "science" /var/lib/layman/science  


*********************


Calculating dependencies... done!
[ebuild  N    ~] sci-libs/cholmod-2.0.1  USE="cuda lapack metis -doc -minimal -static-libs" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-libs/cholmod-2.0.1
 * cholmod-2.0.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking cholmod-2.0.1.tar.gz to /var/tmp/portage/sci-libs/cholmod-2.0.1/work
>>> Source unpacked in /var/tmp/portage/sci-libs/cholmod-2.0.1/work
>>> Preparing source in /var/tmp/portage/sci-libs/cholmod-2.0.1/work/cholmod-2.0.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/cholmod-2.0.1/work/cholmod-2.0.1 ...
/var/tmp/portage/sci-libs/cholmod-2.0.1/temp/environment: line 3110: tc-getPKGCONFIG: command not found
/var/tmp/portage/sci-libs/cholmod-2.0.1/temp/environment: line 3110: --libs: command not found
/var/tmp/portage/sci-libs/cholmod-2.0.1/temp/environment: line 3111: tc-getPKGCONFIG: command not found
/var/tmp/portage/sci-libs/cholmod-2.0.1/temp/environment: line 3111: --libs: command not found
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-libs/cholmod-2.0.1/work/cholmod-2.0.1_build"
 * econf: updating cholmod-2.0.1/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating cholmod-2.0.1/config/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/sci-libs/cholmod-2.0.1/work/cholmod-2.0.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --docdir=/usr/share/doc/cholmod-2.0.1 --enable-shared --disable-static --with-blas= --with-lapack= --without-doc --with-modify --with-matrixops --with-partition --with-supernodal --with-cuda --with-cublas-libs=-L/opt/cuda/lib64 -lcublas --with-cublas-cflags=-I/opt/cuda/include
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for uid_t in sys/types.h... yes
checking for int32_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for atexit... yes
checking for localtime_r... yes
checking for mblen... yes
checking for putenv... yes
checking for realpath... yes
checking for rpmatch... yes
checking for select... yes
checking for setenv... yes
checking for stime... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for tzset... yes
checking for sqrt in -lm... yes
checking for clock_gettime in -lrt... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SUITESPARSECONFIG... yes
checking SuiteSparse_config.h usability... yes
checking SuiteSparse_config.h presence... yes
checking for SuiteSparse_config.h... yes
checking for SuiteSparse_malloc in -lsuitesparseconfig... yes
checking whether to build user guide... no
checking cublas_v2.h usability... yes
checking cublas_v2.h presence... yes
checking for cublas_v2.h... yes
checking for cublasDgemm in -lcublas... no
configure: error: Could not find cuda blas library

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sci-libs/cholmod-2.0.1/work/cholmod-2.0.1_build/config.log
 * ERROR: sci-libs/cholmod-2.0.1 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3117:  Called autotools-utils_src_configure
 *        environment, line  650:  Called econf '--docdir=/usr/share/doc/cholmod-2.0.1' '--enable-shared' '--disable-static' '--with-blas=' '--with-lapack=' '--without-doc' '--with-modify' '--with-matrixops' '--with-partition' '--with-supernodal' '--with-cuda' '--with-cublas-libs=-L/opt/cuda/lib64 -lcublas' '--with-cublas-cflags=-I/opt/cuda/include'
 *   phase-helpers.sh, line  501:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/cholmod-2.0.1'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/cholmod-2.0.1'`.
 * The complete build log is located at '/var/tmp/sci-libs:cholmod-2.0.1:20130105-002547.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-libs/cholmod-2.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/cholmod-2.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/cholmod-2.0.1/work/cholmod-2.0.1_build'
 * S: '/var/tmp/portage/sci-libs/cholmod-2.0.1/work/cholmod-2.0.1'

>>> Failed to emerge sci-libs/cholmod-2.0.1, Log file:

>>>  '/var/tmp/sci-libs:cholmod-2.0.1:20130105-002547.log'
Comment 10 Sébastien Fabbro (RETIRED) gentoo-dev 2014-02-03 17:59:32 UTC
+  03 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> -cholmod-1.7.4.ebuild,
+  -cholmod-2.0.1.ebuild, -files/cholmod-1.7.4-debug.patch:
+  Removed old
+

if with cholmod-2.1.2 those bugs persist, feel free to re-open