Bug 1394626 - Excessive new dependencies
Summary: Excessive new dependencies
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 24
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Rashid Khan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-14 05:24 UTC by poma
Modified: 2017-08-08 19:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 19:15:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1404328 0 unspecified CLOSED Reintroduce Firewall GTK+ Applet 2021-02-22 00:41:40 UTC

Internal Links: 1404328

Description poma 2016-11-14 05:24:46 UTC
# dnf update firewalld
Last metadata expiration check: ...
Dependencies resolved.
================================================================================
 Package                        Arch      Version              Repository  Size
================================================================================
Installing:
 double-conversion              x86_64    2.0.1-7.fc24         fedora      43 k
 gstreamer1-plugins-bad-free    x86_64    1.8.3-1.fc24         updates    1.8 M
 libdvdnav                      x86_64    5.0.3-4.fc24         fedora      59 k
 libsrtp                        x86_64    1.5.4-3.fc24         fedora     289 k
 openal-soft                    x86_64    1.17.2-2.fc24        fedora     337 k
 python-qt5-rpm-macros          noarch    5.6-4.fc24           updates     13 k
 python3-qt5                    x86_64    5.6-4.fc24           updates    4.0 M
 python3-sip                    x86_64    4.18-2.fc24          updates    126 k
 qt5-qtconnectivity             x86_64    5.6.1-2.fc24         updates    399 k
 qt5-qtdeclarative              x86_64    5.6.1-5.fc24         updates    4.2 M
 qt5-qtenginio                  x86_64    1:1.6.1-2.fc24       updates    173 k
 qt5-qtlocation                 x86_64    5.6.1-2.fc24         updates    726 k
 qt5-qtmultimedia               x86_64    5.6.1-3.fc24         updates    789 k
 qt5-qtsensors                  x86_64    5.6.1-2.fc24         updates    196 k
 qt5-qtserialport               x86_64    5.6.1-1.fc24         updates     66 k
 qt5-qttools-common             noarch    5.6.1-2.fc24         updates     25 k
 qt5-qttools-libs-clucene       x86_64    5.6.1-2.fc24         updates     50 k
 qt5-qttools-libs-designer      x86_64    5.6.1-2.fc24         updates    2.7 M
 qt5-qttools-libs-help          x86_64    5.6.1-2.fc24         updates    219 k
 qt5-qtwebchannel               x86_64    5.6.1-2.fc24         updates     84 k
 qt5-qtwebsockets               x86_64    5.6.1-2.fc24         updates     82 k
 qt5-qtx11extras                x86_64    5.6.1-2.fc24         updates     29 k
 qt5-qtxmlpatterns              x86_64    5.6.1-1.fc24         updates    1.1 M
 soundtouch                     x86_64    1.9.2-3.fc24         fedora      71 k
Upgrading:
 firewall-applet                noarch    0.4.4.1-1.fc24       updates    118 k
 firewall-config                noarch    0.4.4.1-1.fc24       updates    152 k
 firewalld                      noarch    0.4.4.1-1.fc24       updates    448 k
 firewalld-filesystem           noarch    0.4.4.1-1.fc24       updates     67 k
 python3-firewall               noarch    0.4.4.1-1.fc24       updates    349 k

Transaction Summary
================================================================================
Install  24 Packages
Upgrade   5 Packages

Total download size: 19 M
Is this ok [y/N]: N
Operation aborted.


# dnf info qt5-qtserialport.x86_64 qt5-qtsensors.x86_64 qt5-qtmultimedia.x86_64 python3-sipx86_64. openal-soft.x86_64 libsrtp.x86_64 libdvdnav.x86_64 gstreamer1-plugins-bad-free.x86_64
Last metadata expiration check: ...
Available Packages
Name        : gstreamer1-plugins-bad-free
Arch        : x86_64
Epoch       : 0
Version     : 1.8.3
Release     : 1.fc24
Size        : 1.8 M
Repo        : updates
Summary     : GStreamer streaming media framework "bad" plugins
URL         : http://gstreamer.freedesktop.org/
License     : LGPLv2+ and LGPLv2
Description : GStreamer is a streaming media framework, based on graphs of elements which
            : operate on media data.
            : 
            : This package contains plug-ins that aren't tested well enough, or the code
            : is not of good enough quality.

Name        : libdvdnav
Arch        : x86_64
Epoch       : 0
Version     : 5.0.3
Release     : 4.fc24
Size        : 59 k
Repo        : fedora
Summary     : A library for reading DVD video discs based on Ogle code
URL         : http://dvdnav.mplayerhq.hu/
License     : GPLv2+
Description : libdvdnav provides a simple library for reading DVD video discs.
            : The code is based on Ogle and used in, among others, the Xine dvdnav plug-in.

Name        : libsrtp
Arch        : x86_64
Epoch       : 0
Version     : 1.5.4
Release     : 3.fc24
Size        : 289 k
Repo        : fedora
Summary     : An implementation of the Secure Real-time Transport Protocol (SRTP)
URL         : https://github.com/cisco/libsrtp
License     : BSD
Description : This package provides an implementation of the Secure Real-time
            : Transport Protocol (SRTP), the Universal Security Transform (UST), and
            : a supporting cryptographic kernel.

