<?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>10700</bug_id>
          
          <creation_ts>2016-11-22 09:38:58 +0000</creation_ts>
          <short_desc>buildtools + deb packaging: Package nativesdk-buildtools-perl-dummy not found</short_desc>
          <delta_ts>2017-02-02 12:33:30 +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.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</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.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michel D&apos;HOOGE">michel.dhooge</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.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>68481</commentid>
    <comment_count>0</comment_count>
      <attachid>3543</attachid>
    <who name="Michel D&apos;HOOGE">michel.dhooge</who>
    <bug_when>2016-11-22 09:38:58 +0000</bug_when>
    <thetext>Created attachment 3543
git diff meta/classes/package_deb.bbclass

This bug report follows a discussion with Paul Eggleton on the Yocto mailing list.
https://lists.yoctoproject.org/pipermail/yocto/2016-November/033065.html

The problem is that the ARCH value of nativesdk-buildtools-perl-dummy is &quot;allarch&quot; (both in the name of the produced .deb files and in the Packages corresponding summary file). This should be only &quot;all&quot;.

The patch in attachment corrects the problem on my side.

Note that Paul was concerned that maybe the dummy package would be discarded in favor of &quot;real&quot; perl packages.
From what I see in x86_64-buildtools-nativesdk-standalone-2.2.host.manifest, this isn&apos;t the case. Only the following packages have perl in their names.
  nativesdk-buildtools-perl-dummy buildtools-dummy-nativesdk 1.0-r2
  nativesdk-git-perltools x86-64-nativesdk 2.9.3-r0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70175</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-01-26 12:44:25 +0000</bug_when>
    <thetext>That solution isn&apos;t very general and will break if another package tries the same trick.  Patch on the list for a different fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70362</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-02-02 12:33:30 +0000</bug_when>
    <thetext>Fixed in oe-core 58a5771f20f7851816b5f39df0ada8f16438065c.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>3543</attachid>
            <date>2016-11-22 09:38:58 +0000</date>
            <delta_ts>2016-11-22 09:38:58 +0000</delta_ts>
            <desc>git diff meta/classes/package_deb.bbclass</desc>
            <filename>patch.diff</filename>
            <type>text/plain</type>
            <size>909</size>
            <attacher name="Michel D&apos;HOOGE">michel.dhooge</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvY2xhc3Nlcy9wYWNrYWdlX2RlYi5iYmNsYXNzIGIvbWV0YS9jbGFz
c2VzL3BhY2thZ2VfZGViLmJiY2xhc3MKaW5kZXggZmI2MDM0Yy4uOGM5ZjJlOSAxMDA2NDQKLS0t
IGEvbWV0YS9jbGFzc2VzL3BhY2thZ2VfZGViLmJiY2xhc3MKKysrIGIvbWV0YS9jbGFzc2VzL3Bh
Y2thZ2VfZGViLmJiY2xhc3MKQEAgLTE1NCw4ICsxNTQsMTAgQEAgcHl0aG9uIGRvX3BhY2thZ2Vf
ZGViICgpIHsKICAgICAgICAgICAgICAgICBkYXRhID0gZC5nZXRWYXIoaSwgVHJ1ZSkKICAgICAg
ICAgICAgICAgICBpZiBkYXRhIGlzIE5vbmU6CiAgICAgICAgICAgICAgICAgICAgIHJhaXNlIEtl
eUVycm9yKGYpCi0gICAgICAgICAgICAgICAgaWYgaSA9PSAnRFBLR19BUkNIJyBhbmQgZC5nZXRW
YXIoJ1BBQ0tBR0VfQVJDSCcsIFRydWUpID09ICdhbGwnOgotICAgICAgICAgICAgICAgICAgICBk
YXRhID0gJ2FsbCcKKyAgICAgICAgICAgICAgICBpZiBpID09ICdEUEtHX0FSQ0gnOgorICAgICAg
ICAgICAgICAgICAgICBwa2dhcmNoID0gZC5nZXRWYXIoJ1BBQ0tBR0VfQVJDSCcsIFRydWUpCisg
ICAgICAgICAgICAgICAgICAgIGlmIHBrZ2FyY2ggPT0gJ2FsbCcgb3IgcGtnYXJjaC5zdGFydHN3
aXRoKCdidWlsZHRvb2xzLWR1bW15LScpOgorICAgICAgICAgICAgICAgICAgICAgICAgZGF0YSA9
ICdhbGwnCiAgICAgICAgICAgICAgICAgZWxpZiBpID09ICdQQUNLQUdFX0FSQ0gnIG9yIGkgPT0g
J0RQS0dfQVJDSCc6CiAgICAgICAgICAgICAgICAgICAgIyBUaGUgcGFyYW1zIGluIGRlYiBwYWNr
YWdlIGNvbnRyb2wgZG9uJ3QgYWxsb3cgY2hhcmFjdGVyCiAgICAgICAgICAgICAgICAgICAgIyBg
XycsIHNvIGNoYW5nZSB0aGUgYXJjaCdzIGBfJyB0byBgLScuIFN1Y2ggYXMgYHg4Nl82NCcK
</data>

          </attachment>
      

    </bug>

</bugzilla>