-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
I've spent some time figuring out what is happening with the last build in the CI.
Sometimes it fails on s390x with the following error:
gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -fPIC -I/usr/local/include -I/usr/include/python3.12 -c /tmp/pip-install-s2pob8k8/pygit2_1d7d43b7be9447819f18c88fe31827d4/src/object.c -o build/temp.linux-s390x-cpython-312/tmp/pip-install-s2pob8k8/pygit2_1d7d43b7be9447819f18c88fe31827d4/src/object.o
/tmp/pip-install-s2pob8k8/pygit2_1d7d43b7be9447819f18c88fe31827d4/src/object.c: In function ‘Object_type_str__get__’:
/tmp/pip-install-s2pob8k8/pygit2_1d7d43b7be9447819f18c88fe31827d4/src/object.c:150:5: warning: ‘Py_FileSystemDefaultEncoding’ is deprecated [-Wdeprecated-declarations]
150 | return to_path(git_object_type2string(Object__type(self)));
| ^~~~~~
In file included from /usr/include/python3.12/Python.h:72,
from /tmp/pip-install-s2pob8k8/pygit2_1d7d43b7be9447819f18c88fe31827d4/src/object.c:29:
/usr/include/python3.12/fileobject.h:22:46: note: declared here
22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-s2pob8k8/pygit2_1d7d43b7be9447819f18c88fe31827d4/src/object.c: In function ‘Object_name__get__’:
/tmp/pip-install-s2pob8k8/pygit2_1d7d43b7be9447819f18c88fe31827d4/src/object.c:170:5: warning: ‘Py_FileSystemDefaultEncoding’ is deprecated [-Wdeprecated-declarations]
170 | return to_path(git_tree_entry_name(self->entry));
| ^~~~~~
/usr/include/python3.12/fileobject.h:22:46: note: declared here
22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
But the build for Python 3.12 on amd64 is fine so it should not be a problem or a difference in Python/gcc settings coming from Fedora. Yes, the Py_FileSystemDefaultEncoding is deprecated in Python 3.12 but why doesn't it cause the same issue on amd64 or with the exact same Python version in the previous builds?
I've tried to compare the list of packages installed in the last two builds and there are only unrelated updates or the ones I don't expect to be troublemakers.
Another problem is that sometimes the job on ppc64le fails with a segfault during the compilation of pygit2 or cffi.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels