From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44409 invoked by alias); 3 Jul 2016 21:27:11 -0000 Mailing-List: contact libabigail-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: libabigail-owner@sourceware.org Received: (qmail 44315 invoked by uid 48); 3 Jul 2016 21:26:58 -0000 From: "joe at wand dot net.nz" To: libabigail@sourceware.org Subject: [Bug default/20299] abipkgdiff reports "cpio: Malformed number ..." when unpacking RPMs Date: Fri, 01 Jan 2016 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joe at wand dot net.nz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q3/txt/msg00012.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20299 --- Comment #6 from Joe Stringer --- (In reply to dodji from comment #5) > "joe at wand dot net.nz" writes:=20 > >> > I guess that if on redhat distributions the typical rpm2cpio does de= compression > >> > 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. > >>=20 > >> well, if rpm2cpio | 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). >=20 > Right. >=20 > 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. >=20 > If bsdtar is not present at build time, then abipkgdiff.cc would use > cpio, just like it does today. >=20 > Would that work for you? That sounds quite reasonable, and it would work for me. --=20 You are receiving this mail because: You are on the CC list for the bug.