https://bugzilla.redhat.com/show_bug.cgi?id=2249635
--- Comment #9 from Mamoru TASAKA <mtasaka(a)fedoraproject.org> ---
Fedora 39 and Fedora 40 builds are still underway.
Fedora 38 / 37 builds fail like:
```
/builddir/build/BUILD/blender-4.0.1/intern/cycles/integrator/path_trace_work_cpu.cpp:
In member function 'void
ccl::PathTraceWorkCPU::guiding_push_sample_data_to_global_storage(ccl::KernelGlobalsCPU*,
ccl::IntegratorStateCPU*, float*)':
/builddir/build/BUILD/blender-4.0.1/intern/cycles/integrator/path_trace_work_cpu.cpp:365:66:
error: cannot convert 'const bool' to 'openpgl::cpp::Sampler*'
365 | kg->opgl_path_segment_storage->PrepareSamples(use_mis_weights,
use_direct_light, false);
|
^~~~~~~~~~~~~~~~
| |
| const
bool
In file included from /usr/include/openpgl/cpp/OpenPGL.h:14,
from
/builddir/build/BUILD/blender-4.0.1/intern/cycles/integrator/../util/guiding.h:8,
from
/builddir/build/BUILD/blender-4.0.1/intern/cycles/integrator/../kernel/integrator/state.h:36,
from
/builddir/build/BUILD/blender-4.0.1/intern/cycles/integrator/../integrator/path_trace_work_cpu.h:7,
from
/builddir/build/BUILD/blender-4.0.1/intern/cycles/integrator/path_trace_work_cpu.cpp:5:
/usr/include/openpgl/cpp/PathSegmentStorage.h:177:93: note: initializing
argument 2 of 'size_t openpgl::cpp::PathSegmentStorage::PrepareSamples(const
bool&, openpgl::cpp::Sampler*, bool, bool, bool)'
177 | OPENPGL_INLINE size_t PathSegmentStorage::PrepareSamples(const bool&
splatSamples, Sampler* sampler, const bool useNEEMiWeights, const bool
guideDirectLight, const bool rrAffectsDirectContribution)
|
~~~~~~~~~^~~~~~~
```
Looks like this is because Fedora 38/37 openpgl is too old for blender 4.0.1:
relevant change:
https://github.com/OpenPathGuidingLibrary/openpgl/commit/651b22ca3a30bb0a...
Looks like blender 4.0.1 needs the above openpgl change, which is included in
openpgl 0.5.0, ref:
https://koji.fedoraproject.org/koji/packageinfo?packageID=36426
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2249635
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...