On 2023-11-24 12:59, Michael J Gruber wrote:
Luya Tshimbalanga venit, vidit, dixit 2023-11-24 01:45:37:
Hello team,
 Blender 4.0.1 failed to build on both aarch64 and ppc64le on the following lines:
```
/builddir/build/BUILD/blender/intern/cycles/blender/attribute_convert.h:69:44: error: cannot convert ‘ccl::float4’ to ‘float’
   69 |     return color_srgb_to_linear(make_float4(byte_to_float(value[0]),
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                            |
      |                                            ccl::float4
   70 |                                             byte_to_float(value[1]),
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~~
   71 |                                             byte_to_float(value[2]),
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                             byte_to_float(value[3])));
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/blender/intern/cycles/blender/attribute_convert.h:9:
/builddir/build/BUILD/blender/intern/cycles/util/color.h:62:45: note:   initializing argument 1 of ‘float ccl::color_srgb_to_linear(float)’
   62 | ccl_device float color_srgb_to_linear(float c)
      |                                       ~~~~~~^
```
while the previous version 3.6.5 worked as intendedd and x86_64 is unaffected. Could someone running the above architecture addressing the issue please? 
See https://copr.fedorainfracloud.org/coprs/g/designsuite/blender/build/6681752/
Hi Luya,

looks like this one:

https://projects.blender.org/blender/blender/pulls/115098

The backport seems to be this one:

https://projects.blender.org/blender/blender/commit/641b7808f24fa6eae593dd8f093878e4cafc4499

So it will be in 4.0.2.

Cheers,
Michael

Hi Michael,

Thank you for the link. The build is on the way https://koji.fedoraproject.org/koji/taskinfo?taskID=109554123

-- 
Luya Tshimbalanga
Fedora Design Team
Fedora Design Suite maintainer