Bug 380881 - Leftover .orig file patched by a .src.rpm .patch file
Summary: Leftover .orig file patched by a .src.rpm .patch file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gdb
Version: 4.6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Jan Kratochvil
QA Contact:
URL:
Whiteboard:
Depends On: 380851
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-13 20:13 UTC by Jan Kratochvil
Modified: 2008-07-24 19:56 UTC (History)
1 user (show)

Fixed In Version: RHBA-2008-0717
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-24 19:56:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0717 0 normal SHIPPED_LIVE gdb bug fix update 2008-07-23 16:16:02 UTC

Description Jan Kratochvil 2007-11-13 20:13:08 UTC
Description of problem:
`gdb/linux-nat.c.orig' file is accidentally being patched.
While the package passed Brew/Rpmdiff/RHEL-4 builds in some system
configurations (env $SIMPLE_BACKUP_SUFFIX) and/or on non-RHEL-4 systems the
--rebuild of the package may fail due to the missing .orig file there.

Version-Release number of selected component (if applicable):
gdb-6.3.0.0-1.153.el4

How reproducible:
Always.

Steps to Reproduce:
1. SIMPLE_BACKUP_SUFFIX=foo rpmbuild --rebuild gdb-6.3.0.0-1.153.el4.src.rpm

Actual results:
+ echo 'Patch #112 (gdb-6.3-scheduler_locking-step-sw-watchpoints2.patch):'
Patch #112 (gdb-6.3-scheduler_locking-step-sw-watchpoints2.patch):
+ patch -p1 -s
The text leading up to this was:
--------------------------
|diff -u -rup gdb-6.3-orig/gdb/linux-nat.c.orig gdb-6.3/gdb/linux-nat.c.orig
|--- gdb-6.3-orig/gdb/linux-nat.c.orig  2004-10-08 22:29:47.000000000 +0200
|+++ gdb-6.3/gdb/linux-nat.c.orig       2007-07-27 15:59:39.000000000 +0200
--------------------------
File to patch: 

Expected results:
Successfully rebuilt package.

Additional info:
Sure just the .orig part of the patch should be removed.
Submitted a Rpmdiff Bug 380851 that this problem could be checked automatically.

Comment 1 RHEL Program Management 2007-11-29 03:55:21 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 7 errata-xmlrpc 2008-07-24 19:56:44 UTC
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 therefore 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-2008-0717.html


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