<?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>15661</bug_id>
          
          <creation_ts>2024-11-25 18:09:30 +0000</creation_ts>
          <short_desc>bitbake fetcher does not support new ipk format</short_desc>
          <delta_ts>2025-01-16 15:35:56 +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>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Weston Schmidt">weston_schmidt</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <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>100268</commentid>
    <comment_count>0</comment_count>
    <who name="Weston Schmidt">weston_schmidt</who>
    <bug_when>2024-11-25 18:09:30 +0000</bug_when>
    <thetext>When tracking down why my ipks aren&apos;t working with `inherit bin_package` I think I discovered a bug with bitbake not supporting the different forms of ipk that are allowed.

This code appears to expect the ipk to be an `ar` format.
https://github.com/openembedded/bitbake/blob/06aa6c292813a28c84736193b550fb2d18884d43/lib/bb/fetch2/__init__.py#L1575

Based on the opkg code, an ipk can be several forms:
https://git.yoctoproject.org/opkg/tree/libopkg/opkg_archive.c#n505

It would be ideal to support all the forms available on a platform (if the compression is present).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100308</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-11-28 15:43:11 +0000</bug_when>
    <thetext>The bitbake fetcher does not support ipk new formats yet.

Could you work on and send a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100309</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-11-28 15:44:04 +0000</bug_when>
    <thetext>Move to need info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100451</commentid>
    <comment_count>3</comment_count>
    <who name="Weston Schmidt">weston_schmidt</who>
    <bug_when>2024-12-17 16:40:17 +0000</bug_when>
    <thetext>I&apos;m not sure how &quot;new&quot; this feature is - https://git.yoctoproject.org/opkg/commit/libopkg?id=44ad8888728959ea0c9eedddeff449b8112e01f5 shows the ipk package structure has existed in the current form since 2016, if not before.

My expectation is that the forms libopkg support should all be supported by bitbake unless there is a reason why that&apos;s technically impossible.  These are both yocto hosted projects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100661</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-01-16 15:35:56 +0000</bug_when>
    <thetext>The bitbake fetcher only supports the older format.
Someone who uses the newer format and fetching will have to submit a patch.

No one plans to work on this in the short term so set to 5.99.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>