Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83325 - net-ftp/tftp-hpa needs dependency on sys-apps/tcp-wrappers
Summary: net-ftp/tftp-hpa needs dependency on sys-apps/tcp-wrappers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 90784
  Show dependency tree
 
Reported: 2005-02-25 11:42 UTC by Dan Eisenhut
Modified: 2005-07-29 15:07 UTC (History)
2 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 Dan Eisenhut 2005-02-25 11:42:05 UTC
The application in.tftpd located in net-ftp/tftp-hpa has a run-time requirement to use the libwrap library.

 # ldd /usr/sbin/in.tftpd
        linux-gate.so.1 =>  (0xffffe000)
        libwrap.so.0 => /lib/libwrap.so.0 (0xb7fd9000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7fc2000)
        libc.so.6 => /lib/libc.so.6 (0xb7eac000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)

This library is located in the package sys-apps/tcp-wrappers:

 # qpkg -f /lib/libwrap.so.0
 sys-apps/tcp-wrappers *

The ebuild for net-ftp/tftp-hda does not have a run-time dependency on this package.  You can build and install tftp-hda successfully without ever installing tcp-wrappers.

Reproducible: Always
Steps to Reproduce:
1. Setup Gentoo box without tcp-wrappers package installed
2. emerge net-ftp/tftp-hda
3. /etc/init.d/in.tftpd start
Actual Results:  
# /etc/init.d/in.tftpd start
 * Starting in.tftpd...
/usr/sbin/in.tftpd: error while loading shared libraries: libwrap.so.0: cannot
open shared object file: No such file or directory                             
                                             [ !! ]

Expected Results:  
# /etc/init.d/in.tftpd start
 * Starting in.tftpd...                                                        
                   [ ok ]
Comment 1 Jon Hood (RETIRED) gentoo-dev 2005-02-27 14:32:17 UTC
fixed in portage (v. 0.40-r1); thank you!
Comment 2 Sven Wegener gentoo-dev 2005-02-28 07:44:29 UTC
John, could you please review your commit. I see no difference betweend 0.40
and 0.40-r1. And digest.missing: net-ftp/tftp-hpa-0.40 Guess you forgot to
remove the ebuild as well.
Comment 3 Daniel Webert 2005-04-28 16:33:04 UTC
can we close this one?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-18 02:48:11 UTC
Mass re-assign; this ebuild seems unmaintained.
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2005-07-29 15:07:02 UTC
Fixed it. If it is still not in RDEPEND I assume we can blame it on mysterious
forces.

Thanks for reporting!