Bug 234303 - src.rpm does't build
src.rpm does't build
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: util-linux (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Ben Levenson
: Reopened
: 277761 (view as bug list)
Depends On:
  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:
Last Closed: 2007-11-07 11:37:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0561 normal SHIPPED_LIVE util-linux bug fix update 2007-10-30 11:11:47 EDT

  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):

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

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.


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