Red Hat Bugzilla – Bug 380881
Leftover .orig file patched by a .src.rpm .patch file
Last modified: 2008-07-24 15:56:44 EDT
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):
Steps to Reproduce:
1. SIMPLE_BACKUP_SUFFIX=foo rpmbuild --rebuild gdb-18.104.22.168-1.153.el4.src.rpm
+ 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:
Successfully rebuilt package.
Sure just the .orig part of the patch should be removed.
Submitted a Rpmdiff Bug 380851 that this problem could be checked automatically.
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
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.