Wind River Support Network

HomeDefectsLIN7-6261
Fixed

LIN7-6261 : linux-windriver_3.14.bb, do_patch failed

Created: May 26, 2016    Updated: Sep 8, 2018
Resolved Date: May 26, 2016
Found In Version: 7.0
Fix Version: 7.0.0.16
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Kernel

Description

/tmp/work/qemux86_64-wrs-linux/linux-windriver/3.14-r0/temp/do_patch/log.do_patch.7565
Log data follows:
| DEBUG: Executing shell function do_patch
| .meta
| [INFO]: checkpoint is already restored, nothing to do
| [INFO] validating against known patches  (qemux86-64-cgl-meta)
|    mark --> common-pc-64-cgl.scc
|    mark --> cgl.scc
|    mark --> standard.scc
|    mark --> base.scc
|    mark <-- base.scc
|       branch ===> standard/base (reuse)
|    mark --> kgdb.scc
|    mark <-- kgdb.scc
|    mark --> firmware.scc
|    mark <-- firmware.scc
|    mark --> lttng2.scc
|    mark --> lttng-modules.scc
|    mark <-- lttng-modules.scc
|    mark <-- lttng2.scc
|    mark --> blktrace.scc
|    mark <-- blktrace.scc
|    mark --> systemtap.scc
|    mark --> kprobes.scc
|    mark <-- kprobes.scc
|    mark --> uprobe-enable.scc
|    mark <-- uprobe-enable.scc
|    mark <-- systemtap.scc
|    mark --> utrace.scc
|    mark <-- utrace.scc
|    mark --> seccomp.scc
|    mark <-- seccomp.scc
|    mark --> arm.scc
|    mark --> v7-A15.scc
|    mark <-- v7-A15.scc
|    mark <-- arm.scc
|    mark --> mips.scc
|    mark <-- mips.scc
|    mark --> powerpc.scc
|    mark <-- powerpc.scc
|    mark --> x86.scc
|    mark <-- x86.scc
|    mark --> hrt.scc
|    mark <-- hrt.scc
|    mark --> ftrace.scc
|    mark <-- ftrace.scc
|    mark --> uprobe.scc
|    mark --> uprobe-enable.scc
|    mark <-- uprobe-enable.scc
|    mark <-- uprobe.scc
|    mark --> kprobes.scc
|    mark <-- kprobes.scc
|    mark --> patches.scc
|    mark --> drivers.scc
|    mark <-- drivers.scc
|    mark --> build.scc
|    mark <-- build.scc
|    mark --> exports.scc
|    mark <-- exports.scc
|    mark --> boot.scc
|    mark <-- boot.scc
|    mark --> net.scc
|    mark <-- net.scc
|    mark --> debug.scc
|    mark <-- debug.scc
|    mark --> misc.scc
|    mark <-- misc.scc
|    mark <-- patches.scc
|    mark --> initramfs.scc
|    mark <-- initramfs.scc
|    mark --> yaffs2.scc
|    mark <-- yaffs2.scc
|    mark --> aufs.scc
|    mark <-- aufs.scc
|    mark --> cgroups.scc
|    mark --> namespaces.scc
|    mark <-- namespaces.scc
|    mark <-- cgroups.scc
|    mark --> net_sched.scc
|    mark <-- net_sched.scc
|    mark --> kexec.scc
|    mark <-- kexec.scc
|    mark --> cryptodev.scc
|    mark <-- cryptodev.scc
|    mark --> vfat.scc
|    mark <-- vfat.scc
|    mark --> kvm.scc
|    mark <-- kvm.scc
|    mark --> tipc.scc
|    mark <-- tipc.scc
|    mark --> xip.scc
|    mark <-- xip.scc
|    mark --> oprofile.scc
|    mark <-- oprofile.scc
|    mark --> ramconsole.scc
|    mark <-- ramconsole.scc
|    mark --> vdso.scc
|    mark <-- vdso.scc
|    mark --> kaslr.scc
|    mark <-- kaslr.scc
|    mark --> hugetlb.scc
|    mark <-- hugetlb.scc
|    mark --> fuse.scc
|    mark <-- fuse.scc
|    mark --> 8250.scc
|    mark <-- 8250.scc
|    mark --> uptime.scc
|    mark <-- uptime.scc
|    mark --> ktest.scc
|    mark <-- ktest.scc
|    mark --> perf.scc
|    mark <-- perf.scc
|    mark --> input.scc
|    mark <-- input.scc
|    mark --> bfq.scc
|    mark <-- bfq.scc
|    mark --> backports.scc
|    mark <-- backports.scc
|    mark --> criu.scc
|    mark <-- criu.scc
|    mark --> ktap.scc
|    mark <-- ktap.scc
|    mark --> drm-gpu.scc
|    mark <-- drm-gpu.scc
|    mark --> efi.scc
|    mark <-- efi.scc
|    mark --> devtmpfs.scc
|    mark <-- devtmpfs.scc
|    mark --> debugfs.scc
|    mark <-- debugfs.scc
|    mark --> btrfs.scc
|    mark <-- btrfs.scc
|    mark --> ext2.scc
|    mark <-- ext2.scc
|    mark --> ext3.scc
|    mark <-- ext3.scc
|    mark --> ext4.scc
|    mark <-- ext4.scc
|    mark --> ipsec.scc
|    mark <-- ipsec.scc
|    mark --> ipv6.scc
|    mark --> ipsec6.scc
|    mark --> ipsec.scc
|    mark <-- ipsec.scc
|    mark <-- ipsec6.scc
|    mark <-- ipv6.scc
|    mark --> ip_nf.scc
|    mark <-- ip_nf.scc
|    mark --> ip6_nf.scc
|    mark <-- ip6_nf.scc
|    mark --> bridge.scc
|    mark <-- bridge.scc
|    mark --> systemd.scc
|    mark <-- systemd.scc
|    mark --> rfkill.scc
|    mark <-- rfkill.scc
|    mark <-- standard.scc
|       branch ===> standard/cgl/base (reuse)
|    mark --> udp_stats.scc
|    mark <-- udp_stats.scc
|    mark --> qdisc_stats.scc
|    mark <-- qdisc_stats.scc
|    mark --> sigexit.scc
|    mark <-- sigexit.scc
|    mark --> aoe.scc
|    mark <-- aoe.scc
|    mark --> iscsi.scc
|    mark --> scsi.scc
|    mark <-- scsi.scc
|    mark <-- iscsi.scc
|    mark --> ocfs2.scc
|    mark <-- ocfs2.scc
|    mark --> macvlan.scc
|    mark <-- macvlan.scc
|    mark --> drbd.scc
|    mark <-- drbd.scc
|    mark --> dmm.scc
|    mark <-- dmm.scc
|    mark --> l2tp.scc
|    mark <-- l2tp.scc
|    mark --> ip_vs.scc
|    mark <-- ip_vs.scc
|    mark <-- cgl.scc
|       branch ===> standard/cgl/common-pc-64 (reuse)
|    mark --> common-pc-64.scc
|    mark --> x86_64.scc
|    mark --> efi.scc
|    mark <-- efi.scc
|    mark --> smp.scc
|    mark <-- smp.scc
|    mark --> hpet.scc
|    mark <-- hpet.scc
|    mark --> no_hz.scc
|    mark <-- no_hz.scc
|    mark --> hz_1000.scc
|    mark <-- hz_1000.scc
|    mark <-- x86_64.scc
|    mark --> ehci-hcd.scc
|    mark --> usb-base.scc
|    mark <-- usb-base.scc
|    mark <-- ehci-hcd.scc
|    mark --> uhci-hcd.scc
|    mark --> usb-base.scc
|    mark <-- usb-base.scc
|    mark <-- uhci-hcd.scc
|    mark --> ohci-hcd.scc
|    mark --> usb-base.scc
|    mark <-- usb-base.scc
|    mark <-- ohci-hcd.scc
|    mark --> xhci-hcd.scc
|    mark --> usb-base.scc
|    mark <-- usb-base.scc
|    mark <-- xhci-hcd.scc
|    mark --> touchscreen-composite.scc
|    mark --> usb-base.scc
|    mark <-- usb-base.scc
|    mark --> touchscreen.scc
|    mark <-- touchscreen.scc
|    mark <-- touchscreen-composite.scc
|    mark --> intel-e100.scc
|    mark <-- intel-e100.scc
|    mark --> intel-e1xxxx.scc
|    mark <-- intel-e1xxxx.scc
|    mark --> cdrom.scc
|    mark --> scsi.scc
|    mark <-- scsi.scc
|    mark <-- cdrom.scc
|    mark --> intel.scc
|    mark <-- intel.scc
|    mark --> 8250.scc
|    mark <-- 8250.scc
|    mark --> i915.scc
|    mark <-- i915.scc
|    mark <-- common-pc-64.scc
|    mark --> boot-live.scc
|    mark <-- boot-live.scc
|    mark --> usb-mass-storage.scc
|    mark --> disk.scc
|    mark --> scsi.scc
|    mark <-- scsi.scc
|    mark <-- disk.scc
|    mark <-- usb-mass-storage.scc
|    mark --> latencytop.scc
|    mark <-- latencytop.scc
|    mark --> profiling.scc
|    mark <-- profiling.scc
|    mark --> virtio.scc
|    mark <-- virtio.scc
|    mark --> media-usb-webcams.scc
|    mark --> usb-base.cfg
|    mark <-- usb-base.cfg
|    mark --> media.scc
|    mark <-- media.scc
|    mark <-- media-usb-webcams.scc
|    mark --> snd_hda_intel.scc
|    mark <-- snd_hda_intel.scc
|    mark <-- common-pc-64-cgl.scc
|    mark --> patch_marker.scc
|    mark <-- patch_marker.scc
|    mark --> oprofile.scc
|    mark <-- oprofile.scc
|    mark --> wr-profiling-kernel-overrides.scc
|    mark <-- wr-profiling-kernel-overrides.scc
|    mark --> userspace.scc
|    mark <-- userspace.scc
|    mark --> aer-inject-test.scc
|    mark <-- aer-inject-test.scc
|    mark --> attr-test.scc
|    mark <-- attr-test.scc
|    mark --> audit-test.scc
|    mark <-- audit-test.scc
|    mark --> ecryptfs.scc
|    mark <-- ecryptfs.scc
|    mark --> edac-utils-test.scc
|    mark <-- edac-utils-test.scc
|    mark --> evlog-ptest.scc
|    mark <-- evlog-ptest.scc
|    mark --> gre-test.scc
|    mark <-- gre-test.scc
|    mark --> ipmitool-test.scc
|    mark <-- ipmitool-test.scc
|    mark --> iw-test.scc
|    mark <-- iw-test.scc
|    mark --> kbd-test.scc
|    mark <-- kbd-test.scc
|    mark --> libnl-test.scc
|    mark <-- libnl-test.scc
|    mark --> mcelog-test.scc
|    mark <-- mcelog-test.scc
|    mark --> mtd-test.scc
|    mark <-- mtd-test.scc
|    mark --> nfs-utils-test.scc
|    mark <-- nfs-utils-test.scc
|    mark --> quota-test.scc
|    mark <-- quota-test.scc
|    mark --> udev-test.scc
|    mark <-- udev-test.scc
|    mark --> xfsdump-test.scc
|    mark <-- xfsdump-test.scc
|    mark --> cgp-cut.scc
|    mark <-- cgp-cut.scc
|    mark --> systemd.scc
|    mark <-- systemd.scc
|    mark --> edac.scc
|    mark <-- edac.scc
|    mark --> kexec-enable.scc
|    mark <-- kexec-enable.scc
|    mark --> ipmi.scc
|    mark <-- ipmi.scc
|    mark --> ipv6.scc
|    mark --> ipsec6.scc
|    mark --> ipsec.scc
|    mark <-- ipsec.scc
|    mark <-- ipsec6.scc
|    mark <-- ipv6.scc
|    mark --> selinux.scc
|    mark --> audit.scc
|    mark <-- audit.scc
|    mark <-- selinux.scc
|    mark --> selinux-dev.scc
|    mark <-- selinux-dev.scc
|    mark --> aoe.scc
|    mark <-- aoe.scc
|    mark --> quota.scc
|    mark <-- quota.scc
|    mark --> mip6.scc
|    mark --> ipv6.scc
|    mark --> ipsec6.scc
|    mark --> ipsec.scc
|    mark <-- ipsec.scc
|    mark <-- ipsec6.scc
|    mark <-- ipv6.scc
|    mark <-- mip6.scc
|    mark --> hugetlb.scc
|          patch mm-hugetlb-unify-region-structure-handling.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch mm-hugetlb-improve-cleanup-resv_map-parameters.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch mm-hugetlb-fix-race-in-region-tracking.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch mm-hugetlb-remove-resv_map_put.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch mm-hugetlb-use-vma_resv_map-map-types.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch mm-hugetlb-improve-page-fault-scalability.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch mm-hugetlb-mark-some-bootstrap-functions-as-__init.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch mm-hugetlb.c-add-NULL-check-of-return-value-of-huge_.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch hugetlb-prep_compound_gigantic_page-drop-__init-mark.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch hugetlb-add-hstate_is_gigantic.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch hugetlb-update_and_free_page-don-t-clear-PG_reserved.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch hugetlb-move-helpers-up-in-the-file.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch hugetlb-add-support-for-gigantic-page-allocation-at-.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch mm-hugetlb-move-the-error-handle-logic-out-of-normal.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch hugetlb-rename-hugepage_migration_support-to-._suppo.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch fs-hugetlbfs-inode.c-complete-conversion-to-pr_foo.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch fs-hugetlbfs-inode.c-add-static-to-hugetlbfs_i_mmap_.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch fs-hugetlbfs-inode.c-use-static-const-for-dentry_ope.patch (.meta/patches/standard/cgl/common-pc-64/series)
|          patch fs-hugetlbfs-inode.c-remove-null-test-before-kfree.patch (.meta/patches/standard/cgl/common-pc-64/series)
|    mark <-- hugetlb.scc
| (1/19) mm-hugetlb-unify-region-structure-handling.patch
| [INFO]: check of .meta/patches/standard/cgl/common-pc-64/links/kernel-cache/features/hugetlb/mm-hugetlb-unify-region-structure-handling.patch with "git am" did not pass, trying reduced context.
| [INFO]: Context reduced git-am of .meta/patches/standard/cgl/common-pc-64/links/kernel-cache/features/hugetlb/mm-hugetlb-unify-region-structure-handling.patch with "git am" did not work, trying "apply".
| error: patch failed: fs/hugetlbfs/inode.c:366
| error: fs/hugetlbfs/inode.c: patch does not apply
| error: patch failed: include/linux/hugetlb.h:6
| error: include/linux/hugetlb.h: patch does not apply
| error: patch failed: mm/hugetlb.c:376
| error: mm/hugetlb.c: patch does not apply
| [ERROR]: Application of .meta/patches/standard/cgl/common-pc-64/links/kernel-cache/features/hugetlb/mm-hugetlb-unify-region-structure-handling.patch failed.
|          Patch needs to be refreshed. Sample resolution script:
|              .git/rebase-apply/resolve_rejects
| ERROR. could not update git tree
| ERROR. Could not apply patches for qemux86-64.
|        Patch failures can be resolved in the devshell (bitbake -c devshell linux-windriver)
| WARNING: /WRL7CGP/build_dir/userspace/GIT_201605/lxbuilds/qemux86-64_platform_up/qemux86-64-cgl-glibc-cgl/wrlinux/bitbake_build/tmp/work/qemux86_64-wrs-linux/linux-windriver/3.14-r0/temp/do_patch/run.do_patch.7565:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_patch (log file is located at /WRL7CGP/build_dir/userspace/GIT_201605/lxbuilds/qemux86-64_platform_up/qemux86-64-cgl-glibc-cgl/wrlinux/bitbake_build/tmp/work/qemux86_64-wrs-linux/linux-windriver/3.14-r0/temp/do_patch/log.do_patch.7565)
NOTE: recipe linux-windriver-3.14-r0: task do_patch: Failed
ERROR: Task 108 (/WRL7CGP/build_dir/userspace/GIT_201605/lxbuilds/qemux86-64_platform_up/qemux86-64-cgl-glibc-cgl/wrlinux/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.14.bb, do_patch) failed with exit code '1'
NOTE: recipe busybox-1.22.1-r32.1: task do_package_qa: Started

Steps to Reproduce

1)configure --enable-board=qemux86-64 --enable-kernel=cgl --enable-rootfs=glibc-cgl

2)make linux-windriver

Other Downloads


Live chat
Online