Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1560284 - wireshark-cli adds apparently unneeded dependency on python2
Summary: wireshark-cli adds apparently unneeded dependency on python2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: wireshark
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Ruprich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: depchain
TreeView+ depends on / blocked
 
Reported: 2018-03-25 15:57 UTC by Matías Zúñiga
Modified: 2018-05-02 12:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-02 12:22:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matías Zúñiga 2018-03-25 15:57:20 UTC
Installing wireshark pulls python2 as a dependency via wireshark-cli.

Searching for why this dependency is necessary i found 2 scripts, wireshark_be.py and wireshark_gen.py installed on site-packages. The only use i could find of these files is within the idl2wrs bash script [1], which is NOT included in the fedora package.

If this is true, and there are not other uses for this python2 code, i think these scripts should not be included, as this adds the python2 dependency.


[1] https://www.wireshark.org/docs/man-pages/idl2wrs.html

Comment 1 Matías Zúñiga 2018-03-25 18:18:00 UTC
Grepping the source code i can confirm that these file are only used in the removed idl2wrs script (and there are other references in documentation and Makefile). 

Looking at other distros, the Arch linux packages don't depend on python2, while the only Debian sub-package with python2 dependency is wireshark-dev, which contains the mentioned files, idl2wrs, and 2 other scripts [1] (also not included by fedora)

[1] https://packages.debian.org/sid/amd64/wireshark-dev/filelist

Comment 2 Michal Ruprich 2018-05-02 12:22:41 UTC
Fixed in current rawhide version.


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