Bug 151602 - Package build ignores self-test errors
Package build ignores self-test errors
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: perl (Show other bugs)
3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Warren Togami
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-20 13:36 EST by Steve Snyder
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-17 19:52:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Steve Snyder 2005-03-20 13:36:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050227 Fedora/1.7.5-4.icc

Description of problem:
When rebuilding binary RPM from recent perl SRPMs, errors in self-test are ignored.

The Perl self-test always fails (at least 1 failure - see bug #127023).  This can clearly seen by running this command:

  rpmbuild -bc /usr/src/redhat/SPREC/perl.spec

The self-test is run as part of the build and the number of failed test is shown at the end.

Now do this:

  rpmbuild -bb /usr/src/redhat/SPREC/perl.spec

The same errors occure during the compile/self-test, but this time the build breezes right by, continuing to build the binary packages.


Version-Release number of selected component (if applicable):
perl-5.8.3-18.src.rpm through perl-5.8.6-5.src.rpm

How reproducible:
Always

Steps to Reproduce:
1. Rebuild binary Perl packages from SRPM.
2. Pay attention to the results of the self-test, note non-zero number of failures.
3. Build of binary packages runs to completion despite failures.


Actual Results:  Some tests within the self-test suite fail, yet binary packages build without complaint.

Expected Results:  Either no self-tests should fail (the ideal) or the build of the binary RPMs should also fail, to reflect the bad build.


Additional info:

I see this same behavior with the Perl SRPMs from FC2, FC3 and current Rawhide.  I just picked the FC3 distro as the "Version" because it is the most recently released.  This is actually a long-standing problem.
Comment 1 Warren Togami 2005-05-17 19:52:52 EDT
We are unable to fix this at this time.

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