Wind River Support Network

HomeDefectsLIN6-7146
Fixed

LIN6-7146 : Build fails when net-snmp-client is added and /usr/local/bin/perl exists

Created: Apr 17, 2014    Updated: Dec 3, 2018
Resolved Date: Apr 20, 2014
Found In Version: 6.0.0.5
Fix Version: 6.0.0.6
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

Build fails when net-snmp-client is added and /usr/local/bin/perl exists

Steps to Reproduce

$ /lx6/wrlinux-6/wrlinux/configure --enable-board=intel-x86-32 --enable-kernel=standard --enable-rootfs=glibc_small --with-rcpl-version=0005
$ which perl
/usr/bin/perl
$ sudo ln -s /usr/bin/perl /usr/local/bin/perl
$ echo 'IMAGE_INSTALL += "net-snmp-client"' >> layers/local/recipes-img/images/wrlinux-image-glibc-small.bb
$ make
...
ERROR: Function failed: do_rootfs (log file is located at /lx6/test_prj/bitbake_build/tmp/work/intel_x86_32-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.17646)
...
| Computing transaction...error: Can't install net-snmp-client-5.7.2-r1.0@i686: no package provides /usr/local/bin/perl
...

Other Downloads


Live chat
Online