Summary: | =app-emulation/wine-1.3.23 fails to build with USE opencl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthew Schultz <mattsch> |
Component: | New packages | Assignee: | Wine Maintainers <wine> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | s.parubochiy |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 395521 | ||
Attachments: |
build.log
environment |
Description
Matthew Schultz
2011-07-05 15:29:40 UTC
Created attachment 279169 [details]
build.log
Created attachment 279171 [details]
environment
nvidia is the only one that provides opencl support right now I don't understand why this bug was closed. Wine fails to build even if nvidia-drivers are installed. Also why is it not possible to disable opencl if nvidia is not enabled in VIDEO_CARDS? you probably need to select nvidia drivers as your opengl provider I just tried again and this time I selected opengl to nvidia and then then emerged wine again and again the compile fails with the same error. Enabling opencl support in wine simply does not work. I would recommend removing the opencl USE flag if you can't fix the issue. If you leave in the USE flag, you should change the dependency to depend on the USE_EXPAND video_cards_nvidia and if it isn't enabled there, then the merge should die. dev-util/nvidia-cuda-toolkit is needed for the headers, so ive added that to the DEPEND string as well (In reply to comment #7) > dev-util/nvidia-cuda-toolkit is needed for the headers, so ive added that to > the DEPEND string as well Did you also modify the ebuild to use USE_EXPAND video_cards_nvidia? once a common opencl DEPEND atom exists, wine can use that. until then, nvidia is the only provider, so nvidia is the only dep in the tree. (In reply to comment #7) > dev-util/nvidia-cuda-toolkit is needed for the headers, so ive added that to > the DEPEND string as well Just to test, I emerged nvidia-cuda-toolkit and then emerged the wine ebuild (no changes) again. It still stops on that same error. Does your change do something more than add that dependency? Perhaps configure needs to be pointed to a directory? (In reply to comment #9) > once a common opencl DEPEND atom exists, wine can use that. until then, nvidia > is the only provider, so nvidia is the only dep in the tree. Should you not at least be warned that opencl will not work unless you have an nvidia card? it's building on my system without any additional changes (In reply to comment #12) > it's building on my system without any additional changes There must be something you have installed that I don't. (In reply to comment #13) > (In reply to comment #12) > > it's building on my system without any additional changes > > There must be something you have installed that I don't. emerge -pv wine nvidia-cuda-toolkit nvidia-drivers These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-util/nvidia-cuda-toolkit-2.3 USE="-debugger -doc -profiler" 0 kB [ebuild R ~] app-emulation/wine-1.3.23 USE="X alsa cups dbus gecko gnutls gsm jpeg lcms mp3 ncurses openal opengl oss perl png samba ssl threads truetype v4l win32 win64 xcomposite xinerama xml -capi -custom-cflags (-esd) -fontconfig -gphoto2 (-gstreamer) (-hal) -jack -ldap -nas (-nls) -opencl -pulseaudio -scanner -test" 0 kB [ebuild R ] x11-drivers/nvidia-drivers-270.41.06 USE="acpi gtk (multilib) -custom-cflags" 0 kB $ echo '#include <CL/opencl.h>' | gcc -E - | grep opencl.h # 1 "/usr/include/CL/opencl.h" 1 3 4 # 42 "/usr/include/CL/opencl.h" 3 4 # 43 "/usr/include/CL/opencl.h" 2 3 4 # 44 "/usr/include/CL/opencl.h" 2 3 4 # 45 "/usr/include/CL/opencl.h" 2 3 4 # 46 "/usr/include/CL/opencl.h" 2 3 4 $ qfile /usr/include/CL/opencl.h dev-util/nvidia-cuda-toolkit (/opt/cuda/include/CL/opencl.h) (In reply to comment #15) > $ echo '#include <CL/opencl.h>' | gcc -E - | grep opencl.h > # 1 "/usr/include/CL/opencl.h" 1 3 4 > # 42 "/usr/include/CL/opencl.h" 3 4 > # 43 "/usr/include/CL/opencl.h" 2 3 4 > # 44 "/usr/include/CL/opencl.h" 2 3 4 > # 45 "/usr/include/CL/opencl.h" 2 3 4 > # 46 "/usr/include/CL/opencl.h" 2 3 4 > > $ qfile /usr/include/CL/opencl.h > dev-util/nvidia-cuda-toolkit (/opt/cuda/include/CL/opencl.h) echo '#include <CL/opencl.h>' | gcc -E - | grep opencl.h <stdin>:1:23: error: CL/opencl.h: No such file or directory equery f nvidia-cuda-toolkit * Searching for nvidia-cuda-toolkit ... * Contents of dev-util/nvidia-cuda-toolkit-2.3: /etc /etc/env.d /etc/env.d/99cuda /opt /opt/cuda /opt/cuda/bin /opt/cuda/bin/bin2c /opt/cuda/bin/cudafe /opt/cuda/bin/cudafe++ /opt/cuda/bin/fatbin /opt/cuda/bin/filehash /opt/cuda/bin/nvcc /opt/cuda/bin/nvcc.profile /opt/cuda/bin/ptxas /opt/cuda/bin/ptxvars.cu /opt/cuda/include /opt/cuda/include/__cudaFatFormat.h /opt/cuda/include/builtin_types.h /opt/cuda/include/channel_descriptor.h /opt/cuda/include/common_functions.h /opt/cuda/include/common_types.h /opt/cuda/include/crt /opt/cuda/include/crt/device_runtime.h /opt/cuda/include/crt/func_macro.h /opt/cuda/include/crt/host_runtime.h /opt/cuda/include/crt/storage_class.h /opt/cuda/include/cuComplex.h /opt/cuda/include/cublas.h /opt/cuda/include/cuda.h /opt/cuda/include/cudaGL.h /opt/cuda/include/cuda_gl_interop.h /opt/cuda/include/cuda_runtime.h /opt/cuda/include/cuda_runtime_api.h /opt/cuda/include/cuda_texture_types.h /opt/cuda/include/cufft.h /opt/cuda/include/device_functions.h /opt/cuda/include/device_launch_parameters.h /opt/cuda/include/device_types.h /opt/cuda/include/driver_functions.h /opt/cuda/include/driver_types.h /opt/cuda/include/host_config.h /opt/cuda/include/host_defines.h /opt/cuda/include/math_constants.h /opt/cuda/include/math_functions.h /opt/cuda/include/math_functions_dbl_ptx1.h /opt/cuda/include/math_functions_dbl_ptx3.h /opt/cuda/include/sm_11_atomic_functions.h /opt/cuda/include/sm_12_atomic_functions.h /opt/cuda/include/sm_13_double_functions.h /opt/cuda/include/texture_fetch_functions.h /opt/cuda/include/texture_types.h /opt/cuda/include/vector_functions.h /opt/cuda/include/vector_types.h /opt/cuda/lib64 /opt/cuda/lib64/libcublas.so -> libcublas.so.2 /opt/cuda/lib64/libcublas.so.2 -> libcublas.so.2.3 /opt/cuda/lib64/libcublas.so.2.3 /opt/cuda/lib64/libcublasemu.so -> libcublasemu.so.2 /opt/cuda/lib64/libcublasemu.so.2 -> libcublasemu.so.2.3 /opt/cuda/lib64/libcublasemu.so.2.3 /opt/cuda/lib64/libcudart.so -> libcudart.so.2 /opt/cuda/lib64/libcudart.so.2 -> libcudart.so.2.3 /opt/cuda/lib64/libcudart.so.2.3 /opt/cuda/lib64/libcufft.so -> libcufft.so.2 /opt/cuda/lib64/libcufft.so.2 -> libcufft.so.2.3 /opt/cuda/lib64/libcufft.so.2.3 /opt/cuda/lib64/libcufftemu.so -> libcufftemu.so.2 /opt/cuda/lib64/libcufftemu.so.2 -> libcufftemu.so.2.3 /opt/cuda/lib64/libcufftemu.so.2.3 ...(man files)... /opt/cuda/open64 /opt/cuda/open64/bin /opt/cuda/open64/bin/nvopencc /opt/cuda/open64/lib /opt/cuda/open64/lib/be /opt/cuda/open64/lib/bec /opt/cuda/open64/lib/gfec /opt/cuda/open64/lib/inline /opt/cuda/src /opt/cuda/src/fortran.c This might have something to do with it: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.2.ebuild?r1=1.1&r2=1.2 I think you should change the dependency to this: >=dev-util/nvidia-cuda-toolkit-3.0[opencl] (In reply to comment #17) > This might have something to do with it: > > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.2.ebuild?r1=1.1&r2=1.2 > > I think you should change the dependency to this: > > >=dev-util/nvidia-cuda-toolkit-3.0[opencl] Just verified that wine builds with my modified dependency on nvidia-cuda-toolkit. that is fine ... ive added that to all the ebuilds now (In reply to comment #19) > that is fine ... ive added that to all the ebuilds now cool thx *** Bug 381277 has been marked as a duplicate of this bug. *** |