Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706090 - sci-libs/gdal-2.4.1-r1 USE=opencl with empty VIDEO_CARDS or VIDEO_CARDS=i965 - configure: error: --with-opencl requested, but libraries not found! // ld: cannot find -lOpenCL
Summary: sci-libs/gdal-2.4.1-r1 USE=opencl with empty VIDEO_CARDS or VIDEO_CARDS=i965 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 12:09 UTC by Thomas Beutin
Modified: 2020-05-14 20:26 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,138.13 KB, text/plain)
2020-01-22 12:10 UTC, Thomas Beutin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Beutin 2020-01-22 12:09:16 UTC
Trying to install sci-libs/gdal-2.4.1-r1[opencl] pulls virtual/opencl, but w/o any item in VIDEO_CARDS it just failes:
[...]
checking for OpenCL support... checking CL/opencl.h usability... yes           
checking CL/opencl.h presence... yes                                                                                   
checking for CL/opencl.h... yes
checking for clGetPlatformIDs in -lOpenCL... no
configure: error: --with-opencl requested, but libraries not found!
                                                                                                                       
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sci-libs/gdal-2.4.1-r1/work/gdal-2.4.1/config.log
 * ERROR: sci-libs/gdal-2.4.1-r1::gentoo failed (configure phase):
 *   econf failed
 *             


Reproducible: Always




# emerge --info sci-libs/gdal
Portage 2.3.84 (python 3.6.9-final-0, default/linux/amd64/17.0, gcc-9.2.0, glibc-2.29-r7, 5.3.11-gentoo x86_64)
=================================================================
                         System Settings
=================================================================                                                                                                                                                                             System uname: Linux-5.3.11-gentoo-x86_64-AMD_Opteron-tm-_Processor_6386_SE-with-gentoo-2.6
KiB Mem:  1043827344 total,  62066160 free
KiB Swap:  268304380 total, 268206844 free                                                                                                                                                                                                    Timestamp of repository gentoo: Wed, 22 Jan 2020 10:00:01 +0000                                                                                                                                                                               Head commit of repository gentoo: aae66f19a1a1af44ce8dd1aa0f6d25f2081121d9                                                                                                                                                                    sh bash 4.4_p23-r1                                                                                                                                                                                                                            ld GNU ld (Gentoo 2.32 p2) 2.32.0                                                                                                                                                                                                             app-shells/bash:          4.4_p23-r1::gentoo                                                                                                                                                                                                  dev-java/java-config:     2.2.0-r4::gentoo                                                                                                                                                                                                    dev-lang/perl:            5.30.1::gentoo                                                                                                                                                                                                      dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo                                                                                                                                                                                       dev-util/cmake:           3.14.6::gentoo                                                                                                                                                                                                      dev-util/pkgconfig:       0.29.2::gentoo                                                                                                                                                                                                      sys-apps/baselayout:      2.6-r1::gentoo                                                                                                                                                                                                      sys-apps/openrc:          0.42.1::gentoo                                                                                                                                                                                                      sys-apps/sandbox:         2.13::gentoo                                                                                                                                                                                                        sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo                                                                                                                                                                                    sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo                                                                                                                                                                                sys-devel/binutils:       2.32-r1::gentoo                                                                                                                                                                                                     
sys-devel/gcc:            9.2.0-r2::gentoo                                                                                                                                                                                                    
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo                                                                             
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)                                                             
sys-libs/glibc:           2.29-r7::gentoo
Repositories:                                                                                                          
                                                                                                                                                                                                                                              gentoo               
    location: /usr/portage                                                                                             
    sync-type: rsync                                                                                                   
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

