Bug 13958 - busybox ar can not extract ipk files anymore
Summary: busybox ar can not extract ipk files anymore
Status: RESOLVED NOTABUG
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.4.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-06-24 11:11 UTC by Khem Raj
Modified: 2020-06-25 10:53 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khem Raj 2020-06-24 11:11:08 UTC
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.
Comment 1 Richard Purdie 2020-06-25 06:29:56 UTC
Is this not the change to the compression format rather than anything else? Maybe the move to xz for compression?
Comment 2 Khem Raj 2020-06-25 10:53:29 UTC
(In reply to comment #1)
> Is this not the change to the compression format rather than anything else?
> 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