Bug 1923783 - Broken dependencies
Summary: Broken dependencies
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: libwebsockets
Version: epel8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1759510
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-01 22:03 UTC by Irina Boverman
Modified: 2022-01-15 22:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-15 22:32:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Irina Boverman 2021-02-01 22:03:24 UTC
Description of problem:
libwebsockets-4.0.1-2.el8.x86_64.rpm requires libuv.so.1()(64bit), but no package provides it

Version-Release number of selected component (if applicable):
4.0.1-2.el8

How reproducible:
100%

Steps to Reproduce:
1.yum install libwebsockets

Error: 
DEBUG util.py:444:   Problem: package libwebsockets-devel-4.0.1-2.el8.x86_64 requires libuv-devel, but none of the providers can be installed
DEBUG util.py:444:    - conflicting requests
DEBUG util.py:444:    - nothing provides libuv.so.1 needed by libuv-devel-1:1.23.1-1.el8.i686
DEBUG util.py:444:    - nothing provides libuv(x86-32) = 1:1.23.1-1.el8 needed by libuv-devel-1:1.23.1-1.el8.i686
DEBUG util.py:444:    - nothing provides libuv(x86-64) = 1:1.23.1-1.el8 needed by libuv-devel-1:1.23.1-1.el8.x86_64

Actual results:


Expected results:


Additional info:

Comment 1 Levent Demirörs 2021-05-05 15:51:31 UTC
The description above states incorrectly "libwebsockets-4.0.1-2.el8.x86_64.rpm requires libuv.so.1()(64bit), but no package provides it". The problem is not with libwebsockets, but with libwebsockets-devel:

Steps to Reproduce:
1. podman run --rm -it registry.access.redhat.com/ubi8/ubi bash
2. dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
3. dnf -y install libwebsockets-devel

Expected results:
libwebsockets-devel and dependencies are installed

Actual results:
Error:
 Problem: package libwebsockets-devel-4.0.1-2.el8.x86_64 requires libuv-devel, but none of the providers can be installed
  - conflicting requests
  - package libuv-devel-1:1.23.1-2.module_el8+8698+518af944.x86_64 is filtered out by modular filtering
  - package libuv-devel-1:1.36.0-3.module_el8+8692+52300fb6.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Is there any other information needed to fix this issue?

Comment 2 Carl George 🤠 2021-05-05 19:27:52 UTC
As described in bug 1759510 comment 34, libuv-devel will be added to the CRB/PowerTools repository in RHEL 8.4.  It's also temporarily available in the CentOS Linux 8 Devel repository to unblock EPEL8 builds that need to link against libuv.  Of course if a package requires libuv-devel directly then end user needs to enable Devel or wait until 8.4.

Comment 3 Levent Demirörs 2021-05-06 06:05:58 UTC
Fabian, Carl, thank you for your replies. That resolves this issue, imo.

Comment 4 Sergey Safarov 2021-06-14 08:06:09 UTC
Just checked via ubi8 docker image

dnf whatprovides \
  --enablerepo=* \
  --disablerepo=*source-rpms \
  --disablerepo=*debug-rpms \
  --disablerepo=*e4s-rpms \
  --disablerepo=*eus-rpms \
  libwebsockets-devel
....

Error: No Matches found

Comment 5 Robert Scheck 2022-01-15 22:32:53 UTC
Yes, works as of RHEL 8.5 as expected:

--- 8< ---
$ dnf install libwebsockets-devel
Updating Subscription Management repositories.
Last metadata expiration check: 2:21:39 ago on Sat Jan 15 21:06:45 2022.
Dependencies resolved.
================================================================================
 Package        Arch   Version          Repository                         Size
================================================================================
Installing:
 libwebsockets-devel
                x86_64 4.0.1-2.el8      epel                              240 k
Installing dependencies:
 libev          x86_64 4.24-6.el8       rhel-8-for-x86_64-appstream-rpms   52 k
 libev-devel    x86_64 4.24-6.el8       rhel-8-for-x86_64-appstream-rpms  104 k
 libuv          x86_64 1:1.41.1-1.el8_4 rhel-8-for-x86_64-appstream-rpms  156 k
 libuv-devel    x86_64 1:1.41.1-1.el8_4 codeready-builder-for-rhel-8-x86_64-rpms
                                                                           37 k
 libwebsockets  x86_64 4.0.1-2.el8      epel                              250 k

Transaction Summary
================================================================================
Install  6 Packages

Total download size: 839 k
Installed size: 2.4 M
Is this ok [y/N]: 
--- 8< ---

However, UBI images are still failing, even while AppStream and CodeReady Builder repositories are enabled by default. However, the broken UBI behaviour needs to be addressed by Red Hat and can not be addressed by EPEL.


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