barzog-overlay
    location: /var/lib/layman/barzog-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=bdver2 -fomit-frame-pointer -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="-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="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_IE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j128"
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="X509 aac aacplus aalib accounting acl adns aim aio alpn amd64 ansi audit automount autotrace bacula-console bash-completion bcmath bidi bind-mysql bittorrent bzip2 cairo calendar caps ccache cdb cgi chipcard chroot command-args corefonts cpudetection cpulimit cracklib cramfs cron crypt cscope css csv ctype curl curlwrappers customlog cvsgraph cxx cyrus dba dbi dbm dbx device-mapper devmap dhcp djvu dlopen dnsdb ecc emf encode enscript eselect-ldso exif expat fam fastcgi ffmpeg fftw fits flac flash flatfile fontconfig fortran fpm fpx ftp fuse gd gdal gdbm geoip geos gif gmp graphviz gs gzip hardened hardenedphp hdf5 hdri hpn http i18n iconv icq icu idea idled idn imagemagick imap imlib imlib2 inifile innodb ipalias iproute2 ipv6 jabber jbig jpeg jpeg2k json kmod lapack lcms ldap less libtirpc libwww llvm lm_sensors lmtp logrotate logwatch lzma lzo mbox mcal memlimit mgetty mhash milter mime mimencode ming mmap mmx mp3 mpeg mpi mpm-prefork mppe-mppc multilib mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses netboot netcdf netifrc network nfs nls nntp nptl nptlonly numa oav ocaml ocamlopt odbc ogg oggvorbis openexr openmp openrc openssh openssl pam pam_chroot pam_console pam_timestamp pango parse-clocks pcntl pcre pdf pdfkit pdflib perl php pic pie plotutils png posix postfix postgis postgres postscript procmail proj pwdb python qdbm qemu quotas radius raw readline recode reiserfs rmtp romio rpc rrdtool rss sample sasl screen sendfile sendmail sensord session sftp sftplogging shaper shared sharedext sieve simplexml slang slp smartcard smime smp sms smtp snmp snortsam soap sockets socks5 spamassassin spell spl split-usr sql sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 stream subversion svg sysfs syslog sysvipc szip tcpd theora threads tidy tiff tls tokenizer transparent-proxy truetype truetype-fonts type1-fonts udev unicode userlocales utf8 uuid vhosts vim-syntax virtual-users virus-scan vorbis vpx wddx webp withsamplescripts wmf x264 xattr xfs xinetd xls xml xml2 xmlrpc xpm xsl xslt xvid yahoo yaz zlib zstd" ABI_X86="64" APACHE2_MODULES="access http2 auth auth_basic auth_digest authn_default authn_core authn_file authz_core authz_groupfile authz_host authz_user authn_dbm authn_dbd authz_dbd dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile authn_alias authn_anon authz_dbm authz_owner authz_default authz_user auth_digest authz_host alias file_cache echo charset_lite cache disk_cache mem_cache ext_filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires headers usertrack proxy proxy_connect proxy_ftp proxy_html proxy_http info include cgi cgid dav dav_lock dav_fs vhost_alias speling rewrite log_config logio env setenvif mime status substitute autoindex asis negotiation dir imap actions userdir so unique_id version dumpio log_forensic reqtimeout socache_shmcb unixd proxy_fcgi proxy_wstunnel slotmem_shm ratelimit remoteip lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat macro xml2enc brotli cache_socache md proxy_http2 watchdog" APACHE2_MPMS="event" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="cws2fws qt-faststart aviocat ismindex" GRUB_PLATFORMS="pc" KERNEL="linux" NGINX_MODULES_HTTP="access auth_basic auth_request autoindex browser charset dav dav_ext fancyindex fastcgi flv geo geoip gunzip gzip gzip_static headers_more image_filter limit_conn limit_req limit_zone memcached metrics mp4 naxsi proxy push push_stream realip referer rewrite secure_link security split_clients spdy sticky stub_status sub upload upload_progress upstream_check upstream_ip_hash userid xslt" NGINX_MODULES_MAIL="smtp imap pop3" PHP_TARGETS="php7-3" POSTGRES_TARGETS="postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="dummy"
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-libs/gdal-2.4.1-r1::gentoo was built with the following:
USE="armadillo curl fits geos gif gml hdf5 jpeg jpeg2k lzma mysql netcdf odbc ogdi pdf perl png postgres python spatialite sqlite threads webp xls zstd -aux-xml -debug -doc -java (-mdb) -opencl (-oracle)" ABI_X86="(64)" PYTHON_TARGETS="python3_6 (-python3_7)"
CFLAGS="-march=bdver2 -fomit-frame-pointer -O2 -pipe -I/usr/include/tirpc"
CXXFLAGS="-march=bdver2 -fomit-frame-pointer -O2 -pipe -std=c++14 -I/usr/include/tirpc"
Comment 1 Thomas Beutin 2020-01-22 12:09:28 UTC

# emerge --info virtual/opencl                                                                             
Portage 2.3.84 (python 3.6.9-final-0, default/linux/amd64/17.0, gcc-9.2.0, glibc-2.29-r7, 5.3.11-gentoo x86_64)
=================================================================
                         System Settings
