Bug 462391 - Cannot creative legacy packages: --nodirtokens still broken
Summary: Cannot creative legacy packages: --nodirtokens still broken
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-09-15 20:55 UTC by Peter Åstrand
Modified: 2009-01-07 09:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-10-01 09:07:54 UTC
Type: ---

Attachments (Terms of Use)
Patch against RPM 4.0.4 (1010 bytes, patch)
2008-09-16 16:36 UTC, Peter Åstrand
no flags Details | Diff

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 56040 0 medium CLOSED rpm 4.0.3 with --nodirtokens creates empty package 2021-02-22 00:41:40 UTC

Description Peter Åstrand 2008-09-15 20:55:11 UTC
This is a continuation of bug 56040. The --nodirtokens option is *still* broken. It creates packages with empty CPIO archives. I've verified this on:

* Red Hat 7.3 with rpm-4.0.4-7x.18
* Fedora Core 6 with rpm-
* Fedora 8 with rpm-

I've also verified that the ChangeLog for doesn't mention anything about this. I can try the latest GIT as well, if necessary (but the build fails currently on my systems). 

It's easy to verify the problem: Just run rpm2cpio on the resulting package, and you will get something like:


That is, no actual files.

Comment 1 Panu Matilainen 2008-09-16 09:10:32 UTC
Easily reproduced, easily fixed... Upstream now, Fedora will get it after the beta freeze.

Comment 2 Peter Åstrand 2008-09-16 16:36:15 UTC
Created attachment 316863 [details]
Patch against RPM 4.0.4

You are my hero! Thanks. 

Attaching a patch against RPM 4.0.4, if anyone's interested.

Comment 3 Panu Matilainen 2008-10-01 09:07:54 UTC
In rawhide now (rpm-4.5.90-0.git8514.1)

FWIW I've also applied it to rpm 4.4.x branch so the next maintenance release for that will get it too. rpm 4.0.4 isn't going to see maintenance releases I'm afraid :)

Comment 4 Fedora Update System 2009-01-07 09:28:39 UTC
rpm- has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

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