Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684654 - sci-physics/root-6.16.00-r1 USE=cuda - CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CUDA_cublas_device_LIBRARY (ADVANCED)
Summary: sci-physics/root-6.16.00-r1 USE=cuda - CMake Error: The following variables a...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-28 19:10 UTC by Gregory Beauregard
Modified: 2019-10-22 07:52 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,14.95 KB, text/plain)
2019-04-28 19:10 UTC, Gregory Beauregard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory Beauregard 2019-04-28 19:10:21 UTC
Created attachment 574572 [details]
build.log

Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/systemd, gcc-8.2.0, glibc-2.28-r6, 5.0.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-gentoo-2.6
KiB Mem:    16322632 total,   6468756 free
KiB Swap:   20971516 total,  20971516 free
Timestamp of repository gentoo: Sun, 28 Apr 2019 16:30:01 +0000
Head commit of repository gentoo: 3d5e8cafbc84ddad509d424bd6d35c1d4e0c748b
Timestamp of repository steam-overlay: Tue, 23 Apr 2019 00:05:00 +0000
Head commit of repository steam-overlay: 2c640e48cfdbe582ea84ae2ee56e63b2518ff530

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r4::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

Installed sets: @leela-deps, @ranger-plugins
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth bzip2 cairo cjk cli crypt cryptsetup cuda cups cxx dbus dri dts emboss encode exif fam fftw flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg mpris multilib ncurses networkmanager nls nptl nvenc nvidia ogg opencl opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp smp spell ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vulkan wxwidgets x264 xattr xcb xml xv xvid xvmc zlib zsh-completion zstd" ABI_X86="64" 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" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-physics/root-6.16.00-r1::gentoo was built with the following:
USE="X asimage c++11 davix examples fftw fortran gdml gsl ldap minuit opengl python roofit ssl tbb threads tiff tmva unuran xml -R (-aqua) -c++14 -c++17 -cuda -emacs -fits -graphviz -http -jemalloc -kerberos -libcxx -memstat -mysql -odbc -oracle -postgres (-prefix) -pythia6 -pythia8 -qt5 -root7 -shadow -sqlite -table -test -vc -xinetd -xrootd -zeroconf" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5 -python3_7" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7"
Comment 1 Guilherme Amadio gentoo-dev 2019-05-02 08:23:07 UTC
This is a problem with CMake, not ROOT. It happens with the combination of CUDA 10 and CMake less than 3.13. Please update CMake and try again.
Comment 2 Guilherme Amadio gentoo-dev 2019-05-07 06:48:44 UTC
Actually, it happens with CUDA 10.1 and any CMake. I had to downgrade to CUDA 10.0 as a workaround.
Comment 3 Gregory Beauregard 2019-05-08 01:21:25 UTC
(In reply to Guilherme Amadio from comment #2)
> Actually, it happens with CUDA 10.1 and any CMake. I had to downgrade to
> CUDA 10.0 as a workaround.

Ah thanks. Sorry I hadn't had a chance to get back to this and try it sooner. My current work wasn't using TMVA so it wasn't a very big deal yet. Is this still a cmake bug? Is there an upstream bug report?
Comment 4 Guilherme Amadio gentoo-dev 2019-05-08 06:56:10 UTC
I couldn't find an upstream (i.e. CMake) bug for this issue, but many other ML projects are experiencing the same error if you Google it. On the other hand, you can use TMVA without CUDA if you want, just set USE=-cuda for ROOT. Cheers,
Comment 5 Guilherme Amadio gentoo-dev 2019-10-22 07:52:20 UTC
I compile ROOT regularly and have not seen this error in a while, so we can close this bug. Please feel free to reopen if the issue occurs again.