Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 53791
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Timo Hirvonen <tihirvon@ee.oulu.fi>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 53791 depends on: Show dependency tree
Bug 53791 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: 2004-06-13 03:26 0000
lftp-3.0.6 incorrectly depends on sys-libs/pam. lftp never uses pam so the
dependency should be removed.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Daniel Black 2004-06-13 16:32:11 0000 -------
ldd /usr/bin/lftp
        linux-gate.so.1 =>  (0xffffe000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 (0x40034000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x4003d000)
        libreadline.so.4 => /lib/libreadline.so.4 (0x400f3000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40121000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40152000)
        libsocks.so.0 => /usr/lib/libsocks.so.0 (0x4024d000)
        libpam.so.0 => /lib/libpam.so.0 (0x40286000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4028e000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x402a3000)
        libutil.so.1 => /lib/libutil.so.1 (0x402d1000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x402d4000)
        libdl.so.2 => /lib/libdl.so.2 (0x402e6000)
        libm.so.6 => /lib/libm.so.6 (0x402e9000)
        libc.so.6 => /lib/libc.so.6 (0x4030b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Cause libpam is there I assume it was a dependancy.
qpkg -f -nc -v /lib/libpam.so.0
sys-libs/pam-0.77

Try the same 'ldd /usr/bin/lftp' on your box. If no pam shows up, and you haven't got sys-libs/pam installed, I'll remove it as a dependancy (by force if necessary ;-).

------- Comment #2 From Daniel Black 2004-06-13 16:48:41 0000 -------
looking further - It could be a socks5 only dependancy. If so I will correct.

------- Comment #3 From Timo Hirvonen 2004-06-13 16:57:51 0000 -------
ldd /usr/bin/lftp
        linux-gate.so.1 =>  (0xffffe000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/libgcc_s.so.1 (0x40019000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/libstdc++.so.6 (0x40022000)
        libreadline.so.4 => /lib/libreadline.so.4 (0x40100000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x4012b000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40153000)
        libutil.so.1 => /lib/libutil.so.1 (0x40224000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40227000)
        libdl.so.2 => /lib/libdl.so.2 (0x40238000)
        libm.so.6 => /lib/libm.so.6 (0x4023b000)
        libc.so.6 => /lib/libc.so.6 (0x4025d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I don't have sys-libs/pam installed (I have masked it :)). lftp-3.0.6 emerged after I removed "sys-libs/pam" from both DEPEND and RDEPEND.

------- Comment #4 From Daniel Black 2004-06-13 17:17:34 0000 -------
Thanks for the bug report. I'm made a DEPEND on pam only if socks5 USE is
present. Changes commited.

FYI ldd is sometimes misleading for shared library dependancies (depenancies of
dependancies included). readelf I think is a bit better however I'm still
getting used to this.

Thanks

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