<?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>10365</bug_id>
          
          <creation_ts>2016-10-04 11:46:12 +0000</creation_ts>
          <short_desc>Can&apos;t archive gcc-source-5.3.0 with ARCHIVER_MODE[src] = &quot;patched&quot;</short_desc>
          <delta_ts>2016-11-09 16:46:28 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>2.1.2</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ernst Persson">ernstp</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>66857</commentid>
    <comment_count>0</comment_count>
    <who name="Ernst Persson">ernstp</who>
    <bug_when>2016-10-04 11:46:12 +0000</bug_when>
    <thetext>Here&apos;s the error I get. clean and cleansstate didn&apos;t help.
ARCHIVER_MODE[src] = &quot;original&quot; works.
The archiver-work/ folder is almost empty here.

NOTE: gcc-source-5.3.0-5.3.0-r0 do_unpack_and_patch: Unpacking /stuff/sources/poky/meta/recipes-devtools/gcc/gcc-5.3/CVE-2016-4490.patch to /stuff/project/tmp/work-shared/gcc-5.3.0-r0/archiver-work/
NOTE: gcc-source-5.3.0-5.3.0-r0 do_unpack_and_patch: Applying patch &apos;0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch&apos; (../sources/poky/meta/recipes-devtools/gcc/gcc-5.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch)
ERROR: gcc-source-5.3.0-5.3.0-r0 do_unpack_and_patch: Command Error: &apos;quilt --quiltrc /stuff/project/tmp/sysroots/x86_64-linux/etc/quiltrc push&apos; exited with 1  Output:
Applying patch 0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
can&apos;t find file to patch at input line 18
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 6029bb338305a5d1403ee23427ed8d58eae1ff53 Mon Sep 17 00:00:00 2001
|From: Khem Raj &lt;raj.khem@gmail.com&gt;
|Date: Fri, 29 Mar 2013 08:37:11 +0400
|Subject: [PATCH 01/46] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET
|
|Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
|
|Upstream-Status: Inappropriate [embedded specific]
|---
| configure    | 2 +-
| configure.ac | 2 +-
| 2 files changed, 2 insertions(+), 2 deletions(-)
|
|diff --git a/configure b/configure
|index a3f66ba..1cba3a9 100755
|--- a/configure
|+++ b/configure
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can&apos;t find file to patch at input line 31
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/configure.ac b/configure.ac
|index 987dfab..d3adb95 100644
|--- a/configure.ac
|+++ b/configure.ac
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch 0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch does not apply (enforce with -f)
ERROR: gcc-source-5.3.0-5.3.0-r0 do_unpack_and_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /stuff/project/tmp/work-shared/gcc-5.3.0-r0/temp/log.do_unpack_and_patch.5062
ERROR: Task 3250 (/stuff/sources/poky/meta/recipes-devtools/gcc/gcc-source_5.3.bb, do_unpack_and_patch) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67139</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-10-11 14:43:31 +0000</bug_when>
    <thetext>Fixed in Master

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=45f7221915d1c87341361f50a3c4beab3290e77c

Needs to be merged to krogoth still.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68196</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-11-09 16:46:28 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=krogoth&amp;id=8f5becc3aba0947a37d1a7d844f44d3ff8ef39dd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>