Bug 2035373

Summary: Please branch and build opencv in epel9
Product: [Fedora] Fedora EPEL Reporter: Troy Dawson <tdawson>
Component: opencvAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: andrew, carl, ewleaver, hhorak, jkucera, jmlich83, jridky, karlthered, kwizart, lfarkas, logans, npettas, panos.asproulis, rakesh.pandit, sergio, trix, viktor.vix.jancik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: opencv-4.6.0-7.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-15 20:39:05 UTC Type: Bug
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: 2034538, 2036755, 2040414, 2070206, 2086176, 2091448, 2130261, 2130270    
Bug Blocks: 2053866, 2100651    

Description Troy Dawson 2021-12-23 19:23:20 UTC
Please branch and build opencv in epel9.

This package was in RHEL8, but it is not in RHEL9, thus we need it built in epel9.

Comment 1 Nicolas Chauvet (kwizart) 2021-12-24 08:49:20 UTC
branch have been created.


Missing BR:
DEBUG util.py:444:  No matching package to install: 'ceres-solver-devel'
DEBUG util.py:444:  No matching package to install: 'coin-or-Clp-devel'
DEBUG util.py:444:  No matching package to install: 'gdal-devel'
DEBUG util.py:444:  No matching package to install: 'gdcm-devel'
DEBUG util.py:444:  No matching package to install: 'gflags-devel'
DEBUG util.py:444:  No matching package to install: 'glog-devel'
DEBUG util.py:444:  No matching package to install: 'hdf5-devel'
DEBUG util.py:444:  No matching package to install: 'libdc1394-devel'
DEBUG util.py:444:  No matching package to install: 'libraw1394-devel'
DEBUG util.py:444:  No matching package to install: 'libucil-devel'
DEBUG util.py:444:  No matching package to install: 'openni-devel'
DEBUG util.py:444:  No matching package to install: 'openni-primesense'
DEBUG util.py:446:  Package pkgconf-pkg-config-1.7.3-9.el9.x86_64 is already installed.
DEBUG util.py:444:  No matching package to install: 'pylint'
DEBUG util.py:444:  No matching package to install: 'python3-beautifulsoup4'
DEBUG util.py:444:  No matching package to install: 'python3-flake8'

I haven't checked thoses that need a branch request over theses that needs an override...
Probably the lib*1394* can be disabled by default..

Comment 2 Nicolas Chauvet (kwizart) 2022-03-30 15:50:12 UTC
Updated list

DEBUG util.py:444:  No matching package to install: 'ceres-solver-devel'
DEBUG util.py:444:  No matching package to install: 'coin-or-Clp-devel'
DEBUG util.py:444:  No matching package to install: 'gdal-devel'
DEBUG util.py:444:  No matching package to install: 'gdcm-devel'
DEBUG util.py:444:  No matching package to install: 'glog-devel'
DEBUG util.py:444:  No matching package to install: 'hdf5-devel'
DEBUG util.py:444:  No matching package to install: 'libucil-devel'
DEBUG util.py:444:  No matching package to install: 'openni-devel'
DEBUG util.py:444:  No matching package to install: 'openni-primesense'
DEBUG util.py:446:  Package pkgconf-pkg-config-1.7.3-9.el9.x86_64 is already installed.
DEBUG util.py:444:  No matching package to install: 'pylint'
DEBUG util.py:444:  No matching package to install: 'python3-flake8'

Comment 3 Sergio Basto 2022-05-31 23:19:01 UTC
*** Bug 2092147 has been marked as a duplicate of this bug. ***

Comment 4 Levente Farkas 2022-07-15 06:32:57 UTC
should have to add CRB repo to the build repos and almost all deps are solved.

Comment 5 Carl George 🤠 2022-07-28 19:10:58 UTC
> DEBUG util.py:444:  No matching package to install: 'pylint'
> DEBUG util.py:444:  No matching package to install: 'python3-flake8'

Ideally these two dependencies should be patched out in both Fedora and EPEL, per the Python guidelines.

https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters

Comment 6 Carl George 🤠 2022-07-28 19:15:00 UTC
*** Bug 2099886 has been marked as a duplicate of this bug. ***

Comment 7 Sergio Basto 2022-08-05 15:03:57 UTC
(In reply to Carl George 🤠 from comment #5)
> > DEBUG util.py:444:  No matching package to install: 'pylint'
> > DEBUG util.py:444:  No matching package to install: 'python3-flake8'
> 
> Ideally these two dependencies should be patched out in both Fedora and
> EPEL, per the Python guidelines.
> 
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters

guidelines says : "Linters" - In %check, packages SHOULD NOT run "linters" , and in opencv we don't run linters in %check , so we follow the guidelines .

but we can disable pylint and python3-flake8 on epel9

Comment 8 Tom Rix 2022-09-30 23:18:20 UTC
https://src.fedoraproject.org/rpms/opencv/pull-request/19
removes coin-or-Clp-devel for RHEL.
I tried to unravel Clp and it looks like it needs most/all of coin-* packages and their dependencies
Since there is an existing build config for clp, i set it to off for rhel

Here my scratch build for rawhide
https://koji.fedoraproject.org/koji/taskinfo?taskID=92444748

with this change and other in-progress epel 9 packages, I can do a manual build on RHEL 9 with no other changes to the rawhide spec file.

Comment 9 Fedora Update System 2022-10-08 15:45:09 UTC
FEDORA-EPEL-2022-83264100d2 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-83264100d2

Comment 10 Fedora Update System 2022-10-08 16:50:51 UTC
FEDORA-EPEL-2022-83264100d2 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-83264100d2

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

Comment 11 Fedora Update System 2022-10-15 20:39:05 UTC
FEDORA-EPEL-2022-83264100d2 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.