<?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>3182</bug_id>
          
          <creation_ts>2012-09-26 15:51:45 +0000</creation_ts>
          <short_desc>Replace Zypper/RPM integration with a smaller/better package resolver/manager - I.E. SMART/RPM</short_desc>
          <delta_ts>2013-02-08 09:02:35 +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>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.4 M2</target_milestone>
          <dependson>3346</dependson>
    
    <dependson>3349</dependson>
    
    <dependson>3350</dependson>
    
    <dependson>3351</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>bluelightning</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>n3npq</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>zhenfeng.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25794</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2012-09-26 15:51:45 +0000</bug_when>
    <thetext>I propose that we replace any of the existing Zypper integration work with SMART.  See: http://labix.org/smart

Zypper has a number of issues: it&apos;s been difficult to upgrade, it doesn&apos;t support recommends v. requirements hinting, it requires C++ on the target, Boost framework, and requires a hard-coded set of supported architecture types.

SMART looks like it will be better based on: Python based (more compatible w/ bitbake/oe methods), it may support hinting, it will be easier to implement the architecture types, if it doesn&apos;t already support variable sets.

Possible work required to implement SMART:

- Enable RPM Python support in the rpm recipe
  - May already work, may require minor changes to rpm recipe

- Implement SMART recipe
  - identify SMART dependencies
  - implement SMART and dependencies (recipe integration)
  - verify hinting (recommends) capabilities
  - verify dynamic arch capabilities
  - Enhance smart if needed for the above

- Implement SMART feeds
  - Update package-index (and related) to construct SMART compatible feeds
  - Update rootfs_rpm.bbclass (and related) to construct/use SMART compatible feeds</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25795</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2012-09-26 15:52:48 +0000</bug_when>
    <thetext>Note, if this is implemented it may obsolete open defects 970, 821, 2694, and 3098.

Also implementing SMART assumes target, native and nativesdk capabilities.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25796</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-09-26 16:00:50 +0000</bug_when>
    <thetext>I assume this would replace zypper support which we&apos;d drop?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25799</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2012-09-26 16:03:01 +0000</bug_when>
    <thetext>Yes, that is the expectation if SMART is implemented, drop Zypper, and it&apos;s related dependencies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27106</commentid>
    <comment_count>4</comment_count>
    <who name="Bogdan Marinescu">bogdan.a.marinescu</who>
    <bug_when>2012-10-31 13:48:38 +0000</bug_when>
    <thetext>Apparently, this bug became a &quot;meta-bug&quot; which will track the status of the smart implementation via its dependencies. So I&apos;m moving it to &quot;Accepted&quot; to keep things in sync, but most (if not all) the work will happen by fixing the forementioned dependencies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27107</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-10-31 13:50:36 +0000</bug_when>
    <thetext>Indeed, this is now a meta-bug, the real work is covered under the items marked as dependents of this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27108</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-10-31 13:51:03 +0000</bug_when>
    <thetext>Sorry, I meant dependencies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27510</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-11-16 00:44:38 +0000</bug_when>
    <thetext>1.4 M3 isn&apos;t correct here - the expected delivery date is before mid-December.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27968</commentid>
    <comment_count>8</comment_count>
    <who name="Jeff Johnson">n3npq</who>
    <bug_when>2012-12-04 17:21:55 +0000</bug_when>
    <thetext>Tracked at https://bugs.launchpad.net/rpm/+bug/1086479.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28837</commentid>
    <comment_count>9</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2013-01-15 18:58:39 +0000</bug_when>
    <thetext>Smart has been successfully integrated.  Once Zypper (and related) have been removed from the system, this bug can be set as resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29193</commentid>
    <comment_count>10</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-01-25 11:45:18 +0000</bug_when>
    <thetext>Zypper has now been removed in master, marking as resolved. Any further issues with the current Smart/RPM integration should be opened as new bugs (assuming they aren&apos;t already filed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29665</commentid>
    <comment_count>11</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-02-08 09:02:35 +0000</bug_when>
    <thetext>Verified in master:8d6e55bf2192524bda84138b5356a2791adbbe61</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>