Description of problem: Attempting to build the source rpm ends abruptly with [...] Patch #256 (util-linux-2.13-raw-raw0.patch): + patch -p1 -s 1 out of 2 hunks FAILED -- saving rejects to file diskutils/raw.c.rej error: Bad exit status (etc) Version-Release number of selected component (if applicable): 2.13-0.44.el5 How reproducible: Every time, obviously. Additional info: Building on ppc32. I can't imagine it makes any difference, but neither can I explain how you managed to compile it and QA it and release it, unless you used The Force... Related to non-public #216712.
Sorry for this nasty bug. There is missing "if" condition: %if %{include_raw} %patch256 -p1 %endif You need to recompile the package by: # rpmbuild --define "dist .el5" --define "rhel 5" -ba util-linux.spec (all RHEL5 packages are compiled with these options, fortunately there is small number of packages with with an "if 0%{dist}")
Thanks. I can confirm it works.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Since this bugzilla is in a component that is not approved for the current release, it has been closed with resolution deferred. You may reopen this bugzilla for consideration in the next release.
*** Bug 277761 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0561.html