glib2 main (2.89.0)
Python 3.10
I'd wish to report this at a new issue (next to https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/189), but my mail address is not getting accepted.
[1/3] Compiling C object gi/_gi.cpython-310-x86_64-linux-gnu.so.p/pygi-async.c.o
FAILED: [code=1] gi/_gi.cpython-310-x86_64-linux-gnu.so.p/pygi-async.c.o
ccache cc -Igi/_gi.cpython-310-x86_64-linux-gnu.so.p -Igi -I../pygobject/gi -Isubprojects/pythoncapi-compat -I../pygobject/subprojects/pythoncapi-compat -I/usr/include/python3.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -fvisibility=hidden -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -fPIC -pthread -DPY_SSIZE_T_CLEAN -Wall -Warray-bounds -Wcast-align -Wconversion -Wduplicated-branches -Wextra -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wrestrict -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wunused-but-set-variable -Wwrite-strings -Wno-missing-field-initializers -Wno-unused-parameter -Wno-discarded-qualifiers -Wno-sign-conversion -Wno-cast-function-type -fno-strict-aliasing -fvisibility=hidden -D_INSIDE_PYGOBJECT_ -MD -MQ gi/_gi.cpython-310-x86_64-linux-gnu.so.p/pygi-async.c.o -MF gi/_gi.cpython-310-x86_64-linux-gnu.so.p/pygi-async.c.o.d -o gi/_gi.cpython-310-x86_64-linux-gnu.so.p/pygi-async.c.o -c ../pygobject/gi/pygi-async.c
In file included from /usr/include/python3.10/Python.h:8,
from ../pygobject/subprojects/pythoncapi-compat/pythoncapi_compat.h:21,
from ../pygobject/gi/pygi-invoke-state-struct.h:4,
from ../pygobject/gi/pygi-cache.h:34,
from ../pygobject/gi/pygi-info.h:22,
from ../pygobject/gi/pygi-async.h:22,
from ../pygobject/gi/pygi-async.c:20:
/usr/include/python3.10/pyconfig.h:1643:9: warning: '_POSIX_C_SOURCE' redefined
1643 | #define _POSIX_C_SOURCE 200809L
| ^~~~~~~~~~~~~~~
../pygobject/gi/pygi-async.c:552:27: error: array type has incomplete element type 'struct PyMemberDef'
552 | static struct PyMemberDef async_members[] = {
| ^~~~~~~~~~~~~
../pygobject/gi/pygi-async.c:552:27: warning: 'async_members' defined but not used [-Wunused-variable]
[2/3] Linking target gi/_gi_cairo.cpython-310-x86_64-linux-gnu.so
One can make the build pass by deleting pygi-async.c out of ./src/pygobject/gi/meson.build
This nevertheless leads to:
/usr/lib/python3.10/site-packages/gi/_gi.cpython-310-x86_64-linux-gnu.so: undefined symbol: pygi_async_finish_cb
glib2 main (2.89.0)
Python 3.10
I'd wish to report this at a new issue (next to https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/189), but my mail address is not getting accepted.
One can make the build pass by deleting pygi-async.c out of ./src/pygobject/gi/meson.build
This nevertheless leads to:
/usr/lib/python3.10/site-packages/gi/_gi.cpython-310-x86_64-linux-gnu.so: undefined symbol: pygi_async_finish_cb