>>> import libssh2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/lib64/python3.11/site-packages/libssh2.cpython-311-x86_64-linux-gnu.so: undefined symbol: PyCObject_FromVoidPtr This shows up during the build as well: src/ssh2.c: In function ‘PyInit_libssh2’: src/ssh2.c:71:24: warning: implicit declaration of function ‘PyCObject_FromVoidPtr’; did you mean ‘PyLong_FromVoidPtr’? [-Wimplicit-function-declaration] 71 | c_api_object = PyCObject_FromVoidPtr((void *)SSH2_API, NULL); | ^~~~~~~~~~~~~~~~~~~~~ | PyLong_FromVoidPtr src/ssh2.c:71:22: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 71 | c_api_object = PyCObject_FromVoidPtr((void *)SSH2_API, NULL); | ^ And even the first build with a supposed Python 3 port (libssh2-python-0.7.1-18.fc27) suffered from this, according to the Koji build logs. The package will stop building once the Fedora compiler no longer accepts implicit function declarations. Given the package is unusable, and no one has noticed in five years, it should probably just be retired.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
Automation has figured out the package is retired in rawhide. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement