[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/20299] abipkgdiff reports "cpio: Malformed number ..." when unpacking RPMs
https://sourceware.org/bugzilla/show_bug.cgi?id=20299
--- Comment #6 from Joe Stringer <joe at wand dot net.nz> ---
(In reply to dodji from comment #5)
> "joe at wand dot net.nz" <sourceware-bugzilla@sourceware.org> writes:
> >> > I guess that if on redhat distributions the typical rpm2cpio does decompression
> >> > by default then this is something I can take up with the rpmextract maintainer
> >> > in ArchLinux. Worst case the archlinux abigail PKGBUILD could patch the
> >> > abipkgdiff source to add a decompression step.
> >>
> >> well, if rpm2cpio <package> | cpio -idmv could be made to work, I'd be
> >> glad, yes.
> >
> > I think this is the right solution - it looks like the rpm2cpio utility on
> > Archlinux is just a ~25 line script which does not cover many cases (for
> > example, decompression).
>
> Right.
>
> But in the mean time, maybe libabigail's build system could detect the
> presence of bsdtar. So that when you are compiling libabigail, if
> bsdtar is present, then abipkgdiff.cc would use it to extract the
> content of the (possibly compressed) cpio archive emitted by rpm2cpio.
>
> If bsdtar is not present at build time, then abipkgdiff.cc would use
> cpio, just like it does today.
>
> Would that work for you?
That sounds quite reasonable, and it would work for me.
--
You are receiving this mail because:
You are on the CC list for the bug.