Bug 167483 - rpm2cpio http://foo: assertion fail
Summary: rpm2cpio http://foo: assertion fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: i686
OS: Linux
medium
low
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
: 229422 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-03 00:53 UTC by Jan Kratochvil
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: 4.4.2-43
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-27 12:29:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kratochvil 2005-09-03 00:53:27 UTC
Description of problem:
rpm2cpio(1) not usable for direct "http" downloads.

Version-Release number of selected component (if applicable):
rpm-4.4.1-22

How reproducible:
always

Steps to Reproduce:
1. rpm2cpio
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/4/i386/os/Fedora/RPMS/fedora-release-4-2.noarch.rpm|file
-

Actual results:
rpm2cpio: ./rpmio_internal.h:298: fdGetFp: Assertion `fd && fd->magic ==
0x04463138' failed.
Aborted

Expected results:
/dev/stdin: ASCII cpio archive (SVR4 with no CRC)

Additional info:
Workaroundable as:
wget -q -O -
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/4/i386/os/Fedora/RPMS/fedora-release-4-2.noarch.rpm|rpm2cpio|file
-

Comment 1 Christian Iseli 2007-01-22 12:01:13 UTC
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Thanks.

Comment 2 Jan Kratochvil 2007-01-22 13:07:50 UTC
It has been fixed by rpm-4.4.2-37.


Comment 4 Jeff Johnson 2007-02-21 04:17:31 UTC
Hmmm, I doubt that the problem is fixed, certainly not so if neon is used for http transport.

Checking ...

$ rpm2cpio http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/4/i386/os/Fedora/RPMS/fedora-release-4-
2.noarch.rpm
rpm2cpio: ./rpmio_internal.h:301: fdGetFp: Assertion `fd && fd->magic == 0x04463138' failed.
Aborted

Yes, not fixed ... reopening

Comment 5 Jan Kratochvil 2007-02-21 08:24:34 UTC
You are right, it got fixed for RHEL5 as it no longer uses neon, it should be
ported to FC (or some other bugfix found).


Comment 6 Panu Matilainen 2007-06-27 12:29:47 UTC
Fixed in Fedora since 4.4.2-43 (and thus in FC7 and rawhide) by not using neon.

Comment 7 Panu Matilainen 2007-07-18 18:19:01 UTC
*** Bug 229422 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.