Bug 746655 - Devel subpackage no longer working
Summary: Devel subpackage no longer working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wireshark
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Safranek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-17 12:35 UTC by Patrick Monnerat
Modified: 2011-11-14 22:23 UTC (History)
3 users (show)

Fixed In Version: wireshark-1.6.3-1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-14 22:23:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Updated spec file for the target release. (23.04 KB, text/plain)
2011-10-17 12:35 UTC, Patrick Monnerat
no flags Details
Updated autoconf macros for the target release (2.93 KB, text/plain)
2011-10-17 12:36 UTC, Patrick Monnerat
no flags Details

Description Patrick Monnerat 2011-10-17 12:35:00 UTC
Created attachment 528522 [details]
Updated spec file for the target release.

Description of problem:
A new parameter WS_MSVC_NORETURN has been introduced in the config.h file of the latest versions, causing the debug package to always fail. In the autoconf and pkgconfig files of the devel subpackages, config.h is not used, thus parameters need be specified as -D... in the CFLAGS: this new parameter must then be introduced in those files.

Version-Release number of selected component (if applicable):
1.6.2-1

How reproducible:
Always

Steps to Reproduce:
1. Install package wireshark-devel
2. Try "autoconf; ./configure" with a configure.ac file containing the statement:
   AM_PATH_WIRESHARK(,,
        AC_MSG_ERROR([Wireshark development environment not found]))

Actual results:
Wireshark development environment not found

Expected results:
checking for wireshark version >= 0.0.0... yes

Additional info:
Please find in attachment:
- The updated spec file (without version/release/changelog changes).
- The updated wireshark-autoconf.m4 file

Comment 1 Patrick Monnerat 2011-10-17 12:36:18 UTC
Created attachment 528523 [details]
Updated autoconf macros for the target release

Comment 2 Jan Safranek 2011-10-21 14:25:21 UTC
Whole wireshark-devel kind of sucks, upstream does not provide any clue how to package it correctly... I don't like the idea of adding new -D<whatever> to .pc and .m4 files everytime upstream adds new macro to config.h.

But I don't have better solution, so unless I find out something over weekend, I'll blindly change those two files and I'll hope it won't change often.

Comment 3 Patrick Monnerat 2011-10-21 14:40:49 UTC
I totally agree with your opinion :-(

I also had some reflections about it and the only other alternative I can imagine is duplicating the config.h to another (less used) name and include it where necessary... this is only a thought for now and this solution has still to be tried/tuned/tested.

  Another problem related to external modules is the plugin directory name that changes with the wireshark version... but that's another topic!

Have a good week-end: don't think too much!

Comment 4 Fedora Update System 2011-10-24 08:03:05 UTC
wireshark-1.6.2-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/wireshark-1.6.2-3.fc16

Comment 5 Fedora Update System 2011-10-25 03:07:34 UTC
Package wireshark-1.6.2-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing wireshark-1.6.2-3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14886
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-11-02 08:56:27 UTC
wireshark-1.6.3-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/wireshark-1.6.3-1.fc16

Comment 7 Fedora Admin XMLRPC Client 2011-11-04 14:04:21 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Fedora Update System 2011-11-14 22:23:44 UTC
wireshark-1.6.3-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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