Mateusz Miku��a changed bug 1094777
What Removed Added
Flags needinfo?(mati865@gmail.com)  

Comment # 2 on bug 1094777 from
> Blender is deliberately packaged to be gpu and cpu agnostic in openSUSE, 

Without cycles headers Blender GPU rendering doesn't work with Nvidia at least.
I cannot test OpenCL because I don't have AMD card but I expect it to fail
because `kernel_compat_opencl.h` was removed as well.

> I'm assuming that this bug is against the source rpm and the output you posted is the result of some form of build command.

First error (with CUDA) happens when Blender tries to build cycles kernel.
Second error with rpmlint is the impact of removing line which breaks cycles
from `blender.spec`, I don't know how to solve it in openSUSE.


> It is impossible to package anything built against cuda due to license issues.

Those headers are property of Blender Foundation and are licensed under Apache
License, Version 2.0.
CUDA is not unnecessary for package building. Blender will build and link
cycles kernel against it on runtime.


> Could you please post the steps to reproduce this bug.

1. Start blender from terminal with command `blender`
2. In Blender open: File->User Preferences (or use Ctrl+Alt+U)
3. Go to System tab and under Cycles Compute Device select CUDA or OpenCL
depending on the GPU
4. Save and exit settings
5. At the centre or top toolbar click list with `Blender Render` selected and
choose `Cycles Render`
6. On the right toolbar change Device from `CPU` to `GPU Compute`
7. Click Render above previously changed Device
8. Look into terminal for errors


You are receiving this mail because: