Files
poky/meta/recipes-devtools
Yoann Congal 1aee6e9648 createrepo-c: Fix createrepo-c-native build on GCC14 hosts (e.g. Fedora 41)
This version of createrepo-c does a wrong pointer assignment, and on GCC14[0]
hosts (e.g. Fedora 41), this fails to build with:
  FAILED: src/python/CMakeFiles/_createrepo_c.dir/createrepo_cmodule.c.o
  build/tmp-glibc/hosttools/gcc [...] python/createrepo_cmodule.c
  python/createrepo_cmodule.c:82:41: error: initialization of ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} from incompatible pointer type ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types]
     82 |     {"xml_parse_main_metadata_together",(PyCFunctionWithKeywords)py_xml_parse_main_metadata_together,
        |                                         ^
  src/python/createrepo_cmodule.c:82:41: note: (near initialization for ‘createrepo_c_methods[15].ml_meth’)

Add a patch to fix the pointer assignment. The patched code has since
been removed by upstream.

[0]: https://gcc.gnu.org/gcc-14/porting_to.html#incompatible-pointer-types

(From OE-Core rev: 17b1a1cd097c2bd6d690a3cd44561c2d40844088)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-03-20 09:55:33 +00:00
..
2023-08-26 04:24:02 -10:00
2026-01-26 09:49:25 +00:00
2023-10-05 15:48:49 -10:00
2025-10-24 06:47:19 -07:00
2024-09-16 06:09:56 -07:00
2021-11-25 21:55:10 +00:00
2022-03-16 10:31:40 +00:00
2025-08-29 08:33:33 -07:00
2025-11-24 06:57:39 -08:00
2022-03-16 13:39:12 +00:00
2023-09-08 16:09:41 -10:00
2025-02-05 06:54:35 -08:00
2025-10-31 06:23:13 -07:00
2021-11-03 10:12:42 +00:00
2022-03-24 17:45:29 +00:00
2026-01-02 07:21:42 -08:00
2023-10-05 15:48:49 -10:00
2022-05-25 22:45:50 +01:00
2022-03-23 12:13:49 +00:00
2022-03-11 06:56:01 +00:00
2022-05-25 22:45:50 +01:00
2022-12-01 19:35:05 +00:00
2022-03-20 00:02:22 +00:00
2023-09-08 16:09:41 -10:00
2024-12-02 06:23:20 -08:00
2025-07-30 07:47:48 -07:00
2023-12-22 16:36:55 -10:00
2023-03-23 22:45:33 +00:00
2026-03-20 09:55:33 +00:00
2022-03-02 18:43:24 +00:00
2025-12-31 07:24:54 -08:00
2025-12-01 06:50:49 -08:00
2025-07-18 08:32:26 -07:00
2025-11-06 07:14:05 -08:00