| Summary: | wireshark-devel lost all pkg-config dependencies | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Berrangé <berrange> |
| Component: | wireshark | Assignee: | Martin Sehnoutka <msehnout> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | crobinso, huzaifas, lemenkov, msehnout, nenolod, ngompa13, nmavrogi, phatina, rvokal |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | Flags: | msehnout:
needinfo-
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | wireshark-2.2.6-2.fc25 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-05-29 06:01:16 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: | |
|
Description
Daniel Berrangé
2016-12-05 11:02:54 UTC
Any update on fixing this problem Hi, I'm taking this bug and will update you soon. This bug seems to be introduced by one of our patches: http://pkgs.fedoraproject.org/cgit/rpms/wireshark.git/tree/wireshark-0006-Add-pkgconfig-entry.patch?h=f25 We should start using the upstream wireshark.pc file. hello, it is a little more involved than that. while it is true that there is a deviation in the .pc file (which makes very little sense honestly), it is really showing a defect in the rpm dependency generator, which is caused by a design flaw in how pkg-config processes packages. this bug can also be triggered by two split packages from the same source that have a dependency on each other (but pkg-config's dependency resolver will not see the other split package's .pc files, so it will silently fail and not output dependency data). to provide correct behaviour for dependency generators, pkgconf 1.3.2 and later added an environment variable that can be used to limit the depth that the dependency resolver uses, allowing for the dependency resolver to only resolve top-level dependencies (the packages on the command line themselves) for consumers like the rpm dependency generator, which only wants to dump data from the .pc files. with pkgconf 1.3.2 and the pull request at https://github.com/rpm-software-management/rpm/pull/192 the bug is fully resolved. either way, the wireshark .pc file should probably be fixed as well, as there is no reason for wireshark to depend on Qt if it's not in build depends (if it were, the dependency generator would not fail in this way). This bug has been resolved: http://pkgs.fedoraproject.org/cgit/rpms/wireshark.git/commit/?id=3a632b364d874cce40d0b0fd4955e6611ebe1444 Please also backport this to f24/f25 This issue shouldn't affect Fedora 24, but it is definitely an issue in Fedora 25. wireshark-2.2.6-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f994c12a2d wireshark-2.2.6-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f994c12a2d wireshark-2.2.6-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |