mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-15 04:43:01 +01:00
This regenerates the sip bindings for wxwidgets as part of the build
process, fixing a segfault when using kikit from py3-kikit for
panelization:
0 0x00007ff4a9d551e0 in _PyInterpreterState_GET () at ./Include/internal/pycore_pystate.h:133
1 get_state () at Objects/obmalloc.c:866
2 _PyObject_Free (ctx=<optimized out>, p=0x7ff40fd0e160) at Objects/obmalloc.c:1850
3 0x00007ff40fd2416f in ??? () at /usr/lib/python3.12/site-packages/wx/siplib.cpython-312-x86_64-linux-musl.so
4 0x00007ff4a9cb195b in call_ll_exitfuncs (runtime=0x7ff4aa159ac0 <_PyRuntime>) at Python/pylifecycle.c:2999
5 Py_FinalizeEx () at Python/pylifecycle.c:2005
6 0x00007ff4a9e36488 in Py_Exit (sts=0) at Python/pylifecycle.c:3011
7 0x00007ff4a9e2b759 in handle_system_exit () at Python/pythonrun.c:756
8 0x00007ff4a9e2b5b5 in _PyErr_PrintEx (tstate=0x7ff4aa1c9e38 <_PyRuntime+459640>, set_sys_last_vars=1)
at Python/pythonrun.c:765
9 0x00007ff4a9cbc8ea in PyErr_PrintEx (set_sys_last_vars=1) at Python/pythonrun.c:845
10 PyErr_Print () at Python/pythonrun.c:851
11 _PyRun_SimpleFileObject (fp=<optimized out>, filename=<optimized out>, closeit=<optimized out>, flags=0x7ffcdf91b890)
at Python/pythonrun.c:439
12 0x00007ff4a9e29ee4 in _PyRun_AnyFileObject (fp=0x7ff4a9b2e020, filename=0x7ff4aa2e14f0, closeit=1, flags=0x7ffcdf91b890)
at Python/pythonrun.c:78
13 0x00007ff4a9e23681 in pymain_run_file_obj (program_name=0x7ff4aa2e14b0, filename=0x7ff4aa2e14f0, skip_source_first_line=0)
at Modules/main.c:360
14 pymain_run_file (config=0x7ff4aa16ca18 <_PyRuntime+77656>) at Modules/main.c:379
15 pymain_run_python (exitcode=0x7ffcdf91b864) at Modules/main.c:633
16 Py_RunMain () at Modules/main.c:713
17 0x00007ff4a9ddabd7 in Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:767
18 0x00007ff4aa32c496 in libc_start_main_stage2 (main=0x55a284c2f180 <main>, argc=7, argv=0x7ffcdf91ba18)
at src/env/__libc_start_main.c:95
19 0x000055a284c2f046 in _start ()
12 lines
542 B
Diff
12 lines
542 B
Diff
When regenerating the bindings, bool.cpp is not generated anymore
|
|
--- a/wscript 2023-06-07 03:31:16.000000000 +0200
|
|
+++ b/wscript 2024-09-02 16:31:16.176552571 +0200
|
|
@@ -570,7 +570,6 @@ def build(bld):
|
|
features = 'c cxx cshlib cxxshlib pyext',
|
|
target = makeTargetName(bld, 'siplib'),
|
|
source = ['sip/siplib/apiversions.c',
|
|
- 'sip/siplib/bool.cpp',
|
|
'sip/siplib/descriptors.c',
|
|
'sip/siplib/int_convertors.c',
|
|
'sip/siplib/objmap.c',
|