> ~~~
> diff -Naur
> blender-2.93.3-original/source/blender/io/usd/intern/usd_writer_abstract.cc
> blender-2.93.3/source/blender/io/usd/intern/usd_writer_abstract.cc
> ---
> blender-2.93.3-original/source/blender/io/usd/intern/usd_writer_abstract.cc
> 2021-04-20 22:02:39.000000000 -0400
> +++ blender-2.93.3/source/blender/io/usd/intern/usd_writer_abstract.cc
> 2021-08-21 14:06:34.944881162 -0400
> @@ -102,7 +102,9 @@
> shader.CreateInput(usdtokens::metallic,
> pxr::SdfValueTypeNames->Float).Set(material->metallic);
>
> /* Connect the shader and the material together. */
> - usd_material.CreateSurfaceOutput().ConnectToSource(shader,
> usdtokens::surface);
> + usd_material.CreateSurfaceOutput().ConnectToSource(
> + shader.ConnectableAPI(),
> + usdtokens::surface);
>
> return usd_material;
> }
> ~~~
Thanks. The suggested patch successfully worked and I filed it to upstream [1].
I committed the changes to Rawhide branch [2] to facilitate the works. Scratch
build is on the way
https://koji.fedoraproject.org/koji/taskinfo?taskID=74309552
The failure now occurs on
~~~
/builddir/build/BUILD/blender-2.93.3/source/blender/blenkernel/intern/dynamicpaint.c:1901:7:
note: referencing argument 1 of type 'unsigned char *'
/builddir/build/BUILD/blender-2.93.3/source/blender/blenlib/intern/math_color.c:427:
note: in a call to function 'rgba_float_to_uchar'
427 | void rgba_float_to_uchar(unsigned char r_col[4], const float col_f[4])
|
/usr/bin/ld.gold: internal error in format_file_lineno, at dwarf_reader.cc:2278
collect2: error: ld returned 1 exit status
gmake[2]: *** [source/creator/CMakeFiles/blender.dir/build.make:409:
bin/blender] Error 1
~~~~
Reference:
[1] https://developer.blender.org/T90842
[2]
https://src.fedoraproject.org/rpms/blender/c/f133d7a5a9273bcf92bd21f38bc34bf3fbcd2317?branch=rawhide
Luya Tshimbalanga
Fedora Design Suite maintainer
Fedora Design Team
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure