Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928928 - <=media-gfx/blender-4.0.2 fails to build with media-libs/openpgl:0/0.6
Summary: <=media-gfx/blender-4.0.2 fails to build with media-libs/openpgl:0/0.6
Status: RESOLVED DUPLICATE of bug 928528
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-08 09:01 UTC by licamla
Modified: 2024-04-08 14:42 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description licamla 2024-04-08 09:01:29 UTC
error message: 
/data/disk1/var/tmp/portage/media-gfx/blender-4.0.2/work/blender-4.0.2/intern/cycles/integrator/path_trace.cpp: In member function ‘void ccl::PathTrace::set_guiding_params(const ccl::GuidingParams&, bool)’:
/data/disk1/var/tmp/portage/media-gfx/blender-4.0.2/work/blender-4.0.2/intern/cycles/integrator/path_trace.cpp:1286:39: error: too few arguments to function ‘void pglFieldArgumentsSetDefaults(PGLFieldArguments&, PGL_SPATIAL_STRUCTURE_TYPE, PGL_DIRECTIONAL_DISTRIBUTION_TYPE, bool, size_t)’
 1286 |           pglFieldArgumentsSetDefaults(
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 1287 |               field_args,
      |               ~~~~~~~~~~~
 1288 |               PGL_SPATIAL_STRUCTURE_TYPE::PGL_SPATIAL_STRUCTURE_KDTREE,
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1289 |               PGL_DIRECTIONAL_DISTRIBUTION_TYPE::PGL_DIRECTIONAL_DISTRIBUTION_PARALLAX_AWARE_VMM);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openpgl/device.h:7,
                 from /usr/include/openpgl/openpgl.h:24,
                 from /usr/include/openpgl/cpp/OpenPGL.h:9,
                 from /data/disk1/var/tmp/portage/media-gfx/blender-4.0.2/work/blender-4.0.2/intern/cycles/integrator/../util/guiding.h:8,
                 from /data/disk1/var/tmp/portage/media-gfx/blender-4.0.2/work/blender-4.0.2/intern/cycles/integrator/../integrator/path_trace.h:16,
                 from /data/disk1/var/tmp/portage/media-gfx/blender-4.0.2/work/blender-4.0.2/intern/cycles/integrator/path_trace.cpp:5:
/usr/include/openpgl/config.h:120:29: note: declared here
  120 | OPENPGL_CORE_INTERFACE void pglFieldArgumentsSetDefaults(PGLFieldArguments &fieldArguments, const PGL_SPATIAL_STRUCTURE_TYPE spatialType, const PGL_DIRECTIONAL_DISTRIBUTION_TYPE directionalType, const bool deterministic, const size_t maxSamplesPerLeaf);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~



mask >=media-libs/openpgl-0.6.0, the emerge will success.

Reproducible: Always




pglFieldArgumentsSetDefaults: Adding two additional parameters deterministic and maxSamplesPerLeaf. (BREAKING API CHANGE) on openpgl 0.6.0
https://github.com/OpenPathGuidingLibrary/openpgl/releases

Blender 4.2 maybe compatible with openpgl 0.6.0
https://projects.blender.org/blender/blender/issues/118455
Comment 1 Paul Zander 2024-04-08 14:42:06 UTC
Please sync and try again. This should have been fixyed with https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f3a9ffe77c2d14976de165515dca8573d8233f5.

*** This bug has been marked as a duplicate of bug 928528 ***