From: Matti V. <mav...@gm...> - 2023-11-29 09:19:04
|
I am attempting to build pycxx-7.1.8 for OpenBSD 7.4-current. I am following the Unix installation guide at: https://cxx.sourceforge.net/ The final line: make -f linux.mak clean test or gmake -f linux.mak clean test in OpenBSD fails to ... TEST: call C++ with Python callback_bad callback_bad with 'callback_args string' Abort trap (core dumped) gmake: *** [linux.mak:86: test] Error 134 Upon inspecting test_simple.py I've noticed that it seems to be linked to raising ValueError, because commenting out line 31: raise ValueError( 'callback_bad error' ) in test_simple.py makes test_simple.py progress to the next test. Now I see: ... TEST: call C++ with Python callback_bad callback_bad with 'callback_args string' FAILED callback_bad None TEST: call C++ with Python callback_raise_simple_error callback_bad with 'callback_args string' Abort trap (core dumped) However, since the Abort traps continue showing, I speculate that this is about something more. Possible reasons: * pycxx-7.1.8 is not compatible with Python 3.10 (or a particular subversion) * something is different in OpenBSD compared to Linux Any ideas? |