hable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local/include -I/usr/local/include/python3.12 -c _gdbmmodule.c -o build/temp.freebsd-15.0-CURRENT-i386-cpython-312/_gdbmmodule.o
_gdbmmodule.c:13:10: fatal error: 'pycore_pyerrors.h' file not found
   13 | #include "pycore_pyerrors.h"        // _PyErr_SetLocaleString()
      |          ^~~~~~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/cc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/databases/py-gdbm