Summary: | net-analyzer/wireshark-1.11.0 links against old installed libraries on upgrade | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kalin KOZHUHAROV <kalin> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kalin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=479624 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | wireshark-1.11.0-oldlibs.patch |
Description
Kalin KOZHUHAROV
2013-10-23 07:25:57 UTC
Created attachment 361796 [details, diff]
wireshark-1.11.0-oldlibs.patch
Could you please test this patch:
1a) Either wait an hour or so and re-sync the portage tree (I added epatch_user
to the ebuilds) and save this patch in
</etc/portage/patches/net-analyzer/wireshark-1.11.0>.
1b) Apply the attached patch yourself in the ebuild.
2) Downgrade to net-analyzer/wireshark-1.10.2
3) Again upgrade to net-analyzer/wireshark-1.11.0
Hmm, I just tried, saw the patch being applied in epatch_user, but got the same final result (i.e. linked to the old libraries it seems)... or ...
Actually looking at that output, I start wondering if it is not a bug in portage. How can I make sure that those libraries are from the old package?
Because:
...
!!! existing preserved libs:
>>> package: net-analyzer/wireshark-1.11.0
* - /usr/lib64/libwsutil.so.3
* - /usr/lib64/libwsutil.so.3.0.0
* - /usr/lib64/libwiretap.so.3
* - /usr/lib64/libwiretap.so.3.0.2
* used by /usr/lib64/libwireshark.so.0.0.0 (net-analyzer/wireshark-1.11.0)
Use emerge @preserved-rebuild to rebuild packages using these libraries
$ equery b /usr/lib64/libwsutil.so.3.0.0
* Searching for /usr/lib64/libwsutil.so.3.0.0 ...
net-analyzer/wireshark-1.11.0 (/usr/lib64/libwsutil.so.3.0.0)
$ equery b /usr/lib64/libwiretap.so.3.0.2
* Searching for /usr/lib64/libwiretap.so.3.0.2 ...
net-analyzer/wireshark-1.11.0 (/usr/lib64/libwiretap.so.3.0.2)
$ equery k wireshark
* Checking net-analyzer/wireshark-1.11.0 ...
1006 out of 1006 files passed
So it seems like portage is mistakingly thinking those are preserved libraries?
(In reply to Kalin KOZHUHAROV from comment #2) > Hmm, I just tried, saw the patch being applied in epatch_user, but got the > same final result (i.e. linked to the old libraries it seems)... or ... Please attach the entire 1.11.0 build log to this bug report. > How can I make sure that those libraries are from the old package? > Because: The preserved libraries are "owned" by the new version of the installed package. Sorry, it was me being sloppy/tired :-| I emerged it a few times to realize I had the patch in the wrong directory and it wasn't applied. I moved it and repeated the test 1.10.2 -> 1.11.0 and all is fine now. Not sure if this is to go upstream or not, but may be it is not Gentoo specific. Thanks for the quick fix! (In reply to Kalin KOZHUHAROV from comment #4) > Thanks for the quick fix! Thank you for testing. The patch is in the tree with 1.11.0-r1. |