Bug 2290312 - opencv-4.10.0-kleidicv is available
Summary: opencv-4.10.0-kleidicv is available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: opencv
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nicolas Chauvet (kwizart)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-04 00:48 UTC by Upstream Release Monitoring
Modified: 2024-07-26 14:18 UTC (History)
7 users (show)

Fixed In Version: opencv-4.10.0-1.fc41
Clone Of:
Environment:
Last Closed: 2024-07-26 14:18:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Update to 4.10.0 (#2290312) (1.36 KB, patch)
2024-06-04 00:48 UTC, Upstream Release Monitoring
no flags Details | Diff
Update to 4.10.0-kleidicv (#2290312) (1.39 KB, patch)
2024-07-05 07:37 UTC, Upstream Release Monitoring
no flags Details | Diff

Description Upstream Release Monitoring 2024-06-04 00:48:27 UTC
Releases retrieved: 3.4.17, 3.4.18, 3.4.19, 3.4.20, 4.10.0
Upstream release that is considered latest: 4.10.0
Current version/release in rawhide: 4.9.0-5.fc41
URL: https://opencv.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/6615/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/opencv

Comment 1 Upstream Release Monitoring 2024-06-04 00:48:33 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
Command '['rpmbuild', '-D', '_sourcedir .', '-D', '_topdir .', '-bs', '/var/tmp/thn-e03vdb_z/opencv.spec']' returned non-zero exit status 1.

StdOut:
setting SOURCE_DATE_EPOCH=1717459200
error: Bad file: ./opencv_contrib-clean-4.10.0.tar.gz: No such file or directory
error: Bad file: ./opencv-clean-4.10.0.tar.gz: No such file or directory

RPM build errors:
    Bad file: ./opencv_contrib-clean-4.10.0.tar.gz: No such file or directory
    Bad file: ./opencv-clean-4.10.0.tar.gz: No such file or directory


Traceback:
  File "/usr/local/lib/python3.12/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/hotness/builders/koji.py", line 229, in build
    raise BuilderException(

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 2 Upstream Release Monitoring 2024-06-04 00:48:34 UTC
Created attachment 2036188 [details]
Update to 4.10.0 (#2290312)

Comment 3 Upstream Release Monitoring 2024-07-05 07:37:48 UTC
Releases retrieved: 4.10.0-kleidicv
Upstream release that is considered latest: 4.10.0-kleidicv
Current version/release in rawhide: 4.9.0-7.fc41
URL: https://opencv.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/6615/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/opencv

Comment 4 Upstream Release Monitoring 2024-07-05 07:37:52 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
Command '['rpmbuild', '-D', '_sourcedir .', '-D', '_topdir .', '-bs', '/var/tmp/thn-e4au6rlt/opencv.spec']' returned non-zero exit status 1.

StdOut:
setting SOURCE_DATE_EPOCH=1720137600
error: Bad file: ./opencv_contrib-clean-4.10.0.tar.gz: No such file or directory
error: Bad file: ./opencv-clean-4.10.0.tar.gz: No such file or directory

RPM build errors:
    Bad file: ./opencv_contrib-clean-4.10.0.tar.gz: No such file or directory
    Bad file: ./opencv-clean-4.10.0.tar.gz: No such file or directory


Traceback:
  File "/usr/local/lib/python3.12/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/hotness/builders/koji.py", line 229, in build
    raise BuilderException(

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 5 Upstream Release Monitoring 2024-07-05 07:37:54 UTC
Created attachment 2039076 [details]
Update to 4.10.0-kleidicv (#2290312)

Comment 6 Nicolas Chauvet (kwizart) 2024-07-17 11:00:46 UTC
I've made a koji scratch build for 4.10:
https://koji.fedoraproject.org/koji/taskinfo?taskID=120593922

I'm going to use the sergio/opencv copr to test build deps for f41...

Comment 7 Sergio Basto 2024-07-18 11:21:02 UTC
calculating the deps:
dnf repoquery --disablerepo='*' --enablerepo=rawhide --enablerepo=rpmfusion-{,non}free-rawhide  --available --whatrequires "libopencv*" --qf "%{repoid} %{sourcerpm}" --quiet   | pkgname 
rawhide OpenImageIO
rawhide YafaRay
rawhide caffe
rawhide digikam
rawhide dtkmultimedia
rawhide frei0r-plugins
rawhide gmic
rawhide gstreamer1-plugins-bad-free
rawhide libfreenect
rawhide libopenshot
rawhide mlt
rawhide nomacs
rawhide opencv
rawhide opentoonz
rawhide os-autoinst
rawhide php-facedetect
rawhide player
rawhide psmoveapi
rawhide python-torch
rawhide qimgv
rawhide sdrangel
rawhide simarrange
rawhide siril
rawhide spectacle
rawhide waifu2x-converter-cpp
rpmfusion-free-rawhide lives
rpmfusion-free-rawhide performous
rpmfusion-free-rawhide slowmovideo

Comment 8 Sergio Basto 2024-07-18 11:25:12 UTC
get list_deps.txt with [1] and run mass-copr-fromlist.sh  [2] .

I going to run it . 

[1]
dnf repoquery --disablerepo=* --enablerepo=rawhide --whatrequires 'libopencv*' --source | pkgname > list_deps.txt 

[2]
#!/bin/bash

for i in `cat list_deps.txt`; do
    echo Press enter to build $i or n to skip; read dummy;
    if [[ "$dummy" != "n" ]]; then
        copr build-distgit sergiomb/opencv --name $i --nowait
    fi
done

Comment 9 Nicolas Chauvet (kwizart) 2024-07-19 10:41:50 UTC
I'm not sure why, but something has resubmitted the opencv-4.9 build (because of the mass-rebuilt ?) , so I need to revert and resubmit.
Also I'm not sure if the latest rawhide git we've picked, python-torch was updated to  2.4-rc8 last I've checked... So there is something broken with this process...

Comment 10 Sergio Basto 2024-07-19 11:38:32 UTC
we need remove opencv from list_deps.txt 

dnf repoquery --disablerepo=* --enablerepo=rawhide --whatrequires 'libopencv*' --source | pkgname | grep -v opencv > list_deps.txt 

I start python  but it took more than 5 hours so copr build timed out  ( the default timeout) , I kicked another build with 72 hours of timeout 

yes python-torch , have %if %{with tensorpipe} around Source22 which breaks copr build-distgit  build , I need do create srpm locally

Comment 11 Sergio Basto 2024-07-19 19:16:48 UTC
(In reply to Nicolas Chauvet (kwizart) from comment #9)

> Also I'm not sure if the latest rawhide git we've picked, python-torch was
> updated to  2.4-rc8 last I've checked... So there is something broken with
> this process...


python-torch is building 2.3.1 , to enable 2.4-rc8 you need add --with gitcommit

Comment 12 Sergio Basto 2024-07-19 19:37:08 UTC
this guy of pytorch.org is confused , enable opencv on F41 and disable it with 2.4.0+ 


# OpenCV support came in F41
%if 0%{?fedora} > 40
%if %{without gitcommit}
%bcond_without opencv
%else
# USE_OPENCV removed in 2.4.0+
%bcond_with opencv
%endif
%else
%bcond_with opencv
%endif

Comment 13 Sergio Basto 2024-07-22 23:56:24 UTC
in sergio/opencv copr, except pytorch.org, all others packages built well on rawhide

Comment 14 Fedora Update System 2024-07-26 10:29:47 UTC
FEDORA-2024-4a3548f8dd (caffe-1.0^git20200212.9b89154-13.fc41, digikam-8.4.0-3.fc41, and 21 more) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-4a3548f8dd

Comment 15 Fedora Update System 2024-07-26 14:18:32 UTC
FEDORA-2024-4a3548f8dd (caffe-1.0^git20200212.9b89154-13.fc41, digikam-8.4.0-3.fc41, and 21 more) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.