Bug 671210 - short-circuit-built rpm cannot be installed due to new missing dependency
Summary: short-circuit-built rpm cannot be installed due to new missing dependency
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-20 18:49 UTC by Mamoru TASAKA
Modified: 2011-01-21 07:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-21 07:17:55 UTC
Type: ---


Attachments (Terms of Use)

Description Mamoru TASAKA 2011-01-20 18:49:24 UTC
Description of problem:
When I:

$ rpm -ivh foo.src.rpm
$ rpmbuild -bc foo.spec
$ rpmbuild -bi --short-circuit foo.spec
$ rpmbuild -bb --short-circuit foo.spec
# rpm -Fvh foo.i686.rpm

Then the rebuilt rpms cannot be upgraded like:
# env LANG=C rpm -Fvh xscreensaver-*rpm
error: Failed dependencies:
        rpmlib(ShortCircuited) <= 4.9.0-1 is needed by xscreensaver-1:5.12-10.1.fc.i686
        rpmlib(ShortCircuited) <= 4.9.0-1 is needed by xscreensaver-base-1:5.12-10.1.fc.i686
        rpmlib(ShortCircuited) <= 4.9.0-1 is needed by xscreensaver-debuginfo-1:5.12-10.1.fc.i686
        rpmlib(ShortCircuited) <= 4.9.0-1 is needed by xscreensaver-extras-1:5.12-10.1.fc.i686
        rpmlib(ShortCircuited) <= 4.9.0-1 is needed by xscreensaver-extras-base-1:5.12-10.1.fc.i686
        rpmlib(ShortCircuited) <= 4.9.0-1 is needed by xscreensaver-gl-base-1:5.12-10.1.fc.i686
        rpmlib(ShortCircuited) <= 4.9.0-1 is needed by xscreensaver-gl-extras-1:5.12-10.1.fc.i686


Version-Release number of selected component (if applicable):
rpm-4.9.0-0.beta1.1.fc15.i686

How reproducible:
100%

Comment 1 Yanko Kaneti 2011-01-20 19:01:49 UTC
By design? 
To quote from the rpm.org release notes for 4.9.0. 
http://rpm.org/wiki/Releases/4.9.0

"Short-circuiting binary builds is now allowed by rpmbuild for developer convenience while testing. Short-circuited packages are tainted with an unsatisfiable dependency to limit their use for the intended testing-only purpose. "

Comment 2 Mamoru TASAKA 2011-01-20 19:14:58 UTC
Testing cannot be done without actually installing the rebuilt
rpm, I guess?

Comment 3 Panu Matilainen 2011-01-21 07:17:55 UTC
By design, yes. For testing purposes you can circumvent it with --nodeps on install. It also means you can easily find any short-circuited packages on a system with 'rpm -Va --nofiles'.


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