<?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>3905</bug_id>
          
          <creation_ts>2013-02-18 16:30:29 +0000</creation_ts>
          <short_desc>ipkg/opkg data does not track dependency on version numbers</short_desc>
          <delta_ts>2013-03-01 13:41: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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Damian">alexandru.damian</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>29926</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-02-18 16:30:29 +0000</bug_when>
    <thetext>When using ipkg/opkg package system,

all version-specific DEPENDS, CONFLICTS, RDEPENDS and RCONFLICTS 

will fail to take into account the specific version number dependency, probably through a limitation of opkg/ipkg.

e.g., when init-ifupdown_1.0 recipe declares 
RCONFLICTS_${PN} = &quot;netbase (&lt; 1:5.0)&quot;

it is trying to forbid all netbase packages version earlier than 5.0.

However, the opkg/ipkg package management will refuse to install both init-ifupdown and netbase-5.0 ! on the account that the conflict list for init-ifupdown  contains &quot;netbase&quot;, without any reference to the version number.


This needs to be contained/fixed/documented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29928</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-02-18 16:35:30 +0000</bug_when>
    <thetext>only 4 instances in the base layers as of today.

# grep -rIn &quot;[A-Z]\+.*=.*(.*[0-9]\+\.[0-9]\+)&quot; meta*

meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb:37:RCONFLICTS_${PN} = &quot;netbase (&lt; 1:5.0)&quot;
meta/recipes-support/libcheck/libcheck_0.9.9.bb:23:RREPLACES_${PN} = &quot;check (&lt;= 0.9.5)&quot;
meta/recipes-support/gnutls/gnutls.inc:4:DEPENDS = &quot;zlib lzo libtasn1 libgcrypt (&gt;= 1.4.2) libcap readline&quot;
meta/recipes-support/libusb/libusb1_1.0.9.bb:1:DESCRIPTION = &quot;Userspace library to access USB (version 1.0)&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29959</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-02-19 13:30:38 +0000</bug_when>
    <thetext>Previously, we found the version component of the field was getting lost in some cases due to: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=10f05d5b5866317a8c2de09455b548ff848afecd

It sounds like something else is losing the version part of the field, or you have stale packages in the system somehow, (likely a machine specific package becoming non-machine specific as I know Martin has reported some issues in this area).

Can you reproduce this on a clean build?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30327</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-01 13:41:28 +0000</bug_when>
    <thetext>I don&apos;t have enough information to be able to reproduce this, going to assume it was fixed by the patch mentioned, or caused by the machine specific package transition as indicated.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>