Bug 1002517

Summary: Header files are unusable due to referencing non-existant ws_symbol_export.h file
Product: [Fedora] Fedora Reporter: Daniel Berrangé <berrange>
Component: wiresharkAssignee: Peter Hatina <phatina>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: huzaifas, lemenkov, phatina, rvokal, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-05 15:11:47 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 Daniel Berrangé 2013-08-29 11:29:09 UTC
Description of problem:
The header files in wireshark-devel reference a file 'ws_symbol_export.h' eg see

$ grep -r  ws_symbol_export.h /usr/include/wireshark/
/usr/include/wireshark/register.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/daintree-sna.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/tnef.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/hcidump.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/snoop.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/dbs-etherwatch.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/cosine.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/eyesdn.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/buffer.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/i4btrace.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/dct3trace.h:#include "ws_symbol_export.h"
/usr/include/wireshark/wiretap/btsnoop.h:#include "ws_symbol_export.h"
...snip...

This header file does not exist anywhere though

 $ find /usr/include/ | grep ws_symbol_export.h
 $  rpm -ql wireshark-devel | grep ws_symbol_export.h
 $

These broken headers make it impossible to compile the libvirt wireshark dissector plugin

Version-Release number of selected component (if applicable):
wireshark-devel-1.10.0-2.fc19.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Try to compile a wireshark dissector using wireshark-devel headers
2.
3.

Actual results:
Fail on non-existant  ws_symbol_export.h header

Expected results:


Additional info:

Comment 1 Daniel Berrangé 2013-08-29 11:46:24 UTC
Looks like ws_symbol_export.h is a new file in the version of wireshark on F19 and the RPM is not copying it to the include dir.

Comment 2 Daniel Berrangé 2013-08-29 11:51:12 UTC
The following change to F19 wireshark.spec fixes the headers

@@ -243,6 +243,7 @@ install -m 644 epan/dfilter/*.h                     "${IDIR}/epan/dfilter"
 install -m 644 epan/dissectors/*.h             "${IDIR}/epan/dissectors"
 install -m 644 wiretap/*.h                     "${IDIR}/wiretap"
 install -m 644 wsutil/*.h                      "${IDIR}/wsutil"
+install -m 644 ws_symbol_export.h              "${IDIR}/"
 
 #      Create pkg-config control file.
 mkdir -p "${RPM_BUILD_ROOT}%{_libdir}/pkgconfig"

Comment 3 Peter Hatina 2013-09-05 15:11:47 UTC

*** This bug has been marked as a duplicate of bug 981366 ***