<?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>13958</bug_id>
          
          <creation_ts>2020-06-24 11:11:08 +0000</creation_ts>
          <short_desc>busybox ar can not extract ipk files anymore</short_desc>
          <delta_ts>2020-06-25 10:53:29 +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.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Khem Raj">raj.khem</reporter>
          <assigned_to name="Alejandro del Castillo">alejandro.delcastillo</assigned_to>
          <cc>richard.purdie</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>87570</commentid>
    <comment_count>0</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2020-06-24 11:11:08 +0000</bug_when>
    <thetext>busybox ar applet can be used to extract opkg and dpkg archives, however of late it has started to regress in dunfell onwards, it worked well before. To reproduce the problem take any ipk produced by build and try to extract it

busybox ar -x ./xz_5.2.5-r0.2_cortexa55.ipk

the extraction works fine with binutils ar, however something in ipk header has changed which is not compatible with what busybox is expecting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87586</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-06-25 06:29:56 +0000</bug_when>
    <thetext>Is this not the change to the compression format rather than anything else? Maybe the move to xz for compression?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87619</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2020-06-25 10:53:29 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Is this not the change to the compression format rather than anything else?
&gt; Maybe the move to xz for compression?

In the end, I think its a busybox bug, where it cant handle archives built with ar -D
therefore I have filed a bug for busybox upstream [1]. This can be closed.

[1] https://bugs.busybox.net/show_bug.cgi?id=13036</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>