Wind River Support Network

HomeDefectsLIN5-18550
Fixed

LIN5-18550 : netcat-openbsd-1.89-r2 "readpassphrase.c" patch failed on OVP Host Network Platform Project build

Created: Apr 16, 2014    Updated: Dec 19, 2017
Resolved Date: May 7, 2014
Previous ID: OVP-1798
Found In Version: 5.0.1.13
Fix Version: 5.0.1.15
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Duplicate of http://jira.wrs.com/browse/LIN5-2482 ?

netcat-openbsd-1.89-r2 build failed while Building an OVP Host Network Platform Project
Logs attached.
See "steps to reproduce".

Steps to Reproduce

(1) Guest build:

Had to add PREFERRED_VERSION_dpdk ?= "1.5.0-12" to ./layers/wr-ovp/ovp/conf/layers.conf, just after PREFERRED_PROVIDER_java2-vm ?= "openjdk-7-jre"

Platform project: "OVP_guest_V1"

/home/demo/WindRiver/wrlinux-5/wrlinux/configure \
--enable-reconfig \
--with-layer=wr-intel-support,/home/demo/WindRiverINP34/inp-3.4/layers/wr-inp \
--enable-board=x86-64-kvm-guest \
--with-template=feature/rt-latency,feature/kvm,feature/inp,feature/target-toolchain,feature/intel-qat,feature/intel-dpdk,feature/dpdk-vswitch  \
--enable-rootfs=ovp-guest+initramfs \
--enable-bootimage=ext3 \
--enable-addons=wr-ovp \
--enable-jobs=8 \
--enable-parallel-pkgbuilds=8 \
--with-sstate-dir=/home/demo/WindRiver/SSTATE_DIR

make fs


(2) Host build:

Had to add PREFERRED_VERSION_dpdk ?= "1.5.0-12" to ./layers/wr-ovp/ovp/conf/layers.conf, just after PREFERRED_PROVIDER_java2-vm ?= "openjdk-7-jre" 

Platform Project: "plat_OVP_V1"

/home/demo/WindRiver/wrlinux-5/wrlinux/configure \
--enable-reconfig \
--enable-rootfs=ovp-network-node \
--enable-addons=wr-ovp \
--with-template=feature/rt-tune,feature/target-toolchain,feature/intel-qat,feature/intel-dpdk,feature/dpdk-vswitch \
--enable-kernel=preempt_rt \
--enable-board=intel-xeon-core \
--enable-jobs=8 \
--enable-parallel-pkgbuilds=8 \
--with-sstate-dir=/home/demo/WindRiver/SSTATE_DIR \
--with-layer=wr-intel-support,wr-kvm-binary-guest-images \
--with-kvm-guest-kernel=/home/demo/WindRiver/workspaceOVP/OVP_guest_V1/export/images/bzImage-x86-64-kvm-guest.bin \
--with-kvm-guest-img=/home/demo/WindRiver/workspaceOVP/OVP_guest_V1/export/images/wrlinux-image-ovp-guest-x86-64-kvm-guest.ext3 \
--enable-stand-alone-project=no \
--enable-checkout-all-layers=yes

# Build SE Linux Policy (1023 steps)
make -C build refpolicy-targeted-ovp-host-isolation.rebuild

make fs

<snip>

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (see /home/demo/WindRiver/workspaceOVP/plat_OVP_V1/bitbake_build/tmp/work/x86_64-wrs-linux/netcat-openbsd-1.89-r2/temp/do_compile/log.do_compile.23956 for further information)
ERROR: Logfile of failure stored in: /home/demo/WindRiver/workspaceOVP/plat_OVP_V1/bitbake_build/tmp/work/x86_64-wrs-linux/netcat-openbsd-1.89-r2/temp/do_compile/log.do_compile.23956
Log data follows:
| DEBUG: Executing shell function do_compile
| patching file openbsd-compat/readpassphrase.c
| Reversed (or previously applied) patch detected!  Assume -R? [n]
| Apply anyway? [n]
| Skipping patch.
| 4 out of 4 hunks ignored -- saving rejects to file openbsd-compat/readpassphrase.c.rej
| WARNING: /home/demo/WindRiver/workspaceOVP/plat_OVP_V1/bitbake_build/tmp/work/x86_64-wrs-linux/netcat-openbsd-1.89-r2/temp/do_compile/run.do_compile.23956:125 exit 1 from
|   patch -p1 < debian/patches/$line
| ERROR: Function failed: do_compile (see /home/demo/WindRiver/workspaceOVP/plat_OVP_V1/bitbake_build/tmp/work/x86_64-wrs-linux/netcat-openbsd-1.89-r2/temp/do_compile/log.do_compile.23956 for further information)
ERROR: Task 2868 (/home/demo/WindRiver/workspaceOVP/plat_OVP_V1/layers/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2739 tasks of which 2280 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/demo/WindRiver/workspaceOVP/plat_OVP_V1/layers/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [export/intel-xeon-core-ovp-network-node-preempt-rt-dist.tar.bz2] Error 1
demo@gamer-linux:~/WindRiver/workspaceOVP/plat_OVP_V1$ 

See attached log.

Other Downloads


Live chat
Online