RPM

rpm -bi --short-circuit also does check

Bug #634104 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
Fix Released
Low
devzero2000
Mandriva
Unknown
Medium

Bug Description

tracker

Revision history for this message
Jeff Johnson (n3npq) wrote :

The rpmbuild state machine is a linear sequence of
steps leading to a "reproducible build" which
ends up producing *.rpm packages.

The %check stage was added after %prep/%build/%check/%clean
and was not wired into the rpmbuild options largely because
that might have caused incompatibilities.

Its still not clear whether adding %check like %prep/%build/%install
is more gain than pain.

No matter what: %check most definitely should be run by
    rpmbuild -bi --short-circuit

What is typically done to disable %check is to overload
the section marker as a macro to do an exit 0. E.g. in
some macro file that is loaded:

    %check %%check \
     exit 0

or (from the CLI) adding
    --define 'check exit 0'

tags: added: mandriva rpmbuild
Changed in rpm:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
devzero2000 (pinto-elia) wrote :

added --withoutcheck poptalias in HEAD @rpm5.org

Changed in rpm:
status: Triaged → Fix Committed
assignee: nobody → devzero2000 (pinto-elia)
Changed in mandriva:
status: Unknown → In Progress
Changed in mandriva:
importance: Unknown → Medium
Changed in mandriva:
status: In Progress → Unknown
devzero2000 (pinto-elia)
Changed in rpm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.