<?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>11584</bug_id>
          
          <creation_ts>2017-05-27 14:12:03 +0000</creation_ts>
          <short_desc>ARCHIVER_MODE[src] = &quot;configured&quot; causes /bin/sh: quilt: command not found</short_desc>
          <delta_ts>2017-06-22 12:56:11 +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>core</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</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.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>mikko.ylinen</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73534</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2017-05-27 14:12:03 +0000</bug_when>
    <thetext>With pyro when I build a core-image-minimal with this enabled:

# --&gt; rber
IMAGE_INSTALL_append = &quot; example&quot;
# include license text in image
COPY_LIC_MANIFEST = &quot;1&quot;
COPY_LIC_DIRS = &quot;1&quot;
# share after do_configure
INHERIT += &quot;archiver&quot;
ARCHIVER_MODE[src] = &quot;configured&quot;
#ARCHIVER_MODE[dumpdata] = &quot;1&quot;
COPYLEFT_LICENSE_INCLUDE = &quot;GPL* LGPL* hello*&quot;
# &lt;-- rber

I get errors on -native packages like this:

ERROR: alsa-lib-native-1.1.3-r0 do_unpack_and_patch: Command Error: &apos;quilt --quiltrc /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal/build/build/tmp/work/x86_64-linux/alsa-lib-native/1.1.3-r0/archiver-work//recipe-sysroot-native/etc/quiltrc push&apos; exited with 0  Output:
/bin/sh: quilt: command not found
ERROR: alsa-lib-native-1.1.3-r0 do_unpack_and_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal/build/build/tmp/work/x86_64-linux/alsa-lib-native/1.1.3-r0/temp/log.do_unpack_and_patch.13009
ERROR: Task (virtual:native:/tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal/build/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb:do_unpack_and_patch) failed with exit code &apos;1&apos;
ERROR: pkgconfig-native-0.29.1+gitAUTOINC+87152c05be-r0 do_unpack_and_patch: Command Error: &apos;quilt --quiltrc /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal/build/build/tmp/work/x86_64-linux/pkgconfig-native/0.29.1+gitAUTOINC+87152c05be-r0/archiver-work//recipe-sysroot-native/etc/quiltrc push&apos; exited with 0  Output:
/bin/sh: quilt: command not found
ERROR: pkgconfig-native-0.29.1+gitAUTOINC+87152c05be-r0 do_unpack_and_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal/build/build/tmp/work/x86_64-linux/pkgconfig-native/0.29.1+gitAUTOINC+87152c05be-r0/temp/log.do_unpack_and_patch.13018
ERROR: Task (virtual:native:/tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal/build/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_unpack_and_patch) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73535</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2017-05-27 15:07:57 +0000</bug_when>
    <thetext>changing ARCHIVER_MODE[src] = &quot;original&quot; causes a new error:

ERROR: linux-yocto-custom-4.9.27-custom-ml-debug+gitAUTOINC+89f3b8d5f2-r0 do_ar_original: Cannot determine archive names for original source because &apos;name&apos; URL parameter is unset in more than one URL. Add it to at least one of these: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;branch=linux-4.9.y file://multi-v7-ml-common;type=kmeta
ERROR: linux-yocto-custom-4.9.27-custom-ml-debug+gitAUTOINC+89f3b8d5f2-r0 do_ar_original: Function failed: do_ar_original
ERROR: Logfile of failure stored in: /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal/build/build/tmp/work/multi_v7_ml-poky-linux-gnueabi/linux-yocto-custom/4.9.27-custom-ml-debug+gitAUTOINC+89f3b8d5f2-r0/temp/log.do_ar_original.11614
ERROR: Task (/tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal/build/meta-mainline/multi-v7-ml/recipes-kernel/linux/linux-yocto-custom_4.9.27.bb:do_ar_original) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73536</commentid>
    <comment_count>2</comment_count>
      <attachid>3778</attachid>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2017-05-27 17:07:52 +0000</bug_when>
    <thetext>Created attachment 3778
proposed patch to fix one problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73537</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2017-05-27 17:13:57 +0000</bug_when>
    <thetext>The patch is part of this patch:

http://lists.openembedded.org/pipermail/openembedded-core/2016-December/129767.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73677</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-06-05 15:01:41 +0000</bug_when>
    <thetext>Ah yes, those archive patches were missed.  I&apos;ve merged that patch into my staging branch, thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73754</commentid>
    <comment_count>5</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-06-06 15:51:09 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; changing ARCHIVER_MODE[src] = &quot;original&quot; causes a new error:
