https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298
--- Comment #6 from Charlie Li <vish...@freebsd.org> --- It turns out that on gdbm and tkinter, but not sqlite3, starting 3.12 some internal headers are included unconditionally. In order to use these headers, the Py_BUILD_CORE_MODULE macro has to be set, in addition to including the path in the appropriate setuptools variable. On sqlite3, internal headers are only included conditional to said macro being set, which is why it builds successfully. -- You are receiving this mail because: You are the assignee for the bug.