Bug 2318295

Summary: Please branch and build opencv for EPEL 10
Product: [Fedora] Fedora EPEL Reporter: Xavier Bachelot <xavier>
Component: opencvAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel10CC: carl, hhorak, jkucera, jridky, karlthered, kwizart, sergio, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: opencv-4.10.0-7.el10_0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-23 07:42:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2316152, 2318296, 2318297, 2318298, 2318299, 2318300    
Bug Blocks: 2303880, 2311555    

Description Xavier Bachelot 2024-10-12 10:19:21 UTC
Hi,

Could you please branch and build opencv for EPEL 10 ?
It is needed to build another package.

Regards,
Xavier

Comment 1 Troy Dawson 2024-10-21 21:24:32 UTC
Ping. Can someone branch and build opencv in epel10?
I know that it still needs several dependencies, but could anyone give some indication if they are willing to build it after those dependencies make it into epel10.

If you do not wish to maintain opencv in epel10,
or do not think you will be able to do this in a timely manner,
I would be happy to be a co-maintainer of the package (FAS tdawson);
please add me through https://src.fedoraproject.org/rpms/opencv/adduser

Comment 2 Sergio Basto 2024-10-21 22:02:55 UTC
yes , I'm waiting for some packages, gdal, hdf5  aren't optional, gdcm , openvl , openni are 
and python3-beautifulsoup4 I think it is also optional

Comment 3 Troy Dawson 2024-10-28 14:05:21 UTC
Was openvl supposed to be oneVPL ?
That's what I'm seeing in the spec file and build requirements.

If that is so, oneVPL has been renamed to libvpl.  libvpl is in epel10.
oneVPL needs to be changed to libvpl in the spec file.

Comment 4 Troy Dawson 2024-11-08 20:07:54 UTC
Hi Sergio,
I think we've gotten all the required dependencies, and even the optional dependencies, into epel10.
I think, with bootstrap turned on, opencv can be built in epel10.

Comment 5 Sergio Basto 2024-11-08 23:11:18 UTC
yes openvl , is a typo of oneVPL

Comment 6 Sergio Basto 2024-11-09 14:45:39 UTC
the scratch build opencv without xine-lib and ffmpeg 
https://koji.fedoraproject.org/koji/taskinfo?taskID=125645548

precisely oneVPL is missing on x86_84 ... , I will check later

Comment 7 Troy Dawson 2024-11-09 17:53:43 UTC
Changing oneVPL to libvpl fixes it.
Here is a successful scratch build with just the one change from your srpm.
https://koji.fedoraproject.org/koji/taskinfo?taskID=125672123

-%{?with_libmfx:BuildRequires:  oneVPL-devel}
+%{?with_libmfx:BuildRequires:  libvpl-devel}

Comment 8 Sergio Basto 2024-11-09 18:09:42 UTC
ah ok I see [1] I will propose a PR soon as possible (today maybe)  

[1]
https://src.fedoraproject.org/rpms/oneVPL/c/bbcb41d7b68010f8480fd6e2ee0e54e73f98a333?branch=rawhide

Comment 9 Fedora Update System 2024-11-09 20:40:05 UTC
FEDORA-EPEL-2024-24d55505b5 (opencv-4.10.0-6.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-24d55505b5

Comment 10 Fedora Update System 2024-11-11 04:31:28 UTC
FEDORA-EPEL-2024-24d55505b5 has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-24d55505b5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Xavier Bachelot 2024-11-12 08:07:11 UTC
both ffmpeg and xine-lib have been built , so a non bootstrap build can be done now.

Comment 12 Fedora Update System 2024-11-13 03:19:37 UTC
FEDORA-EPEL-2024-24d55505b5 has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-24d55505b5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Carl George 🤠 2024-11-19 23:18:16 UTC
FYI, I disabled auto-push to stable on that bodhi update, because it shouldn't go to stable until gdal-libs does (which is held up for other dependencies of gdal).  

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-048936c915

When submitting updates to EPEL, please check that all subpackages install to avoid creating problems like this.

Comment 14 Fedora Update System 2024-11-23 07:42:28 UTC
FEDORA-EPEL-2024-24d55505b5 (frei0r-plugins-2.3.3-4.el10_0 and opencv-4.10.0-7.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.