On Mon, Aug 7, 2023 at 7:08 PM Jerry James <loganjerry@xxxxxxxxx> wrote: > > On Mon, Aug 7, 2023 at 5:02 PM Sérgio Basto <sergio@xxxxxxxxxx> wrote: > > Error compiling Cython file: > > ------------------------------------------------------------ > > ... > > def set_depth_callback(DevPtr dev, cb): > > global _depth_cb > > if cb is not None: > > _depth_cb = cb > > freenect_set_depth_callback(dev._ptr, depth_cb) > > ^ > > ------------------------------------------------------------ > > /builddir/build/BUILD/libfreenect- > > 0.7.0/wrappers/python/freenect.pyx:351:46: Cannot assign type 'void > > (freenect_device *, void *, uint32_t) except * nogil' to > > 'freenect_depth_cb' > > You probably have to patch that declaration to add "noexcept". See > https://src.fedoraproject.org/rpms/python-pari-jupyter/blob/rawhide/f/python-pari-jupyter-cython3.patch > for an example. If that is the issue, see > https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html#exception-values-and-noexcept > for more information. Thanks for the pointer. I pushed a patch that should resolve the build failure, feel free to rebuild against OpenCV 4.8 Rich _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue