On 2025-01-12 10:58, Sérgio Basto wrote:
On Sun, 2025-01-12 at 10:15 -0800, Luya Tshimbalanga wrote:
Hello team, Blender failed to build due to an issue related to Python rules
changes and an additional
  failure from this line:
/builddir/build/BUILD/blender-4.3.2-build/blender-
4.3.2/source/blender/python/gpu/gpu_py_batch.cc:341:7: error: cannot
convert ‘const char*’ to ‘const char* const*’ in initialization

is the gcc safety type warnings that now are error ?

please try %global build_type_safety_c 0

As wrote in "Controlling Type Safety" of
https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md
the default now is 3 , you also mey try %global build_type_safety_c 1
and %global build_type_safety_c 2 .

Best regards,

The error still happens. It seemed triggered after changing

# Change from Python 3.13
sed -i "s/_PyLong_AsInt/PyLong_AsInt/" \
    source/blender/python/generic/py_capi_utils.hh

the issues occurred on

/builddir/build/BUILD/blender-4.3.2-build/blender-4.3.2/source/blender/python/generic/imbuf_py_api.cc: In function ‘PyObject* py_imbuf_resize(Py_ImBuf*, PyObject*, PyObject*)’: /builddir/build/BUILD/blender-4.3.2-build/blender-4.3.2/source/blender/python/generic/imbuf_py_api.cc:102:7: error: cannot convert ‘const char*’ to ‘const char* const*’ in initialization



--
Luya Tshimbalanga
Fedora Design Team
Fedora Design Suite maintainer
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to