Bug 619 - netkittelnet requires netkitbase to install, but there's no dependency
Summary: netkittelnet requires netkitbase to install, but there's no dependency
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-19 15:40 UTC by Seth LaForge
Modified: 2009-09-19 17:22 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seth LaForge 2009-09-19 15:40:30 UTC
I just ran into another netkittelnet issue:

/home/build/toolchain-2009-09-18/usr/bin/arm-linux-uclibcgnueabi-gcc  telnetd.o state.o termstat.o slc.o sys_term.o utility.o global.o setproctitle.o -lutil -lutil -o telnetd
make[2]: Leaving directory `/home/build/buildroot-2009.08-2009.09.18/build_arm/netkit-telnet-0.17/telnetd'
make[1]: Leaving directory `/home/build/buildroot-2009.08-2009.09.18/build_arm/netkit-telnet-0.17'
/home/build/toolchain-2009-09-18/usr/bin/arm-linux-uclibcgnueabi-strip --remove-section=.comment --remove-section=.note /home/build/buildroot-2009.08-2009.09.18/build_arm/netkit-telnet-0.17/telnetd/telnetd
# Only install a few selected items...
mkdir -p /home/build/buildroot-2009.08-2009.09.18/project_build_arm/uclibc/root/usr/sbin
rm -f /home/build/buildroot-2009.08-2009.09.18/project_build_arm/uclibc/root/usr/sbin/telnetd
cp /home/build/buildroot-2009.08-2009.09.18/build_arm/netkit-telnet-0.17/telnetd/telnetd /home/build/buildroot-2009.08-2009.09.18/project_build_arm/uclibc/root/usr/sbin/telnetd
# Enable telnet in inetd
/home/build/buildroot-2009.08-2009.09.18/toolchain_build_arm/bin/sed -i -e "s~^#telnet.*~telnet\tstream\ttcp\tnowait\troot\t/usr/sbin/telnetd\t/usr/sbin/telnetd~;" /home/build/buildroot-2009.08-2009.09.18/project_build_arm/uclibc/root/etc/inetd.conf
/home/build/buildroot-2009.08-2009.09.18/toolchain_build_arm/bin/sed: can't read /home/build/buildroot-2009.08-2009.09.18/project_build_arm/uclibc/root/etc/inetd.conf: No such file or directory
make: *** [/home/build/buildroot-2009.08-2009.09.18/project_build_arm/uclibc/root/usr/sbin/telnetd] Error 2


It appears that netkittelnet assumes that inetd was installed by netkitbase, but it's Config.in does not specify such a dependency:

config BR2_PACKAGE_NETKITTELNET
        bool "netkittelnet"
        help
          Standard Linux telnet client and server.

          ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/


If the telnetd in busybox is equally good, perhaps netkittelnet should just be removed in favor of including the busybox options in the main menus?
Comment 1 Peter Korsgaard 2009-09-19 17:22:11 UTC
That was fixed in git in f5239c327e303a (E.G. the fix for #617).
I'll hide the netkit stuff under the "Hide applications that are provided by busybox" option which is enabled by default.

We don't maintain a copy of all the busybox kconfig options, but we do have a 'make busybox-menuconfig make target to make it easy to tweak the busybox config.