Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311241 - sys-libs/zlib-1.2.4 breaks net-analyzer/wireshark-1.2.6 (cannot capture compressed packages)
Summary: sys-libs/zlib-1.2.4 breaks net-analyzer/wireshark-1.2.6 (cannot capture compr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL: https://bugs.wireshark.org/bugzilla/s...
Whiteboard:
Keywords:
Depends on: 316343
Blocks:
  Show dependency tree
 
Reported: 2010-03-24 22:50 UTC by Kristian
Modified: 2010-04-22 06:06 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian 2010-03-24 22:50:22 UTC
this is an upstream bug
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4439
http://bugs.archlinux.org/task/18061

but it still leaves current wireshark-1.2.6 inoperable when compiled with zlib-1.2.4

solution might be to disable the zlib USE flag temporarily

Reproducible: Always

Steps to Reproduce:
1.USE="zlib" emerge =wireshark-1.2.6
2.
3.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-03-26 09:04:12 UTC
Quite possible this is problem with zlib not wireshark. Currently I've updated deps and still it's better hold zlib-1.2.4 stabilization until we get some clarifications on this issue.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-26 09:25:11 UTC
(In reply to comment #1)
> Quite possible this is problem with zlib not wireshark. Currently I've updated
> deps and still it's better hold zlib-1.2.4 stabilization until we get some
> clarifications on this issue.
> 

Then add -r1 with non-restricted depend to ~arch or package.mask wireshark. 
You can't introduce "down/up grade" cycle of that kind to tree.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-03-26 10:54:12 UTC
+*wireshark-1.2.6-r1 (26 Mar 2010)
+
+  26 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +wireshark-1.2.6-r1.ebuild:
+  Revision bump to -r1 preventing zlib downgrade for ~arch users wrt
+  #311241.
Comment 4 Martin von Gagern 2010-03-26 13:41:17 UTC
The following is not an issue to be fixed by Gentoo devs, but rather a comment for those who downgraded zlib due to this issue, and stumble upon this report.

(In reply to comment #2)
> You can't introduce "down/up grade" cycle of that kind to tree.

Yes, downgrading libz can have consequences like this:
Linking CXX executable kmplayer
/usr/bin/cmake: /lib/libz.so.1: no version information available
/usr/lib64/libxml2.so.2: undefined reference to `gzopen64@ZLIB_1.2.3.3'
/usr/lib64/libxml2.so.2: undefined reference to `gzdirect@ZLIB_1.2.2.3'

Nothing a rebuild of packages depending on libz (libxml2 in this case) won't fix, but a thing to be considered nevertheless.
Comment 5 SpanKY gentoo-dev 2010-03-27 05:27:02 UTC
my reading of the bug is that there is nothing wrong with zlib-1.2.4, so CC->gone

no package should ever force downgrade of libraries in the same stabilization state since it can easily break other things (as noted).  i'll over look the pure stable state since people shouldnt be mixing anyways ...
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2010-03-28 16:11:23 UTC
zlib was disabled in -r1. Keeping this bug open until issue will be resolved.
Comment 7 Berend Dekens 2010-03-30 13:49:19 UTC
(In reply to comment #6)
> zlib was disabled in -r1. Keeping this bug open until issue will be resolved.
> 

zlib-1.2.4.1 should solve this problem according to: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4606
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2010-04-01 06:26:50 UTC
Per comment #7 and link this is zlib bug. CC'ing base-system back so you were aware about issue and dropped 1.2.4 from the tree as soon as 1.2.4.1 will be released.
Comment 9 SpanKY gentoo-dev 2010-04-02 09:08:40 UTC
we're tracking the new version per another bug, so hopefully it'll be out soon
Comment 10 SpanKY gentoo-dev 2010-04-20 12:50:04 UTC
zlib-1.2.5 now in the tree
Comment 11 Peter Volkov (RETIRED) gentoo-dev 2010-04-22 06:06:03 UTC
And I've put zlib USE flag back in wireshark 1.2.7. Please, test.