Name        : openal-soft
Arch        : x86_64
Epoch       : 0
Version     : 1.17.2
Release     : 2.fc24
Size        : 337 k
Repo        : fedora
Summary     : Open Audio Library
URL         : http://kcat.strangesoft.net/openal.html
License     : LGPLv2+
Description : OpenAL Soft is a cross-platform software implementation of the OpenAL 3D
            : audio API. It's built off of the open-sourced Windows version available
            : originally from the SVN repository at openal.org. OpenAL provides
            : capabilities for playing audio in a virtual 3d environment. Distance
            : attenuation, doppler shift, and directional sound emitters are among
            : the features handled by the API. More advanced effects, including air
            : absorption, low-pass filters, and reverb, are available through the
            : EFX extension. It also facilitates streaming audio, multi-channel buffers,
            : and audio capture.

Name        : qt5-qtmultimedia
Arch        : x86_64
Epoch       : 0
Version     : 5.6.1
Release     : 3.fc24
Size        : 789 k
Repo        : updates
Summary     : Qt5 - Multimedia support
URL         : http://www.qt.io
License     : LGPLv2 with exceptions or GPLv3 with exceptions
Description : The Qt Multimedia module provides a rich feature set that enables you to
            : easily take advantage of a platforms multimedia capabilites and hardware.
            : This ranges from the playback and recording of audio and video content to
            : the use of available devices like cameras and radios.

Name        : qt5-qtsensors
Arch        : x86_64
Epoch       : 0
Version     : 5.6.1
Release     : 2.fc24
Size        : 196 k
Repo        : updates
Summary     : Qt5 - Sensors component
URL         : http://www.qt.io/
License     : LGPLv2 with exceptions or GPLv3 with exceptions
Description : The Qt Sensors API provides access to sensor hardware via QML and C++
            : interfaces.  The Qt Sensors API also provides a motion gesture recognition
            : API for devices.

Name        : qt5-qtserialport
Arch        : x86_64
Epoch       : 0
Version     : 5.6.1
Release     : 1.fc24
Size        : 66 k
Repo        : updates
Summary     : Qt5 - SerialPort component
URL         : http://www.qt.io
License     : LGPLv2 with exceptions or GPLv3 with exceptions
Description : Qt Serial Port provides the basic functionality, which includes configuring,
            : I/O operations, getting and setting the control signals of the RS-232 pinouts.


Is not this a little too much?

Comment 1 Dominik 'Rathann' Mierzejewski 2016-11-14 12:38:40 UTC
Seconded, switching from qt4 to qt5 in the middle of a stable release lifecycle is contrary to https://fedoraproject.org/wiki/Updates_Policy . There was no justification provided for changing user experience and the extra dependencies.

Comment 2 poma 2016-11-19 19:17:56 UTC
= Analysis

# dnf install firewall-applet
...
Dependencies resolved.
===========================================================================
 Package                       Arch     Version            Repository
                                                                      Size
===========================================================================
Installing:
 double-conversion             x86_64   2.0.1-7.fc24       fedora     43 k
 firewall-applet               noarch   0.4.4.1-1.fc24     updates   118 k
 gstreamer1-plugins-bad-free   x86_64   1.8.3-1.fc24       updates   1.8 M
 libdvdnav                     x86_64   5.0.3-4.fc24       fedora     59 k
 libsrtp                       x86_64   1.5.4-3.fc24       fedora    289 k
 openal-soft                   x86_64   1.17.2-2.fc24      fedora    337 k
 python-qt5-rpm-macros         noarch   5.6-4.fc24         updates    13 k
 python3-qt5                   x86_64   5.6-4.fc24         updates   4.0 M
 python3-sip                   x86_64   4.18-2.fc24        updates   126 k
 qt5-qtconnectivity            x86_64   5.6.1-2.fc24       updates   399 k
 qt5-qtdeclarative             x86_64   5.6.1-5.fc24       updates   4.2 M
 qt5-qtenginio                 x86_64   1:1.6.1-2.fc24     updates   173 k
 qt5-qtlocation                x86_64   5.6.1-2.fc24       updates   726 k
 qt5-qtmultimedia              x86_64   5.6.1-3.fc24       updates   789 k
 qt5-qtsensors                 x86_64   5.6.1-2.fc24       updates   196 k
 qt5-qtserialport              x86_64   5.6.1-1.fc24       updates    66 k
 qt5-qttools-common            noarch   5.6.1-2.fc24       updates    25 k
 qt5-qttools-libs-clucene      x86_64   5.6.1-2.fc24       updates    50 k
 qt5-qttools-libs-designer     x86_64   5.6.1-2.fc24       updates   2.7 M
 qt5-qttools-libs-help         x86_64   5.6.1-2.fc24       updates   219 k
 qt5-qtwebchannel              x86_64   5.6.1-2.fc24       updates    84 k
 qt5-qtwebsockets              x86_64   5.6.1-2.fc24       updates    82 k
 qt5-qtx11extras               x86_64   5.6.1-2.fc24       updates    29 k
 qt5-qtxmlpatterns             x86_64   5.6.1-1.fc24       updates   1.1 M
 soundtouch                    x86_64   1.9.2-3.fc24       fedora     71 k

