Wind River Support Network

HomeDefectsLIN8-6334
Fixed

LIN8-6334 : net-snmp package build fails if configured with perl embedded

Created: Apr 5, 2017    Updated: Dec 3, 2018
Resolved Date: Jun 19, 2017
Found In Version: 8.0.0.15
Fix Version: 8.0.0.18
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

net-snmp 5.4.1 version was not working with perl embedded, so in the git repository recipe of OpenEmbedded from below it was disable due to building issues.
https://github.com/openembedded/openembedded/commit/686d71d827a365be3d53dcdf96d3578332128032
 
After that, the recipe keep evolving up to the actual version which still disables perl embedded, and inherit by WR-Lin8, nonetheless the perl source of net-snmp
http://www.net-snmp.org/docs/perl-SNMP-README.html, is now stable, but in order to include perl embedded, the net-snmp recipe has to changed and add all the dependencies.

The customer requires to create a recipe which builds net-snmp with perl embedded and all the dependencies that are missing are needed to be resolved. 


<build>/layers/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb

Steps to Reproduce

$ <build>/wrlinux-8/wrlinux/configure --enable-rootfs=glibc-std --enable-board=qemuppc --with-rcpl-version=0015

apply the changes of the attached file in the below file

<build>/layers/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb

$ make

| ERROR: oe_runconf failed
| ERROR: Function failed: do_configure (log file is located at /wr/sandbox/hbustost/cases/00070408/bitbake_build/tmp/work/ppc7400-wrs-linux/net-snmp/5.7.3-r0/temp/do_configure/log.do_configure.98057)
ERROR: Task 5 (/wr/sandbox/hbustost/cases/00070408/layers/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1109 tasks of which 1104 didn't need to be rerun and 1 failed.
NOTE: Build completion summary:
NOTE:   do_populate_lic: 0% sstate reuse (0 setscene, 1 scratch)
No currently running tasks (1109 of 1117)


Other Downloads


Live chat
Online