diff options
| author | Yoann Congal <yoann.congal@smile.fr> | 2026-03-15 23:46:32 +0100 |
|---|---|---|
| committer | Paul Barker <paul@pbarker.dev> | 2026-03-20 09:55:33 +0000 |
| commit | 1aee6e9648661c1e6159127c2b6e4690576020f7 (patch) | |
| tree | c48c9cbe19a2292d550358f65c2b0b090554b4d6 /meta/lib/oeqa/runtime/cases/pam.py | |
| parent | 3a4d4d66ba65d9880e25f8e1a460008cad1f955d (diff) | |
| download | poky-1aee6e9648661c1e6159127c2b6e4690576020f7.tar.gz | |
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>
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/pam.py')
0 files changed, 0 insertions, 0 deletions
