Not sure which is broken yet, but there is an incompatibility between swig and python in openpkg when using C++. I haven't found the patch yet, but debian swig/python works. The process I use is:
g++ -c file.cpp swig -c++ -python file.i g++ -c `python-config --includes` file_wrap.cxx during the compile of the wrapper, I receive the following error always. error: invalid conversion from 'const char*' to 'char*'