Created attachment 562218 [details] build.log When trying to emerge app-emulation/wine-vanilla-3.21, the configure step fails with the following output: > [...] > checking for -lGL... libGL.so.1 > checking for -lGLU... libGLU.so.1 > configure: error: OpenCL development files not found, OpenCL won't be supported. > This is an error since --with-opencl was requested. The config.log shows: > configure:7389: checking OpenCL/opencl.h usability > configure:7389: x86_64-pc-linux-gnu-gcc -m32 -c -march=native -O2 -pipe conftest.c >&5 > conftest.c:55:10: fatal error: OpenCL/opencl.h: No such file or directory > #include <OpenCL/opencl.h> > ^~~~~~~~~~~~~~~~~ > compilation terminated. However, the actual symlink provided by app-eselect/eselect-opencl-1.1.0-r4 (which I've had installed for over half a year now and with which I've successfully emerged previous versions of wine) is /usr/include/CL/opencl.h, which would explain why wine isn't finding this. Output of `eselect opencl list`: > Available OpenCL implementations: > [1] mesa * > [2] ocl-icd Output of `emerge --info wine-vanilla mesa eselect-opencl`: Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.27-r6, 4.15.4-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.15.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-5820K_CPU_@_3.30GHz-with-gentoo-2.6 KiB Mem: 32916196 total, 28836544 free KiB Swap: 8191996 total, 8191996 free Timestamp of repository gentoo: Sat, 19 Jan 2019 00:45:01 +0000 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.30 p5) 2.30.0 ccache version 3.3.4 [disabled] 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.4.8::gentoo, 3.6.5::gentoo dev-util/ccache: 3.3.4-r1::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.38.3-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r4::gentoo sys-devel/gcc: 7.3.0-r3::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: 4.14-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: webrsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sph-local location: /opt/portage-overlay masters: gentoo priority: 0 abendbrot location: /var/lib/layman/abendbrot masters: gentoo priority: 50 anomen location: /var/lib/layman/anomen masters: gentoo priority: 50 gambas-overlay location: /var/lib/layman/gambas-overlay masters: gentoo priority: 50 jorgicio location: /var/lib/layman/jorgicio masters: gentoo priority: 50 lmiphay location: /var/lib/layman/lmiphay masters: gentoo priority: 50 netfab location: /var/lib/layman/netfab masters: gentoo priority: 50 palemoon location: /var/lib/layman/palemoon masters: gentoo priority: 50 pentoo location: /var/lib/layman/pentoo masters: gentoo priority: 50 stuff location: /var/lib/layman/stuff masters: gentoo priority: 50 x11 location: /var/lib/layman/x11 masters: gentoo priority: 50 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/lib64/avfs/extfs /usr/share/gnupg/qualified.txt /var/bind" 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 /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" EMERGE_DEFAULT_OPTS="--ask-enter-invalid --autounmask-keep-masks y" 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-logs distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en-GB" MAKEOPTS="-j13" 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 aacplus acl acpi alsa amd64 amr berkdb bluray bzip2 cairo cdda cddb cdio cdparanoia cli crypt cups cxx dbus dri dts dvd flac fluidsynth fontconfig fortran gdbm gpm gtk ibus iconv icu ipv6 jpeg libnotify libtirpc lzma mad mmx modplug mp3 mtp multilib ncurs es nls nptl ogg opencl opengl openmp pam pcre png qt3support qt5 readline seccomp sound sse sse2 ssl startup-notification svg tcl tcpd theora tk truetype unicode v4l vdpau vim-syntax vorbis vulkan xattr xv xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiix p-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82x x via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon auth n_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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt 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 keyboard mouse" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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" QEMU_SOFTMMU_TARGETS="x86_64 arm i386 mips mipsel ppc sparc" QEMU_USER_TARGETS="aarch64 alpha arm i386 m68k mips mipsel ppc sparc x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nouveau amdgpu radeonsi" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-emulation/wine-vanilla-3.18::gentoo was built with the following: USE="X alsa cups fontconfig gecko gstreamer jpeg lcms mono mp3 ncurses nls opencl opengl pcap perl png realtime ssl threads truetype udev v4l vulkan xcomposite xml -capi -custom-cflags -dos -gphoto2 -gsm -gssapi -kerberos -ldap -netapi -odbc -openal -osmesa -oss -prelink -pulseaudio -run-exes -samba -scanner -sdl (-selinux) -test -udisks -vkd3d -xinerama" ABI_X86="32 64 (-x32)" app-emulation/wine-vanilla-3.19::gentoo was built with the following: USE="X alsa cups fontconfig gecko gstreamer jpeg lcms mono mp3 ncurses nls opencl opengl pcap perl png realtime ssl threads truetype udev v4l vulkan xcomposite xml -capi -custom-cflags -dos -gphoto2 -gsm -gssapi -kerberos -ldap -netapi -odbc -openal -osmesa -oss -prelink -pulseaudio -run-exes -samba -scanner -sdl (-selinux) -test -udisks -vkd3d -xinerama" ABI_X86="32 64 (-x32)" media-libs/mesa-18.2.8::gentoo was built with the following: USE="classic d3d9 dri3 egl gallium gbm gles2 llvm opencl vdpau vulkan xvmc -debug -gles1 -lm_sensors -osmesa -pax_kernel -pic (-selinux) -test -unwind -vaapi -valgrind -wayland -xa" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="nouveau radeonsi (-freedreno) -i915 -i965 (-imx) -intel -r100 -r200 -r300 -r600 -radeon (-vc4) -virgl (-vivante) -vmware" app-eselect/eselect-opencl-1.1.0-r4::gentoo was built with the following: USE="" ABI_X86="(64)"
Created attachment 562220 [details] environment
Created attachment 562222 [details] config.log
Output of `emerge -pqv '=app-emulation/wine-vanilla-3.21::gentoo'`: [ebuild NS ] app-emulation/wine-vanilla-3.21 [3.18, 3.19] USE="X alsa cups fontconfig gecko gstreamer jpeg lcms mono mp3 ncurses nls opencl opengl pcap perl png realtime ssl threads truetype udev v4l vulkan xcomposite xml -capi -custom-cflags -dos -gphoto2 -gsm -gssapi -kerberos -ldap -netapi -odbc -openal -osmesa -oss -prelink -pulseaudio -run-exes -samba -scanner -sdl (-selinux) -test -udisks -vkd3d -xinerama" ABI_X86="32 64 (-x32)"
Wine-vanilla 3.x is no longer supported. Please let me know if you can reproduce this on 4.x
Created attachment 580956 [details] build.log (app-emulation/wine-vanilla-4.11) Sorry for the delay. I just tested and this does indeed still happen with app-emulation/wine-vanilla-4.11. Uploading replacement debug files. I'm getting similar errors on other packages too, including media-video/ffmpeg. Since I'm not seeing any other bugs filed for this (except maybe bug 688410, but that looks like a different file, so potentially a different bug), could it somehow be something related to my setup somehow?
Created attachment 580958 [details] config.log (app-emulation/wine-vanilla-4.11)
Created attachment 580960 [details] environment (app-emulation/wine-vanilla-4.11)
Output of "emerge -pqv '=app-emulation/wine-vanilla-4.11::gentoo'": [ebuild R ] app-emulation/wine-vanilla-4.11 USE="X alsa cups faudio fontconfig gecko gstreamer jpeg lcms mono mp3 ncurses nls opencl* opengl pcap perl png realtime ssl threads truetype udev v4l vulkan xcomposite xml -capi -custom-cflags -dos -gphoto2 -gsm -gssapi -kerberos -ldap -netapi -odbc -openal -osmesa -oss -prelink -pulseaudio -run-exes -samba -scanner -sdl (-selinux) -test -udisks -vkd3d -xinerama" ABI_X86="32 64 (-x32)" (I've been installing wine without the 'opencl' USE flag for now, hence why I have it installed without the flag currently. I enabled it again to test this bug.)
Is this still reproducible?
I've since globally turned off the "opencl" USE flag, so my environment is different than it was when I opened the bug. Under this environment without the global "opencl" USE flag, I cannot reproduce the bug. However, I *also* can't reproduce it with the app-emulation/wine-vanilla-4.11 ebuild from the 'wine' overlay, which is odd as that version (from the gentoo repository at the time) is one of the ones that specifically failed before. The only difference between the ebuilds seems to be that the 'wine' repository version removes the "~x86-fbsd" KEYWORD, so it can't be due to an ebuild change. Maybe the problem occurs when the "opencl" USE flag is set globally? I can't currently investigate this but I will try to set aside some time in order to do so.
Please reopen if you end up being able to repro