Wind River Support Network

HomeDefectsOVP-1103
Fixed

OVP-1103 : [ovirt-engine] ERROR: junit4: Recipe file does not have license file information (LIC_FILES_CHKSUM)

Created: Aug 14, 2013    Updated: Mar 11, 2016
Resolved Date: Oct 10, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.8
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Problem Description
======================
[ovirt-engine] ERROR: junit4: Recipe file does not have license file information (LIC_FILES_CHKSUM)

Expected Behavior
======================
it works well

Observed Behavior
======================
None

Logs
======================
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: junit4: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /home/wgao/source/prj/engine_0814/bitbake_build/tmp/work/x86_64-wrs-linux/junit4-4.3.1-r0/temp/do_configure/log.do_configure.20083
ERROR: Task 4675 (/home/wgao/source/prj/engine_0814/layers/meta-java/recipes-core/junit/junit4_4.3.1.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2566 tasks of which 2328 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/wgao/source/prj/engine_0814/layers/meta-java/recipes-core/junit/junit4_4.3.1.bb, do_configure
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
make: *** [export/intel-xeon-core-ovp-ovirt-engine-preempt-rt-dist.tar.bz2] Error 1

Workaround

Add below contents in layers/meta-java/recipes-core/junit/junit4_4.3.1.bb
----------
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \
                   "
----------

Steps to Reproduce

1) /ovpgit/wrlinux-x/wrlinux/configure --enable-board=intel-xeon-core --enable-rootfs=ovp-ovirt-engine --enable-addons=wr-ovp --with-package=wrs-kvm-helper --enable-parallel-pkgbuilds=4 --enable-jobs=8 --with-rcpl-version=0

2) make fs   or  make -C build junit4
Live chat
Online