Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: blender-4.2.3 #354482

Closed
radek-stasta opened this issue Nov 8, 2024 · 3 comments
Closed

Build failure: blender-4.2.3 #354482

radek-stasta opened this issue Nov 8, 2024 · 3 comments
Labels
0.kind: build failure A package fails to build

Comments

@radek-stasta
Copy link

Steps To Reproduce

Steps to reproduce the behavior:
Wanted to rebuild switch (nixpkgs unstable)

Build log

error: builder for '/nix/store/6v74dnyyxd0cwgpbgz8c0pz6rw42ak4c-blender-4.2.3.drv' failed with exit code 2;
       last 25 log lines:
       >     inlined from 'void ccl::integrate_surface_direct_light(KernelGlobals, IntegratorState, ShaderData*, const RNGState*) [with unsigned int node_feature_mask = 16778171]' at /build/source/intern/cycles/kernel/../kernel/integrator/shade_surface.h:355:54:
       > /build/source/intern/cycles/kernel/../kernel/integrator/mnee.h:988:43: warning: array subscript 'ccl::ShaderData[0]' is partly outside array bounds of 'ccl::ShaderDataCausticsStorage [1]' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds=-Warray-bounds=8;;]
       >   988 |         ccl_private ShaderClosure *bsdf = &sd_mnee->closure[ci];
       >       |                                           ^~~~~~~~~~~~~~~~~~~~~
       > /build/source/intern/cycles/kernel/../kernel/integrator/shade_surface.h: In function 'void ccl::integrate_surface_direct_light(KernelGlobals, IntegratorState, ShaderData*, const RNGState*) [with unsigned int node_feature_mask = 16778171]':
       > /build/source/intern/cycles/kernel/../kernel/integrator/shade_surface.h:334:29: note: object 'emission_sd_storage' of size 720
       >   334 |   ShaderDataCausticsStorage emission_sd_storage;
       >       |                             ^~~~~~~~~~~~~~~~~~~
       > In file included from /build/source/intern/cycles/kernel/../kernel/types.h:31,
       >                  from /build/source/intern/cycles/kernel/../kernel/device/cpu/kernel.h:12:
       > In function 'int ccl::kernel_path_mnee_sample(KernelGlobals, IntegratorState, ShaderData*, ShaderData*, const RNGState*, LightSample*, BsdfEval*)',
       >     inlined from 'void ccl::integrate_surface_direct_light(KernelGlobals, IntegratorState, ShaderData*, const RNGState*) [with unsigned int node_feature_mask = 16778171]' at /build/source/intern/cycles/kernel/../kernel/integrator/shade_surface.h:355:54:
       > /build/source/intern/cycles/kernel/../kernel/integrator/mnee.h:989:41: warning: array subscript 'ccl::ShaderData[0]' is partly outside array bounds of 'ccl::ShaderDataCausticsStorage [1]' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds=-Warray-bounds=8;;]
       >   989 |         if (CLOSURE_IS_REFRACTION(bsdf->type) || CLOSURE_IS_GLASS(bsdf->type)) {
       >       |                                   ~~~~~~^~~~
       > /build/source/intern/cycles/kernel/../kernel/svm/types.h:505:4: note: in definition of macro 'CLOSURE_IS_REFRACTION'
       >   505 |   (type >= CLOSURE_BSDF_MICROFACET_BECKMANN_REFRACTION_ID && \
       >       |    ^~~~
       > /build/source/intern/cycles/kernel/../kernel/integrator/shade_surface.h: In function 'void ccl::integrate_surface_direct_light(KernelGlobals, IntegratorState, ShaderData*, const RNGState*) [with unsigned int node_feature_mask = 16778171]':
       > /build/source/intern/cycles/kernel/../kernel/integrator/shade_surface.h:334:29: note: object 'emission_sd_storage' of size 720
       >   334 |   ShaderDataCausticsStorage emission_sd_storage;
       >       |                             ^~~~~~~~~~~~~~~~~~~
       > [ 17%] Linking CXX static library ../../../lib/libcycles_kernel.a
       > [ 17%] Built target cycles_kernel
       > make: *** [Makefile:166: all] Error 2
       For full logs, run 'nix log /nix/store/6v74dnyyxd0cwgpbgz8c0pz6rw42ak4c-blender-4.2.3.drv'.
error: 1 dependencies of derivation '/nix/store/cj0kq8q436ibci2bvfc8i75j061arfbg-blender-4.2.3-fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/b9w84spgrxj1j31nh231vd87f207r6sn-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/iscidp7xbiqmk5vr58f1l60578w9lm1v-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d1x3iarvjjky7d4gm44v3qvhm5xxj9ga-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jq0swc76yjbxm4x6gyamzh4r8izz138q-unit-home-manager-rstasta.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hmzwxr93lz75y7sm08zx0rl284p02ksv-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d75d68rq1h4b0fxv57j4iq4cpjh83vvm-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/g7wzwzia585k8v9c3ql3fiiy17pagxrp-nixos-system-nixos-24.11.20241105.4aa3656.drv' failed to build
@radek-stasta radek-stasta added the 0.kind: build failure A package fails to build label Nov 8, 2024
@devurandom
Copy link
Contributor

Error is:

In file included from /build/source/intern/cycles/scene/image.cpp:9:
/build/source/intern/cycles/scene/../scene/image_vdb.h:12:12: fatal error: nanovdb/util/GridHandle.h: No such file or directory
   12 | #  include <nanovdb/util/GridHandle.h>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [intern/cycles/scene/CMakeFiles/cycles_scene.dir/build.make:286: intern/cycles/scene/CMakeFiles/cycles_scene.dir/image.cpp.o] Error 1

@quickdudley
Copy link

While it's expected that unstable would occasionally have build failures it's a bit concerning that the last snapshot that could build Blender was over a week ago.

@radek-stasta
Copy link
Author

It is okay for me now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

3 participants