<?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>8102</bug_id>
          
          <creation_ts>2015-08-05 10:24:44 +0000</creation_ts>
          <short_desc>RRS should remove -native, -initial, -cross, etc. suffixes from package names when doing upstream checks</short_desc>
          <delta_ts>2017-06-07 19:42:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Recipe Reporting System (RRS)</product>
          <component>Recipe Reporting System (RRS)</component>
          <version>unspecified</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.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Kanavin">alex.kanavin</reporter>
          <assigned_to name="Aníbal Limón">anibal.limon</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="David Lopez Barriba">davidx.lopez.barriba</qa_contact>
          <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>52832</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2015-08-05 10:24:44 +0000</bug_when>
    <thetext>Same as distrodata.bbclass does in checkpkg() task. That way it will be able to find correct tarballs upstream, and we don&apos;t have to duplicate the custom regexes in package_regex.inc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52959</commentid>
    <comment_count>1</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-08-10 19:40:31 +0000</bug_when>
    <thetext>At,

https://lists.yoctoproject.org/pipermail/yocto/2015-August/026058.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52991</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2015-08-11 12:10:18 +0000</bug_when>
    <thetext>Thanks, I don&apos;t have a local RRS setup here to verify the code, but it seems fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52993</commentid>
    <comment_count>3</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-08-11 13:36:50 +0000</bug_when>
    <thetext>Merged at,

http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/commit/?h=rrs-dev&amp;id=d882336f7ed08c210227bc5b52412355edeb72d9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53357</commentid>
    <comment_count>4</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2015-08-24 14:36:46 +0000</bug_when>
    <thetext>Somehow this still doesn&apos;t work for binutils family. There is:

GITTAGREGEX_pn-binutils = &quot;binutils-(?P&lt;pver&gt;\d+_(\d_?)*)&quot;

but it only has effect for the basic binutils recipe, and not any others, as can be seen here:

http://recipes.yoctoproject.org/rrs/recipes/1.9/M3/

At the same time, the gcc family of recipes is handled perfectly. Not sure why - is it because of this code snippet in your patch?


+ variables = [&apos;REGEX&apos;, &apos;REGEX_URI&apos;, &apos;GITTAGREGEX&apos;]
+
+ if any(d.getVar(var, True) for var in variables):
+ return</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54503</commentid>
    <comment_count>5</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-09-22 23:42:17 +0000</bug_when>
    <thetext>At, 

https://lists.yoctoproject.org/pipermail/yocto/2015-September/026562.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>