Fedora Account System
Red Hat Associate
Red Hat Customer
To compile wireshark dissectors and plugins out of tree, the config.h used to build the wireshark package is needed. This file is missing from the -devel package. The attached patch fixes this. Reproducible: Always Steps to Reproduce: Try to build a dissector following directions at https://gitlab.com/cw-wireshark-dissectors/opc-ua-pubsub-uadp-dissector#alternative-approach Preperation on Fedora: sudo dnf install wireshark-devel sudo dnf builddep wireshark Actual Results: Build failing due to missing config.h Expected Results: Build failing due to dissector not yet compatible with wireshark-4.6.x :-) Additional Information: Including the config.h in the development package was inspired by the libwireshark-dev from Ubuntu.
Created attachment 2118534 [details] Add config.h to devel package
Created attachment 2118574 [details] Add config.h to devel package
Patch updated to enclose macro in braces.
When looking into the Debian and RPM packaging files of wireshark upstream, I noticed a few more tools that are installed by the respecive dev or devel packages: The tool idl2wrs with backend scripts wireshark_be.py and wireshark_gen.py, the plugin.c creator script make-plugin-reg.py and the asn2wrs.py tool seems to be good candidates. The idl2wrs tool is actually documented in the currently included readme at /usr/share/doc/wireshark-devel/README.idl2wrs. Personally, I only used make-plugin-reg.py to regenerate the plugin.c file of a dissector mentioned. Any thoughts on including these files?
Thanks Ben, sure I'll take a look at the other tools as well. I am doing a rebase now anyway. Regards, Michal Ruprich
Ok the build is almost ready, do you have a chance to test the tools? I only did a basic sanity tests that nothing is missing and the tool runs but I don't have any real examples to test there: https://koji.fedoraproject.org/koji/taskinfo?taskID=143160182 I placed the tools under /usr/libexec/wireshark/pytools Regards, Michal
Hi Michal, I don't have Rawhide running, but I extracted the tools from the wireshark-devel package, tested the plugin generator and checked for the config.h presence. Seems all fine to me. Thanks!
Hi Michal, Would it be possible to start a Fedora 44 build of this updated package?
Hi, sure - https://src.fedoraproject.org/rpms/wireshark/pull-request/119 Regards, Michal
FEDORA-2026-71154797a5 (wireshark-4.6.4-2.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-71154797a5
FEDORA-2026-71154797a5 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-71154797a5` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-71154797a5 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Works fine for me on Fedora 44, thanks!
FEDORA-2026-71154797a5 (wireshark-4.6.4-2.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.