Wind River Support Network

HomeDefectsLIN7-4696
Fixed

LIN7-4696 : netcat-openbsd_1.105.bb, do_patch failed

Created: Sep 3, 2015    Updated: Sep 8, 2018
Resolved Date: Sep 6, 2015
Found In Version: 7.0
Fix Version: 7.0.0.9
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

NOTE: Preparing runqueue
NOTE: Tainting hash to force rebuild of task /WRL7/build_dir/userspace/GIT_201509/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/layers/meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb, do_patch
WARNING: /WRL7/build_dir/userspace/GIT_201509/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/layers/meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb.do_patch is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Setting up host-cross and links
Setting up packages link
Creating export directory
Creating project properties
ERROR: Function failed: netcat_do_patch (log file is located at /WRL7/build_dir/userspace/GIT_201509/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work/core2-64-wrs-linux/netcat-openbsd/1.105-r0/temp/do_patch/log.do_patch.6183)
ERROR: Logfile of failure stored in: /WRL7/build_dir/userspace/GIT_201509/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work/core2-64-wrs-linux/netcat-openbsd/1.105-r0/temp/do_patch/log.do_patch.6183
Log data follows:
| DEBUG: Executing python function do_patch
| DEBUG: Executing shell function netcat_do_patch
| patching file Makefile
| Reversed (or previously applied) patch detected!  Assume -R? [n]
| Apply anyway? [n]
| Skipping patch.
| 1 out of 1 hunk ignored -- saving rejects to file Makefile.rej
| patching file nc.1
| Hunk #1 FAILED at 146.
| Hunk #2 FAILED at 170.
| 2 out of 2 hunks FAILED -- saving rejects to file nc.1.rej
| patching file netcat.c
| Hunk #1 succeeded at 83 with fuzz 2 (offset 41 lines).
| Hunk #2 FAILED at 93.
| Hunk #3 FAILED at 158.
| Hunk #4 FAILED at 204.
| Hunk #5 FAILED at 234.
| Hunk #6 FAILED at 272.
| Hunk #7 FAILED at 299.
| Hunk #8 FAILED at 310.
| Hunk #9 FAILED at 326.
| Hunk #10 FAILED at 603.
| Hunk #11 FAILED at 714.
| Hunk #12 FAILED at 926.
| Hunk #13 FAILED at 989.
| Hunk #14 FAILED at 1009.
| Hunk #15 FAILED at 1018.
| Hunk #16 FAILED at 1038.
| 15 out of 16 hunks FAILED -- saving rejects to file netcat.c.rej
| patching file socks.c
| Reversed (or previously applied) patch detected!  Assume -R? [n]
| Apply anyway? [n]
| Skipping patch.
| 6 out of 6 hunks ignored -- saving rejects to file socks.c.rej
| WARNING: /WRL7/build_dir/userspace/GIT_201509/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work/core2-64-wrs-linux/netcat-openbsd/1.105-r0/temp/do_patch/run.do_patch.netcat_do_patch.6183:1 exit 1 from
|   patch -p1 < /WRL7/build_dir/userspace/GIT_201509/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work/core2-64-wrs-linux/netcat-openbsd/1.105-r0/debian/patches/$line
| DEBUG: Python function do_patch finished
| ERROR: Function failed: netcat_do_patch (log file is located at /WRL7/build_dir/userspace/GIT_201509/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work/core2-64-wrs-linux/netcat-openbsd/1.105-r0/temp/do_patch/log.do_patch.6183)
ERROR: Task 1 (/WRL7/build_dir/userspace/GIT_201509/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/layers/meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 12 tasks of which 11 didn't need to be rerun and 1 failed.

Steps to Reproduce

1) configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std

2) $ make -C build netcat-openbsd.addpkg

3) $ make -C build netcat-openbsd

4) make bbs

5) $ bitbake -c configure -f netcat-openbsd

6) $ bitbake -c patch -f netcat-openbsd

Other Downloads


Live chat
Online