Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 211324
Alias:
Product:
Component:
Status: VERIFIED
Resolution: FIXED
Assigned To: Peter Volkov <pva@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Fabio Erculiani <lxnay@lxnaydesign.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wireshark.patch patch for wireshark-0.99.8_rc1.ebuild patch Petteri Räty 2008-03-13 01:06 0000 863 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 211324 depends on: Show dependency tree
Bug 211324 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.





View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-25 00:39 0000
wireshark plugins link against /usr/lib64/libsmi.so.2 IF found, which belongs
to net-libs/libsmi even if it's not in the wireshark's RDEPEND list.
This is something that should be solved, by avoiding the linking or adding
libsmi to RDEPEND.

This is the ldd output:
server x86_64 # ldd /usr/lib64/wireshark/plugins/0.99.8pre1/rlm.so
        linux-vdso.so.1 =>  (0x00007fff633fd000)
        libwireshark.so.0 => /usr/lib/libwireshark.so.0 (0x00002acf47976000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0
(0x00002acf4a02c000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002acf4a231000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002acf4a435000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002acf4a6e8000)
        libc.so.6 => /lib/libc.so.6 (0x00002acf4a904000)
        libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00002acf4ac45000)
        libwiretap.so.0 => /usr/lib64/libwiretap.so.0 (0x00002acf4ae66000)
        libgnutls.so.13 => /usr/lib64/libgnutls.so.13 (0x00002acf4b0b4000)
        libtasn1.so.3 => /usr/lib64/libtasn1.so.3 (0x00002acf4b330000)
        libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00002acf4b53e000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00002acf4b79e000)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002acf4b9a2000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002acf4bc1c000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00002acf4be40000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002acf4c043000)
        libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8
(0x00002acf4c256000)
        libsmi.so.2 => /usr/lib64/libsmi.so.2 (0x00002acf4c5bc000)
        libm.so.6 => /lib/libm.so.6 (0x00002acf4c80f000)
        libz.so.1 => /lib/libz.so.1 (0x00002acf4ca8e000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002acf4cca2000)

have fun :)

Reproducible: Always

Steps to Reproduce:
1. install net-libs/libsmi
2. recompile net-analyzer/wireshark
3. do a ldd on /usr/lib64/wireshark/plugins/0.99.8pre1/rlm.so

------- Comment #1 From Jakub Moc (RETIRED) 2008-02-25 07:45:02 0000 -------
Please, use something like `readelf -d foo | grep NEEDED` in future; ldd output
is not useful for similar things.

------- Comment #2 From Fabio Erculiani 2008-02-25 09:14:07 0000 -------
I'm sorry. Here you are.

sabayon sabayon x86_64 # readelf -d /usr/lib/libwireshark.so.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libpcre.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libwiretap.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgmodule-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libglib-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgnutls.so.13]
 0x0000000000000001 (NEEDED)             Shared library: [libtasn1.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libgcrypt.so.11]
 0x0000000000000001 (NEEDED)             Shared library: [libgpg-error.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libkrb5.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libk5crypto.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libcom_err.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libresolv.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.0.9.8]
 0x0000000000000001 (NEEDED)             Shared library: [libsmi.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]

------- Comment #3 From Petteri Räty 2008-03-13 01:06:06 0000 -------
Created an attachment (id=145965) [details]
patch for wireshark-0.99.8_rc1.ebuild

------- Comment #4 From Petteri Räty 2008-03-13 01:08:18 0000 -------
(In reply to comment #3)
> Created an attachment (id=145965) [edit] [details]
> patch for wireshark-0.99.8_rc1.ebuild
> 

Missing IUSE, but you get the point.

------- Comment #5 From Peter Volkov 2008-03-13 08:28:01 0000 -------
Petteri, yup, thank you for help. It's already fixed in my overlay together
with some other things. The two issues remain are:
1. do we need openssl dependency (asked in dev mailing list but no answer yet)
2. libpcap dependency could be optional and from configure it seems that it's
used for some remote things... but what they are?

As soon as I manage to understand this I'll do the bump... In any case ppc64 is
slacking on bug 212075 :)

------- Comment #6 From Peter Volkov 2008-03-16 20:01:08 0000 -------
Fixed in wireshark-0.99.8. There many other changes, so test it and report if
anything went wrong... 

Thank you Fabio for report. It stimulates me to review wireshark ebuild another
time and sync many ./configure changes with our ebuild... Enjoy! :)

------- Comment #7 From Fabio Erculiani 2008-03-18 18:22:58 0000 -------
Thanks a lot!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug