Bug#1037594: blender: ftbfs with GCC-13
Package: src:blender
Version: 3.4.1+dfsg-2
Severity: normal
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/blender_3.4.1+dfsg-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-13/porting_to.html
[...]
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:171:29: note: object ‘emission_sd_storage’ of size 736
171 | ShaderDataCausticsStorage emission_sd_storage;
| ^~~~~~~~~~~~~~~~~~~
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 = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:194:54,
inlined from ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:670:54:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/mnee.h:1024:19: warning: array subscript ‘ccl::ShaderData[0]’ is partly outside array bounds of ‘ccl::ShaderDataCausticsStorage [1]’ [-Warray-bounds=]
1024 | if (bsdf->type == CLOSURE_BSDF_MICROFACET_BECKMANN_REFRACTION_ID ||
| ~~~~~~^~~~
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h: In function ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:171:29: note: object ‘emission_sd_storage’ of size 736
171 | ShaderDataCausticsStorage emission_sd_storage;
| ^~~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:10,
from /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/device/cpu/kernel_arch_impl.h:32:
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 = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:194:54,
inlined from ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:670:54:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/mnee.h:1023:43: warning: array subscript ‘ccl::ShaderData[0]’ is partly outside array bounds of ‘ccl::ShaderDataCausticsStorage [1]’ [-Warray-bounds=]
1023 | ccl_private ShaderClosure *bsdf = &sd_mnee->closure[ci];
| ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h: In function ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:171:29: note: object ‘emission_sd_storage’ of size 736
171 | ShaderDataCausticsStorage emission_sd_storage;
| ^~~~~~~~~~~~~~~~~~~
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 = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:194:54,
inlined from ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:670:54:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/mnee.h:1024:19: warning: array subscript ‘ccl::ShaderData[0]’ is partly outside array bounds of ‘ccl::ShaderDataCausticsStorage [1]’ [-Warray-bounds=]
1024 | if (bsdf->type == CLOSURE_BSDF_MICROFACET_BECKMANN_REFRACTION_ID ||
| ~~~~~~^~~~
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h: In function ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:171:29: note: object ‘emission_sd_storage’ of size 736
171 | ShaderDataCausticsStorage emission_sd_storage;
| ^~~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:10,
from /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/device/cpu/kernel_arch_impl.h:32:
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 = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:194:54,
inlined from ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:670:54:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/mnee.h:1023:43: warning: array subscript ‘ccl::ShaderData[0]’ is partly outside array bounds of ‘ccl::ShaderDataCausticsStorage [1]’ [-Warray-bounds=]
1023 | ccl_private ShaderClosure *bsdf = &sd_mnee->closure[ci];
| ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h: In function ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:171:29: note: object ‘emission_sd_storage’ of size 736
171 | ShaderDataCausticsStorage emission_sd_storage;
| ^~~~~~~~~~~~~~~~~~~
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 = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:194:54,
inlined from ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’ at /<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:670:54:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/mnee.h:1024:19: warning: array subscript ‘ccl::ShaderData[0]’ is partly outside array bounds of ‘ccl::ShaderDataCausticsStorage [1]’ [-Warray-bounds=]
1024 | if (bsdf->type == CLOSURE_BSDF_MICROFACET_BECKMANN_REFRACTION_ID ||
| ~~~~~~^~~~
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h: In function ‘bool ccl::integrate_surface(KernelGlobals, IntegratorState, float*) [with unsigned int node_feature_mask = 33554879]’:
/<<PKGBUILDDIR>>/intern/cycles/kernel/../kernel/integrator/shade_surface.h:171:29: note: object ‘emission_sd_storage’ of size 736
171 | ShaderDataCausticsStorage emission_sd_storage;
| ^~~~~~~~~~~~~~~~~~~
[ 4%] Linking CXX static library ../../../lib/libcycles_kernel.a
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/intern/cycles/kernel && /usr/bin/cmake -P CMakeFiles/cycles_kernel.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/intern/cycles/kernel && /usr/bin/cmake -E cmake_link_script CMakeFiles/cycles_kernel.dir/link.txt --verbose=1
/usr/bin/ar qc ../../../lib/libcycles_kernel.a CMakeFiles/cycles_kernel.dir/device/cpu/kernel.cpp.o CMakeFiles/cycles_kernel.dir/device/cpu/kernel_sse2.cpp.o CMakeFiles/cycles_kernel.dir/device/cpu/kernel_sse3.cpp.o CMakeFiles/cycles_kernel.dir/device/cpu/kernel_sse41.cpp.o CMakeFiles/cycles_kernel.dir/device/cpu/kernel_avx.cpp.o CMakeFiles/cycles_kernel.dir/device/cpu/kernel_avx2.cpp.o CMakeFiles/cycles_kernel.dir/device/hip/kernel.cpp.o
/usr/bin/ranlib ../../../lib/libcycles_kernel.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 4%] Built target cycles_kernel
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:82: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: