Bug 790396
Summary: | rpm2cpio returns failure exit code on large files even though it ran successfully | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martin Milata <mmilata> | ||||
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | abrt-devel-list, ffesti, jnovy, kklic, pahan, pmatilai | ||||
Target Milestone: | --- | Keywords: | Upstream | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-11-19 11:08:03 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Martin Milata
2012-02-14 12:31:30 UTC
Yup, the ufdCopy() incorrect return type is known (but many times forgotten) problem. ssize_t is not enough for it either, off_t would be more like it. Unfortuntely ufdCopy() is part of librpmio public API so changing the return type can't really be done in a stable release, short of grabbing an internal copy of it into rpm2cpio (which actually is the only caller within rpm itself) for the time being. Thanks for the report and patch anyway, having an open bug helps to avoid forgetting about it yet again :) Fixed upstream now for what will be rpm >= 4.10 where the slight API change is still possible, for older versions this will need a slightly different approach. *** Bug 744712 has been marked as a duplicate of this bug. *** This in fixed in Fedora >= 18. As noted in comment #1, the API problem can't be fixed in rpm 4.9.x and doesn't seem worth the trouble working around... |