Wind River Support Network

HomeDefectsLIN6-8460
Fixed

LIN6-8460 : can not invoke .addpkg more than once at make command line

Created: Sep 20, 2014    Updated: Dec 3, 2018
Resolved Date: Sep 24, 2014
Previous ID: LIN6-8448, OVP-2111
Found In Version: 6.0.0.13
Fix Version: 6.0.0.13
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

In our automated WASSP build we have to add aufs-unit-tests package with below command because wr-test flag is not defined.
$ make -C build aufs-unit-test.addpkg

we'd like to enable that feature from configure line instead:
configure with --with-template=feature/aufs 

the reason for this is below errors that we get when we try to build/rebuild that package.

We need a clean way (without error messages or a return codes) to build this package, the second time WASSP entering the build. So if the first time we build the package, and then we try to build it again, we got an error message:

yow-build55-lx > make -C build aufs-unit-tests.addpkg
make: Entering directory `/yow-build55-lx1/ovptest/wassp-repos/users/ashapiro/build_aufs/build'
=== Checking ../layers/local/recipes-img/images/wrlinux-image-ovp-kvm.bb ===
=== Checking for valid package for aufs-unit-tests ===
=== Still checking ... ===
=== ADDED aufs-unit-tests to ../layers/local/recipes-img/images/wrlinux-image-ovp-kvm.bb ===
NOTE: It is possible to generate a non-buildable configuration with
      the addpkg rule, in which case you can use the rmpkg rule
      to remove what you added and try a different configuration.
make: Leaving directory `/yow-build55-lx1/ovptest/wassp-repos/users/ashapiro/build_aufs/build'
yow-build55-lx > 
yow-build55-lx > 
yow-build55-lx > make -C build aufs-unit-tests.addpkg
make: Entering directory `/yow-build55-lx1/ovptest/wassp-repos/users/ashapiro/build_aufs/build'
=== Checking ../layers/local/recipes-img/images/wrlinux-image-ovp-kvm.bb ===
ERROR: aufs-unit-tests already in the list
make: *** [aufs-unit-tests.addpkg] Error 1
make: Leaving directory `/yow-build55-lx1/ovptest/wassp-repos/users/ashapiro/build_aufs/build'
yow-build55-lx >

The the request is to ask the base team to allow .addpkg to be called more than once to add the same package.

Steps to Reproduce

$ cd build_dir:
../wrlinux-x/wrlinux/configure

$ make -C build <package name>.addpkg
$ make -C build <package name>.addpkg

Other Downloads


Live chat
Online