Red Hat Bugzilla – Bug 151602
Package build ignores self-test errors
Last modified: 2007-11-30 17:11:02 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
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.
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.
We are unable to fix this at this time.