Wind River Support Network

HomeDefectsLIN5-18180
Fixed

LIN5-18180 : inetd installation fails when enabled from layer

Created: Feb 28, 2014    Updated: Dec 19, 2017
Resolved Date: Mar 9, 2014
Found In Version: 5.0.1.11
Fix Version: 5.0.1.13
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Networking
Host OS: Linux Ubuntu

Description

When changing the default configuration of busybox to enable inetd by means of a layer
(modify the defconfig to include the following)
...
CONFIG_INETD=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN=y
CONFIG_FEATURE_INETD_RPC=y
...

build fails with error:

DEBUG: Executing shell function do_install
| NOTE: make -j 9 -e MAKEFLAGS= V=1 ARCH=arm CROSS_COMPILE=cortexa9t-neon-wrswrap-linux-gnueabi- SKIP_STRIP=y busybox.links
| /bin/sh /media/workspace/anca/test-prj-wrl5-inetd/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/busybox-1.19.4-r20/busybox-1.19.4/applets/busybox.mkll /media/workspace/anca/test-prj-wrl5-inetd/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/busybox-1.19.4-r20/busybox-1.19.4/include/autoconf.h include/applets.h >busybox.links
| CONFIG_UDHCPD=y
| CONFIG_HWCLOCK=y
| CONFIG_UDHCPC=y
| CONFIG_INETD=y
| install: cannot stat `/media/workspace/anca/test-prj-wrl5-inetd/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/busybox-1.19.4-r20/inetd': No such file or directory
| WARNING: /media/workspace/anca/test-prj-wrl5-inetd/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/busybox-1.19.4-r20/temp/do_install/run.do_install.11843:199 exit 1 from
|   install -m 0755 /media/workspace/anca/test-prj-wrl5-inetd/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/busybox-1.19.4-r20/inetd /media/workspace/anca/test-prj-wrl5-inetd/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/busybox-1.19.4-r20/image/etc/init.d/inetd.busybox

I mention that enabling inetd from busybox.menuconfig doesn't cause the build to fail.

Steps to Reproduce

1. Create a layer which modifies the default configuration of busybox by enabling inetd in the defconfig file (just a simple layer with a layer.conf, a .bbappend and the defconfig):
...
CONFIG_INETD=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN=y
CONFIG_FEATURE_INETD_RPC=y
...

2. Configure a project with glibc_small to include this layer:
.../wrlinux-5/wrlinux/configure  --enable-board=xilinx-zynq --enable-rootfs=glibc-small+initramfs-integrated --enable-kernel=standard --enable-jobs=9 --enable-parallel-pkgbuilds=9 --enable-reconfig=yes --with-layer=<path/to/previously/created/layer>

3. Build busybox: make -C build busybox

Other Downloads


Live chat
Online