From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45859 invoked by alias); 27 Jun 2016 07:51:19 -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 45836 invoked by uid 89); 27 Jun 2016 07:51:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Joe, archlinux, ArchLinux, learn X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 2 recipients X-HELO: ms.seketeli.net From: Dodji Seketeli To: "joestringernz+sourceware at gmail dot com" Cc: libabigail@sourceware.org Subject: Re: [Bug default/20299] New: abipkgdiff reports "cpio: Malformed number ..." when unpacking RPMs Organization: Me, myself and I References: X-Operating-System: Red Hat Enterprise Linux Server 7.2 X-URL: http://www.seketeli.net/~dodji Date: Fri, 01 Jan 2016 00:00:00 -0000 In-Reply-To: (joestringernz's message of "Fri, 24 Jun 2016 18:51:14 +0000") Message-ID: <86a8i76peg.fsf@seketeli.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2016-q2/txt/msg00127.txt.bz2 Hello Joe, > Unfortunately when I tried to pass RPM packages to abipkgdiff, I see a la= rge > number of complaints like the following from cpio 2.12-3 (used from rpmex= tract > 1.0-7). On Fedora/CentOS, 'make check' works fine with cpio 2.12-3. What abipkgdiff does is rpm2cpio | cpio -dium --quiet'. So maybe what rpm2cpio emits on your system has a problem? There must be something in your environment that is different from what we see on Fedora, and that is impacting the unpacking. We just need to figure what, I guess. So to see what the tool is doing, you can run abipkgdiff with the option --verbose and attach the result here, so that we can learn more. Sadly I don't have an Arch system at hand to test with right now. So I'd need your help with this. > cpio: Malformed number <9c><90>$=C3=8D}=C3=BD^]=C3=92=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 > cpio: Malformed number <90>$=C3=8D}=C3=BD^]=C3=92c=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 > cpio: Malformed number $=C3=8D}=C3=BD^]=C3=92c=C3=9A I'd need to have more context than this. > When I run "make check" in the source tree, I get failures for runtestdif= fpkg > and runtestdefaultsupprs.py. Looking in the tests/output/test-diff-pkg > directory, none of the rpm reports have any content. I guess this is beca= use > the test captures stdout to these files, but only stderr gets output beca= use of > the cpio error I'm seeing above. I think you should look at the content of the file /tests/test-suite.log. That one should contain more information, hopefully. At least from there you'd see what invidual abipkgdiff command you need to re-run with the --verbose option to learn more about what went wrong. > I've attached the error log. I know there are various environmental diffe= rences > on ArchLinux, eg python3 by default, but I'm not sure where to start to > identify what might be causing this. Sorry, I don't see file attached to the bug. Thank you for taking the time to file this problem report and I look forward to us sorting this issue out together. --=20 Dodji