<?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>13500</bug_id>
          
          <creation_ts>2019-09-03 15:45:46 +0000</creation_ts>
          <short_desc>Bad relationship definitions are ignored by opkg</short_desc>
          <delta_ts>2020-07-17 11:32:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</component>
          <version>0.4.1</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xander">xander.huff</reporter>
          <assigned_to name="Alejandro del Castillo">alejandro.delcastillo</assigned_to>
          
          
          
          <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>84864</commentid>
    <comment_count>0</comment_count>
    <who name="Xander">xander.huff</who>
    <bug_when>2019-09-03 15:45:46 +0000</bug_when>
    <thetext>We found after some packages had shipped that opkg apparently ignores malformed relationships in control files. For example, if you have the following:

Depends: a &gt;= 2.0

opkg ignores the &apos;&gt;= 2.0&apos; because the relationship omitted parentheses. opkg info just shows &apos;Depends: a&apos;

Similarly, if you have:

Depends: a (&gt;= 2.0), b (&gt;= 3.0) c (&gt;= 4.0)

opkg ignores the &apos;c&apos; relationship because there is no comma. opkg info just shows &apos;Depends a (&gt;= 2.0), b (&gt;= 3.0)&apos;

This issue applies to all forms of relationship (such as Recommends)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87784</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2020-07-17 11:32:21 +0000</bug_when>
    <thetext>This functionality shouldn&apos;t be on opkg proper, since the opkg functionality is meant to be limited (save space, etc). A linter should catch this sort of errors. Reusing debian linters or extending them might provide the required functionality.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>