Re: [Cython3 need help] Re: mass rebuild for opencv 4.8.0 with soname bump on rawhide
On Mon, Aug 7, 2023 at 7:08 PM Jerry James wrote: > > On Mon, Aug 7, 2023 at 5:02 PM Sérgio Basto 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@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: [Cython3 need help] Re: mass rebuild for opencv 4.8.0 with soname bump on rawhide
On Mon, Aug 7, 2023 at 5:02 PM Sérgio Basto 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. -- Jerry James http://www.jamezone.org/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Cython3 need help] Re: mass rebuild for opencv 4.8.0 with soname bump on rawhide
ok, all expect libfreenect and player rebuilt well (against opencv 4.8.0) [1] libfreenect doesn't build because of cython update to 3.0.0 [2] and player doesn't build because depends on libfreenect . https://koji.fedoraproject.org/koji/taskinfo?taskID=104468120 here is the result of libfreenect-0.7.0-4.fc39 when failed to build Searching on google seems cython3 broke some packages but I can't find a way to fix it. Thank you [1] https://bodhi.fedoraproject.org/updates/FEDORA-2023-7ff489c54c [2] 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' On Sun, 2023-08-06 at 15:38 +0100, Sérgio Basto wrote: > Hi, > I will start a mass rebuild in a side-tag, very soon , the goal is > finish and merge it before the mass branch which is scheduled for 08 > Aug 2023 > > Best regards, > -- > Sérgio M. B. > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > 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@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue -- Sérgio M. B. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
mass rebuild for opencv 4.8.0 with soname bump on rawhide
Hi, I will start a mass rebuild in a side-tag, very soon , the goal is finish and merge it before the mass branch which is scheduled for 08 Aug 2023 Best regards, -- Sérgio M. B. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue