Hide Forgot
Version-Release number of selected component (if applicable): valgrind-3.6.0-3.el6 Steps to Reproduce: 1. rpmbuild --define '__patch /bin/true' --rebuild valgrind-3.6.0-3.el6.src.rpm Actual results: DEBUG: + chmod 755 none/tests/s390x/filter_stderr DEBUG: chmod: cannot access `none/tests/s390x/filter_stderr': No such file or directory DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.oesq2p (%prep) DEBUG: Bad exit status from /var/tmp/rpm-tmp.oesq2p (%prep) Additional info: The proposed change is required for Coverity to scan defects in downstream patches separately.
Created attachment 501396 [details] proposed fix
For the time being try rawhide valgrind (3.6.1-3.fc16). The first hunk is the same there, the testsuite is (hopefully) solved by moving it into %check section.
valgrind-3.6.1-3.1.fc16 is much more friendly with the Coverity analysis. I only needed the following one-line patch to get the vanilla build running with glibc-2.14: --- a/valgrind.spec +++ b/valgrind.spec @@ -105,7 +105,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 -%patch8 -p1 +%patch8 -p1 %{?_rawbuild} %patch9 -p1 %patch10 -p1 %patch11 -p1
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1651.html