&gt; 
&gt; ERROR: linux-yocto-custom-4.9.27-custom-ml-debug+gitAUTOINC+89f3b8d5f2-r0
&gt; do_ar_original: Cannot determine archive names for original source because
&gt; &apos;name&apos; URL parameter is unset in more than one URL. Add it to at least one
&gt; of these:
&gt; git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;
&gt; protocol=git;branch=linux-4.9.y file://multi-v7-ml-common;type=kmeta
&gt; ERROR: linux-yocto-custom-4.9.27-custom-ml-debug+gitAUTOINC+89f3b8d5f2-r0
&gt; do_ar_original: Function failed: do_ar_original

You don&apos;t necessarily need archiver fixes for this (and in fact the error is for a reason because archiver would not be able to archive correctly). linux-yocto recipes use name=machine and name=meta that work OK, the equivalent for this would be:

git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;branch=linux-4.9.y;name=machine
file://multi-v7-ml-common;type=kmeta;name=meta</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74462</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-06-22 12:56:11 +0000</bug_when>
    <thetext>Merged in oe-core aa2240657b015d46e9ba4bcb6264709a82313d83.

I *think* that&apos;s all the fixes!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>3778</attachid>
            <date>2017-05-27 17:07:52 +0000</date>
            <delta_ts>2017-05-27 17:07:52 +0000</delta_ts>
            <desc>proposed patch to fix one problem</desc>
            <filename>0001-archiver-bbclass.patch</filename>
            <type>text/plain</type>
            <size>1828</size>
            <attacher name="Robert Berger">pokylinux</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvY2xhc3Nlcy9hcmNoaXZlci5iYmNsYXNzIGIvbWV0YS9jbGFzc2Vz
L2FyY2hpdmVyLmJiY2xhc3MKaW5kZXggMzU0M2NhOS4uNzNmMDE4NCAxMDA2NDQKLS0tIGEvbWV0
YS9jbGFzc2VzL2FyY2hpdmVyLmJiY2xhc3MKKysrIGIvbWV0YS9jbGFzc2VzL2FyY2hpdmVyLmJi
Y2xhc3MKQEAgLTE2NiwxMiArMTY2LDE4IEBAIHB5dGhvbiBkb19hcl9vcmlnaW5hbCgpIHsKICAg
ICAgICAgICAgICMgdG8gYmUgc2V0IHdoZW4gdXNpbmcgdGhlIGdpdCBmZXRjaGVyLCBvdGhlcndp
c2UgU1JDUkVWIGNhbm5vdAogICAgICAgICAgICAgIyBiZSBzZXQgc2VwYXJhdGVseSBmb3IgZWFj
aCBVUkwuCiAgICAgICAgICAgICBwYXJhbXMgPSBiYi5mZXRjaDIuZGVjb2RldXJsKHVybClbNV0K
KyAgICAgICAgICAgIHR5cGUgPSBiYi5mZXRjaDIuZGVjb2RldXJsKHVybClbMF0KKyAgICAgICAg
ICAgIGxvY2F0aW9uID0gYmIuZmV0Y2gyLmRlY29kZXVybCh1cmwpWzJdCiAgICAgICAgICAgICBu
YW1lID0gcGFyYW1zLmdldCgnbmFtZScsICcnKQotICAgICAgICAgICAga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mNlIGJlY2F1c2UgJ25hbWUnIFVSTCBwYXJhbWV0ZXIgaXMgdW5zZXQgaW4gbW9yZSB0aGFuIG9u
ZSBVUkwuIEFkZCBpdCB0byBhdCBsZWFzdCBvbmUgb2YgdGhlc2U6ICVzICVzIiAlICh0YXJiYWxs
X3N1ZmZpeFtuYW1lXSwgdXJsKSkKKyAgICAgICAgICAgICAgICAgICAgZWxzZToKKyAgICAgICAg
ICAgICAgICAgICAgICAgIGJiLmZhdGFsKCJDYW5ub3QgZGV0ZXJtaW5lIGFyY2hpdmUgbmFtZXMg
Zm9yIG9yaWdpbmFsIHNvdXJjZSBiZWNhdXNlICduYW1lPScgVVJMIHBhcmFtZXRlciAnJXMnIGlz
IHVzZWQgdHdpY2UuIE1ha2UgaXQgdW5pcXVlIGluOiAlcyAlcyIgJSAodGFyYmFsbF9zdWZmaXhb
bmFtZV0sIHVybCkpCiAgICAgICAgICAgICB0YXJiYWxsX3N1ZmZpeFtuYW1lXSA9IHVybAogICAg
ICAgICAgICAgY3JlYXRlX3RhcmJhbGwoZCwgdG1wZGlyICsgJy8uJywgbmFtZSwgYXJfb3V0ZGly
KQogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>