Transaction Summary
===========================================================================
Install  25 Packages

Total download size: 18 M
Installed size: 63 M
Is this ok [y/N]: N
Operation aborted.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# dnf download firewall-applet
...
firewall-applet-0.4.4.1-1.fc24.noarch.rpm ...

# rpm -iv firewall-applet-0.4.4.1-1.fc24.noarch.rpm
error: Failed dependencies:
	python3-qt5 is needed by firewall-applet-0.4.4.1-1.fc24.noarch

# rpm -iv firewall-applet-0.4.4.1-1.fc24.noarch.rpm --nodeps
Preparing packages...
firewall-applet-0.4.4.1-1.fc24.noarch

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ firewall-applet
Traceback (most recent call last):
  File "/usr/bin/firewall-applet", line 24, in <module>
    from PyQt5 import QtGui, QtCore, QtWidgets
ImportError: No module named 'PyQt5'

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# dnf download python3-qt5.x86_64
...
python3-qt5-5.6-4.fc24.x86_64.rpm          466 kB/s | 4.0 MB     00:08    

# rpm -iv python3-qt5-5.6-4.fc24.x86_64.rpm 
error: Failed dependencies:
	libEnginio.so.1()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libEnginio.so.1(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Bluetooth.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Bluetooth.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Designer.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Designer.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Help.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Help.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Location.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Location.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Multimedia.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Multimedia.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5MultimediaWidgets.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5MultimediaWidgets.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Nfc.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Nfc.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Positioning.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Positioning.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Qml.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Qml.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Quick.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Quick.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Quick.so.5(Qt_5_PRIVATE_API)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5QuickWidgets.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5QuickWidgets.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Sensors.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5Sensors.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5SerialPort.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5SerialPort.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5WebChannel.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5WebChannel.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5WebSockets.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5WebSockets.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5X11Extras.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5X11Extras.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5XmlPatterns.so.5()(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	libQt5XmlPatterns.so.5(Qt_5)(64bit) is needed by python3-qt5-5.6-4.fc24.x86_64
	python-qt5-rpm-macros = 5.6-4.fc24 is needed by python3-qt5-5.6-4.fc24.x86_64
	python3-sip-api(11) >= 11.3 is needed by python3-qt5-5.6-4.fc24.x86_64

# rpm -iv python3-qt5-5.6-4.fc24.x86_64.rpm --nodeps
Preparing packages...
python3-qt5-5.6-4.fc24.x86_64

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ firewall-applet
Traceback (most recent call last):
  File "/usr/bin/firewall-applet", line 24, in <module>
    from PyQt5 import QtGui, QtCore, QtWidgets
ImportError: No module named 'sip'

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# dnf download python3-sip.x86_64
...
python3-sip-4.18-2.fc24.x86_64.rpm ...

# rpm -iv python3-sip-4.18-2.fc24.x86_64.rpm 
Preparing packages...
python3-sip-4.18-2.fc24.x86_64

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ firewall-applet

~~~~~~~~~~~~~~~~~

= Diagnosis

The applet works with the two actual dependencies:
'python3-qt5' and 'python3-sip';

The problem is the dragging of unnecessary packets by python3-qt5,
-unnecessary- for the applet;

- qt5-qtmultimedia:
     \- gstreamer1-plugins-bad-free
          \- libdvdnav
          \- libsrtp
          \- soundtouch
     \- openal-soft
- qt5-qtmultimedia
- qt5-qtserialport
- qt5-qtsensors
- python-qt5-rpm-macros
- qt5-qtconnectivity
- qt5-qtenginio
- qt5-qtlocation
- qt5-qtwebchannel
- qt5-qtwebsockets
- qt5-qtx11extras
- qt5-qtdeclarative
     \- double-conversion
- qt5-qtxmlpatterns
- qt5-qttools-libs-help
     \- qt5-qttools-libs-clucene
          \- qt5-qttools-common
- qt5-qttools-libs-designer

~~~~~~~~~~~~~~~~~~~~~~~~~~~

= Solution?

Comment 3 poma 2016-11-19 19:23:12 UTC
Please comments.

Comment 4 Rex Dieter 2016-11-19 21:12:12 UTC
Qt5's python bindings are indeed mostly monolithic (currently only largish -webkit and -webengine dependencies are split out).  This is unlikely to change in the near future, as none of the dependencies listed above are overly large to warrant it.

Comment 5 Rex Dieter 2017-04-01 17:50:59 UTC
For posterity, situation has improved since, python-qt5 commit:

%changelog
* Wed Mar 29 2017 Thomas Woerner <twoerner> - 5.8.1-3
- New base sub package to provide QtBase only (RHBZ#1394626)
- New requirement from the main package to the base sub package


Thanks

Comment 6 Fedora End Of Life 2017-07-25 23:52:42 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2017-08-08 19:15:38 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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