=================================================================                                                                                                                                                                             System uname: Linux-5.3.11-gentoo-x86_64-AMD_Opteron-tm-_Processor_6386_SE-with-gentoo-2.6
KiB Mem:  1043827344 total,  62149992 free
KiB Swap:  268304380 total, 268206844 free                                                                                                                                                                                                    Timestamp of repository gentoo: Wed, 22 Jan 2020 10:00:01 +0000                                                                                                                                                                               Head commit of repository gentoo: aae66f19a1a1af44ce8dd1aa0f6d25f2081121d9                                                                                                                                                                    sh bash 4.4_p23-r1                                                                                                                                                                                                                            ld GNU ld (Gentoo 2.32 p2) 2.32.0                                                                                                                                                                                                             app-shells/bash:          4.4_p23-r1::gentoo                                                                                                                                                                                                  dev-java/java-config:     2.2.0-r4::gentoo                                                                                                                                                                                                    dev-lang/perl:            5.30.1::gentoo                                                                                                                                                                                                      dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo                                                                                                                                                                                       dev-util/cmake:           3.14.6::gentoo                                                                                                                                                                                                      dev-util/pkgconfig:       0.29.2::gentoo                                                                                                                                                                                                      sys-apps/baselayout:      2.6-r1::gentoo                                                                                                                                                                                                      sys-apps/openrc:          0.42.1::gentoo                                                                                                                                                                                                      sys-apps/sandbox:         2.13::gentoo                                                                                                                                                                                                        sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo                                                                                                                                                                                    sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo                                                                                                                                                                                sys-devel/binutils:       2.32-r1::gentoo                                                                                                                                                                                                     
sys-devel/gcc:            9.2.0-r2::gentoo                                                                                                                                                                                                    
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo                                                                             
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)                                                             
sys-libs/glibc:           2.29-r7::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-verify-metamanifest: no
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

barzog-overlay
    location: /var/lib/layman/barzog-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.3/ext
-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=bdver2 -fomit-frame-pointer -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="-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 protec
t-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_IE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j128"
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=/.gi
t"
PORTAGE_TMPDIR="/var/tmp"
USE="X509 aac aacplus aalib accounting acl adns aim aio alpn amd64 ansi audit automount autotrace bacula-console bash-completion bcmath bidi bind-mysql bittorrent bzip2 cairo calendar caps ccache cdb cgi chipcard chroot command-args coref
onts cpudetection cpulimit cracklib cramfs cron crypt cscope css csv ctype curl curlwrappers customlog cvsgraph cxx cyrus dba dbi dbm dbx device-mapper devmap dhcp djvu dlopen dnsdb ecc emf encode enscript eselect-ldso exif expat fam fast
cgi ffmpeg fftw fits flac flash flatfile fontconfig fortran fpm fpx ftp fuse gd gdal gdbm geoip geos gif gmp graphviz gs gzip hardened hardenedphp hdf5 hdri hpn http i18n iconv icq icu idea idled idn imagemagick imap imlib imlib2 inifile 
innodb ipalias iproute2 ipv6 jabber jbig jpeg jpeg2k json kmod lapack lcms ldap less libtirpc libwww llvm lm_sensors lmtp logrotate logwatch lzma lzo mbox mcal memlimit mgetty mhash milter mime mimencode ming mmap mmx mp3 mpeg mpi mpm-pre
fork mppe-mppc multilib mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses netboot netcdf netifrc network nfs nls nntp nptl nptlonly numa oav ocaml ocamlopt odbc ogg oggvorbis openexr openmp openrc openssh opens
sl pam pam_chroot pam_console pam_timestamp pango parse-clocks pcntl pcre pdf pdfkit pdflib perl php pic pie plotutils png posix postfix postgis postgres postscript procmail proj pwdb python qdbm qemu quotas radius raw readline recode rei
serfs rmtp romio rpc rrdtool rss sample sasl screen sendfile sendmail sensord session sftp sftplogging shaper shared sharedext sieve simplexml slang slp smartcard smime smp sms smtp snmp snortsam soap sockets socks5 spamassassin spell spl
 split-usr sql sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 stream subversion svg sysfs syslog sysvipc szip tcpd theora threads tidy tiff tls tokenizer transparent-proxy truetype truetype-fonts type1-fonts udev unicode userlo
cales utf8 uuid vhosts vim-syntax virtual-users virus-scan vorbis vpx wddx webp withsamplescripts wmf x264 xattr xfs xinetd xls xml xml2 xmlrpc xpm xsl xslt xvid yahoo yaz zlib zstd" ABI_X86="64" APACHE2_MODULES="access http2 auth auth_ba
sic auth_digest authn_default authn_core authn_file authz_core authz_groupfile authz_host authz_user authn_dbm authn_dbd authz_dbd dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile authn_alias authn_anon authz_dbm auth
z_owner authz_default authz_user auth_digest authz_host alias file_cache echo charset_lite cache disk_cache mem_cache ext_filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires headers usert
rack proxy proxy_connect proxy_ftp proxy_html proxy_http info include cgi cgid dav dav_lock dav_fs vhost_alias speling rewrite log_config logio env setenvif mime status substitute autoindex asis negotiation dir imap actions userdir so uni
que_id version dumpio log_forensic reqtimeout socache_shmcb unixd proxy_fcgi proxy_wstunnel slotmem_shm ratelimit remoteip lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat macro xml2enc brotli cache_socache md
 proxy_http2 watchdog" APACHE2_MPMS="event" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="cws2fws qt-faststart aviocat ismindex" GRUB_
