Bug 1002517 - Header files are unusable due to referencing non-existant ws_symbol_export.h file
Summary: Header files are unusable due to referencing non-existant ws_symbol_export.h ...
Keywords:
Status: CLOSED DUPLICATE of bug 981366
Alias: None
Product: Fedora
Classification: Fedora
Component: wireshark
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Peter Hatina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-29 11:29 UTC by Daniel Berrangé
Modified: 2016-06-01 01:31 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-05 15:11:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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