<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12443</bug_id>
          
          <creation_ts>2017-12-21 07:39:56 +0000</creation_ts>
          <short_desc>[Test Case 312,313] Bitbake failed after using yocto-kernel add patch</short_desc>
          <delta_ts>2017-12-21 16:01:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>2.4.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="yeoh ee peng">ee.peng.yeoh</reporter>
          <assigned_to name="Stephano Cetola">stephano</assigned_to>
          <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78776</commentid>
    <comment_count>0</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2017-12-21 07:39:56 +0000</bug_when>
    <thetext>Steps to reproduce error:
pokyuser@029f91c4fdce:/workdir/build$ yocto-kernel patch add myqemuarm Yocto-testmod.patch
Added patches:
        Yocto-testmod.patch
pokyuser@029f91c4fdce:/workdir/build$ yocto-kernel patch list myqemuarm
The current set of machine-specific patches for myqemuarm is:
        1) Yocto-testmod.patch
 
pokyuser@029f91c4fdce:/workdir/build$ yocto-kernel config list myqemuarm
The current set of machine-specific kernel config items for myqemuarm is:
        1) CONFIG_MISC_DEVICES=y
        2) CONFIG_YOCTO_TESTMOD=y
        3) CONFIG_FTRACE_SYSCALLS=y
        4) CONFIG_SCHED_TRACER=y
        5) CONFIG_IRQSOFF_TRACER=y
        6) CONFIG_PREEMPT_TRACER=y
 
pokyuser@029f91c4fdce:/workdir/build$ bitbake core-image-sato
 
ERROR: linux-yocto-4.12.14+gitAUTOINC+e3c9041f48_4226b065fc-r0.8 do_kernel_metadata: Could not locate BSP definition for myqemuarm/standard and no defconfig was provided
ERROR: linux-yocto-4.12.14+gitAUTOINC+e3c9041f48_4226b065fc-r0.8 do_patch: Could not apply patches for myqemuarm.
ERROR: linux-yocto-4.12.14+gitAUTOINC+e3c9041f48_4226b065fc-r0.8 do_patch: Patch failures can be resolved in the linux source directory /workdir/build/tmp/work-shared/myqemuarm/kernel-source)
ERROR: linux-yocto-4.12.14+gitAUTOINC+e3c9041f48_4226b065fc-r0.8 do_patch: Function failed: do_patch (log file is located at /workdir/build/tmp/work/myqemuarm-poky-linux-gnueabi/linux-yocto/4.12.14+gitAUTOINC+e3c9041f48_4226b065fc-r0.8/temp/log.do_patch.20311)
ERROR: Logfile of failure stored in: /workdir/build/tmp/work/myqemuarm-poky-linux-gnueabi/linux-yocto/4.12.14+gitAUTOINC+e3c9041f48_4226b065fc-r0.8/temp/log.do_patch.20311
 
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [&apos;/workdir/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot&apos;, &apos;/workdir/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot&apos;]
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: [&apos;quilt-native&apos;, &apos;kern-tools-native&apos;]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_patch
| (1/1) Yocto-testmod.patch
| [INFO]: check of .kernel-meta//patches//./Yocto-testmod.patch with &quot;git am&quot; did not pass, trying reduced context.
| [INFO]: Context reduced git-am of .kernel-meta//patches//./Yocto-testmod.patch with &quot;git am&quot; did not work, trying &quot;apply&quot;.
| error: patch failed: drivers/misc/Kconfig:392
| error: drivers/misc/Kconfig: patch does not apply
| Context reduced to (1/1) to apply fragment at 35
| [ERROR]: Application of .kernel-meta//patches//./Yocto-testmod.patch failed.
|          Patch needs to be refreshed. Sample resolution script:
|              .git/rebase-apply/resolve_rejects
| ERROR: Could not apply patches for myqemuarm.
| ERROR: Patch failures can be resolved in the linux source directory /workdir/build/tmp/work-shared/myqemuarm/kernel-source)
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_patch (log file is located at /workdir/build/tmp/work/myqemuarm-poky-linux-gnueabi/linux-yocto/4.12.14+gitAUTOINC+e3c9041f48_4226b065fc-r0.8/temp/log.do_patch.20311)
ERROR: Task (/workdir/poky/meta/recipes-kernel/linux/linux-yocto_4.12.bb:do_patch) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78801</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-12-21 16:01:33 +0000</bug_when>
    <thetext>At this point we don&apos;t have the resources to maintain this, we&apos;re going to mark this as WONTFIX since we removed the functionality in master. We should continue to test but we&apos;ll only fix issues which are easy to fix or where there is significant user impact.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>