Bug 234303 - src.rpm does't build
src.rpm does't build
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: util-linux (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Ben Levenson
: Reopened
: 277761 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-28 07:35 EDT by Zenon Panoussis
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2007-0561
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-11-07 11:37:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Zenon Panoussis 2007-03-28 07:35:06 EDT
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.
Comment 1 Karel Zak 2007-03-28 08:51:16 EDT
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}")
Comment 2 Zenon Panoussis 2007-03-31 10:07:57 EDT
Thanks. I can confirm it works.
Comment 3 RHEL Product and Program Management 2007-06-05 16:33:23 EDT
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.
Comment 10 Karel Zak 2007-09-18 04:05:24 EDT
*** Bug 277761 has been marked as a duplicate of this bug. ***
Comment 11 errata-xmlrpc 2007-11-07 11:37:15 EST
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

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