Bug 1911210

Summary: Missing dependency: qt5-qtsvg libQt5Svg.so.5
Product: [Fedora] Fedora Reporter: Eshin Kunishima <ek>
Component: keepassxcAssignee: Germano Massullo <germano.massullo>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 33CC: germano.massullo, nonamedotc, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-29 06:05:31 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:

Description Eshin Kunishima 2020-12-28 07:31:26 UTC
Description of problem:
Keepassxc package requires qt5-qtsvg(libQt5Svg.so.5) but it did not install as dependent package. Currently, if it does not avaiable on system, have to install it manually.

Version-Release number of selected component (if applicable):
keepassxc-2.6.2-2.fc33

How reproducible:

Steps to Reproduce:
1. Install Fedora 33 with "Minimal Install" via Fedora-Server-netinst-x86_64-33-1.2.iso
2. ``sudo dnf groupinstall "Basic Desktop"``
3. ``sudo dnf install gdm``
4. ``sudo systemctl start gdm``
5. ``sudo dnf install keepassxc``
6. ``keepassxc``

Actual results:
keepassxc: error while loading shared libraries: libQt5Svg.so.5: cannot open shared object file: No such file or directory

Expected results:
keepassxc runs normally

Additional info:

[xxx@hatter ~]$ sudo dnf info keepassxc
Last metadata expiration check: 0:04:31 ago on Mon 28 Dec 2020 04:13:46 PM JST.
Installed Packages
Name         : keepassxc
Version      : 2.6.2
Release      : 2.fc33
Architecture : x86_64
Size         : 22 M
Source       : keepassxc-2.6.2-2.fc33.src.rpm
Repository   : @System
From repo    : updates
Summary      : Cross-platform password manager
URL          : http://www.keepassxc.org/
License      : Boost and BSD and CC0 and GPLv3 and LGPLv2 and LGPLv2+ and LGPLv3+ and Public Domain
Description  : KeePassXC is a community fork of KeePassX
             : KeePassXC is an application for people with extremely high demands on secure
             : personal data management.
             : KeePassXC saves many different information e.g. user names, passwords, urls,
             : attachemts and comments in one single database. For a better management
             : user-defined titles and icons can be specified for each single entry.
             : Furthermore the entries are sorted in groups, which are customizable as well.
             : The integrated search function allows to search in a single group or the
             : complete database.
             : KeePassXC offers a little utility for secure password generation. The password
             : generator is very customizable, fast and easy to use. Especially someone who
             : generates passwords frequently will appreciate this feature.
             : The complete database is always encrypted either with AES (alias Rijndael) or
             : Twofish encryption algorithm using a 256 bit key. Therefore the saved
             : information can be considered as quite safe.


[xxx@hatter ~]$ sudo dnf install qt5-qtsvg
Last metadata expiration check: 0:00:17 ago on Mon 28 Dec 2020 04:13:46 PM JST.
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                   Architecture                                           Version                                                       Repository                                               Size
==============================================================================================================================================================================================================================================
Installing:
 qt5-qtsvg                                                 x86_64                                                 5.15.2-2.fc33                                                 updates                                                 186 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install  1 Package

Total download size: 186 k
Installed size: 639 k
Is this ok [y/N]: y
Downloading Packages:
qt5-qtsvg-5.15.2-2.fc33.x86_64.rpm                                                                                                                                                                            611 kB/s | 186 kB     00:00    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                         198 kB/s | 186 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1 
  Installing       : qt5-qtsvg-5.15.2-2.fc33.x86_64                                                                                                                                                                                       1/1 
  Running scriptlet: qt5-qtsvg-5.15.2-2.fc33.x86_64                                                                                                                                                                                       1/1 
  Verifying        : qt5-qtsvg-5.15.2-2.fc33.x86_64                                                                                                                                                                                       1/1 

Installed:
  qt5-qtsvg-5.15.2-2.fc33.x86_64

Comment 1 Rex Dieter 2020-12-28 14:03:22 UTC
rpm -q keepassxc -R | grep Qt5 
libQt5Concurrent.so.5()(64bit)
libQt5Concurrent.so.5(Qt_5)(64bit)
libQt5Core.so.5()(64bit)
libQt5Core.so.5(Qt_5)(64bit)
libQt5Core.so.5(Qt_5.15)(64bit)
libQt5DBus.so.5()(64bit)
libQt5DBus.so.5(Qt_5)(64bit)
libQt5Gui.so.5()(64bit)
libQt5Gui.so.5(Qt_5)(64bit)
libQt5Network.so.5()(64bit)
libQt5Network.so.5(Qt_5)(64bit)
libQt5Svg.so.5()(64bit)
libQt5Svg.so.5(Qt_5)(64bit)
libQt5Widgets.so.5()(64bit)
libQt5Widgets.so.5(Qt_5)(64bit)
libQt5X11Extras.so.5()(64bit)
libQt5X11Extras.so.5(Qt_5)(64bit)


Appears keepassxc already has a proper dependency on libQt5Svg.so.5

Reperter, please do the following to verify something else isn't interfering:

rpm -q --whatprovides 'libQt5Svg.so.5()(64bit)'

Comment 2 Eshin Kunishima 2020-12-29 02:47:31 UTC
Sorry, I forgot about NVIDIA official CUDA repository. I should have reported to NVIDIA.

xxx@hatter ~> rpm -q --whatprovides 'libQt5Svg.so.5()(64bit)'
nsight-compute-2020.3.0-2020.3.0.18-1.x86_64
qt5-qtsvg-5.15.2-2.fc33.x86_64

xxx@hatter ~> rpm -ql nsight-compute-2020.3.0-2020.3.0.18-1.x86_64 | grep 'libQt5Svg.so'
/opt/nvidia/nsight-compute/2020.3.0/host/linux-desktop-glibc_2_11_3-x64/libQt5Svg.so.5

Comment 3 Rex Dieter 2020-12-29 06:05:31 UTC
It's a bug of that 3rd party nsight-compute package.  It claims to provide that library publically, when in fact only includes a private bundled copy.

Report the issue to whoever provides it, that it interferes with distribution packages and causes broken dependencies.