Wind River Support Network

HomeDefectsCGP6-512
Fixed

CGP6-512 : wrlinux 6 - net-snmp missing dependencies

Created: Mar 11, 2016    Updated: Feb 11, 2019
Resolved Date: Mar 17, 2016
Found In Version: 6.0.0.26
Fix Version: 6.0.0.29
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

in wrlinux 6, the net-snmp package from CGP is missing DEPENDS (or PACKAGECONFIG) for the pciutils package.

The configure script is autodetecting the presense of "libpci" and adapts to that, but depending on the build order of the pciutils package and net-snmp is will either build with it or without it...

An explicit DEPENDS or add some PACKAGECONFIG if there is some enable/disable option that can control it, needed

Steps to Reproduce

check for pciutils support inclusion in net-snmp, in various builds.
depending on the build order the support would be included or not


1. configure a wrl6, RCPL26 CGP project with:

--enable-board=qemux86-64 --enable-rootfs=glibc-cgl --enable-kernel=cgl --enable-jobs=72 --enable-parallel-pkgbuilds=72 --with-rcpl-version=0026

2. build the net-snmp package: make -C build net-snmp

3. check for the pciutils package being built as a dependency:

-bash-4.1$ ls build | grep pci
-bash-4.1$ ls build | grep net
net-snmp
Live chat
Online