PLATFORMS="pc" KERNEL="linux" NGINX_MODULES_HTTP="access auth_basic auth_request autoindex browser charset dav dav_ext fancyindex fastcgi flv geo geoip gunzip gzip gzip_static headers_more image_filter limit_conn limit_req limit_zone memc
ached metrics mp4 naxsi proxy push push_stream realip referer rewrite secure_link security split_clients spdy sticky stub_status sub upload upload_progress upstream_check upstream_ip_hash userid xslt" NGINX_MODULES_MAIL="smtp imap pop3" P
HP_TARGETS="php7-3" POSTGRES_TARGETS="postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="dummy"
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
=================================================================

virtual/opencl-2::gentoo was built with the following:
USE="" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="-amdgpu -i965 -nvidia"
Comment 2 Thomas Beutin 2020-01-22 12:10:02 UTC
Created attachment 603948 [details]
config.log
Comment 3 Thomas Beutin 2020-01-22 12:24:26 UTC
virtual/opencl VIDEO_CARDS="i965" failes, too. So i changed the subject.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-22 12:24:54 UTC
Perhaps virtual/opencl should set REQUIRED_USE to require at least one VIDEO_CARDS value?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-22 12:26:23 UTC
(In reply to Thomas Beutin from comment #3)
> virtual/opencl VIDEO_CARDS="i965" failes, too. So i changed the subject.

"fails"
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-22 12:27:17 UTC
(In reply to Thomas Beutin from comment #3)
> virtual/opencl VIDEO_CARDS="i965" failes, too. So i changed the subject.

But does it fail the same way?
Comment 7 Thomas Beutin 2020-01-22 13:31:31 UTC
(In reply to Jeroen Roovers from comment #6)
> (In reply to Thomas Beutin from comment #3)
> > virtual/opencl VIDEO_CARDS="i965" failes, too. So i changed the subject.
> 
> But does it fail the same way?

yes:
[...]
checking for OpenCL support... checking CL/opencl.h usability... yes           
checking CL/opencl.h presence... yes                                                                                   
checking for CL/opencl.h... yes
checking for clGetPlatformIDs in -lOpenCL... no
configure: error: --with-opencl requested, but libraries not found!
[...]


Maybe it's related to this:

# eselect opencl list
Available OpenCL implementations:
  (none found)
Comment 8 Thomas Beutin 2020-01-22 13:51:51 UTC
virtual/opencl VIDEO_CARDS="i965 amdgpu" fails, too.
Comment 9 Thomas Beutin 2020-01-23 10:08:48 UTC
(In reply to Jeroen Roovers from comment #6)
> (In reply to Thomas Beutin from comment #3)
> > virtual/opencl VIDEO_CARDS="i965" failes, too. So i changed the subject.
> 
> But does it fail the same way?

it fails the exactly same way with VIDEO_CARDS="amdgpu i965 nvidia", too.
Comment 10 Thomas Beutin 2020-01-23 15:38:10 UTC
After installing either dev-util/intel-ocl-sdk or dev-libs/beignet (or both) it works. I might check dev-libs/intel-neo soon, too.
Comment 11 Thomas Beutin 2020-01-24 10:24:30 UTC
(In reply to Thomas Beutin from comment #10)
> After installing either dev-util/intel-ocl-sdk or dev-libs/beignet (or both)
> it works. I might check dev-libs/intel-neo soon, too.

dev-libs/intel-neo doesn't work - it failes with the very same error.

Interesting observation:

# eselect opencl list
Available OpenCL implementations:
  [1]   ocl-icd *

there is no intel-neo option in the opencl list, but only ocl-icd - which is a separate package: dev-libs/ocl-icd (a dependency of dev-libs/intel-neo).
Comment 12 Matt Turner gentoo-dev 2020-05-14 20:26:48 UTC
With virtual/opencl-3-r1 we've changed things so that we always have an ICD loader that satisfies the virtual. With that in place, it's up to the user to install a package that provides a driver for their particular hardware.

I expect that this should be fixed after updating to virtual/opencl-3-r1.