Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 support and not linking to xwiimote and Python #17

Open
PureTryOut opened this issue Dec 28, 2021 · 0 comments
Open

Python 3 support and not linking to xwiimote and Python #17

PureTryOut opened this issue Dec 28, 2021 · 0 comments

Comments

@PureTryOut
Copy link

This library has several problems, for one missing Python 3 support (Python 2 has been EOL since January this year). However the project builds just fine with Python 3 and doesn't realize it's not using Python 2. The end result is an incompatible package.

Besides, the generated Python library doesn't link against either Python or xwiimote, causing a lot of symbol not found errors.

$ ldd /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so 
        /lib/ld-musl-x86_64.so.1 (0x7f2233a90000)
        libxwiimote.so.2 => /usr/lib/libxwiimote.so.2 (0x7f2233a79000)
        libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f2233a90000)
        libudev.so.1 => /lib/libudev.so.1 (0x7f2233a57000)
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: xwii_iface_get_syspath: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyObject_GetAttr: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyObject_Free: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyUnicode_FromFormat: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyObject_Call: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyImport_AddModule: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyErr_Restore: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: xwii_get_iface_name: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyTuple_SetItem: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyDict_SetItemString: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyErr_SetString: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyUnicode_FromString: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyDict_SetItem: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyLong_FromLong: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyErr_Fetch: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyErr_Occurred: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: _PyObject_New: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyObject_CallFunctionObjArgs: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyObject_IsInstance: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyObject_GetAttrString: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyErr_WriteUnraisable: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyList_SetItem: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyLong_AsUnsignedLong: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyObject_SetAttr: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyInstanceMethod_New: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyCMethod_New: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyModule_AddObject: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyObject_IsTrue: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyDict_New: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyCapsule_GetPointer: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyErr_Clear: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyErr_SetFromErrno: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyList_Append: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyType_Ready: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyList_New: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyUnicode_DecodeUTF8: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyDict_GetItem: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: _Py_Dealloc: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: Py_DecRef: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyModule_GetDict: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyErr_Format: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyBool_FromLong: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyLong_FromVoidPtr: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyType_IsSubtype: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyCapsule_New: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyArg_UnpackTuple: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyCapsule_Import: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyModule_Create2: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyUnicode_AsUTF8String: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyLong_AsLong: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyBytes_AsStringAndSize: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyUnicode_Concat: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyTuple_New: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyLong_FromSize_t: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_IOError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_RuntimeError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: _Py_NoneStruct: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_OverflowError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: _Py_NotImplementedStruct: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_SystemError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_ValueError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_TypeError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_IndexError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_AttributeError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_SyntaxError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyCFunction_Type: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyObject_GenericGetAttr: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyBool_Type: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyType_Type: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_MemoryError: symbol not found
Error relocating /usr/lib/python3.10/site-packages/_xwiimote.cpython-310-x86_64-linux-gnu.so: PyExc_ZeroDivisionError: symbol not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant