Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599216 - net-analyzer/wireshark-2.2.1 missing ws_diag_control.h
Summary: net-analyzer/wireshark-2.2.1 missing ws_diag_control.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-08 15:57 UTC by Anton Bolshakov
Modified: 2016-11-10 18:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2016-11-08 15:57:19 UTC
Hi, I'm testing a plugin SAP plugin for wireshark (not part of Gentoo yet).

The plugin compilation fails with the following message:

>>> /usr/bin/x86_64-pc-linux-gnu-gcc  -Dsap_EXPORTS -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/wireshark -I/var/tmp/portage/net-misc/wireshark-sap-plugin-0.3.1/work/SAP-Dissection-plug-in-for-Wireshark-0.3.1   -DNDEBUG -march=native -O2 -pipe  -fPIC   -o CMakeFiles/sap.dir/src/packet-saprouter.c.o -c /var/tmp/portage/net-misc/wireshark-sap-plugin-0.3.1/work/SAP-Dissection-plug-in-for-Wireshark-0.3.1/src/packet-saprouter.c
In file included from /var/tmp/portage/net-misc/wireshark-sap-plugin-0.3.1/work/wireshark-sap-plugin-0.3.1_build/plugin.c:7:0:
/usr/include/wireshark/config.h:461:29: fatal error: ws_diag_control.h: No such file or directory
 #include <ws_diag_control.h>

I've copied that file manually and it worked.

It looks like it is missing in the "for wsheader in" list of the ebuild.

Similarly redhat fixed the same issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1347869
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-11-10 18:20:06 UTC
Fixed in -r1 and the live ebuild. Thanks.