Bug 158988 - recompilation of imap-2002d failed with RHEL3 .src.rpm
recompilation of imap-2002d failed with RHEL3 .src.rpm
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: imap (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: John Dennis
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-05-27 10:46 EDT by Sebastien BLAISOT
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-19 15:01:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sebastien BLAISOT 2005-05-27 10:46:31 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4

Description of problem:
When trying to recompile imap server rpm from redhat-provided src.rpm, the rpmbuild fails in the prep section because of RCS lock files included in source.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. download and install imap-2002d-11.src.rpm (up2date --get-source imap ; rpm -ivh /var/spool/up2date/imap-2002d-11.src.rpm)
2. cd to /usr/src/redhat
3. try to rebuild imap rpm (rpmbuild -ba SPECS/imap.spec)

Actual Results:  %prep section failed when patching sources :

+ patch -p0 -b --suffix .mbox-disable-patch -s
patch: **** File ./Makefile seems to be locked by somebody else under RCS
error: Bad exit status from /var/tmp/rpm-tmp.47208 (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.47208 (%prep)

Expected Results:  imap rpm built, no error

Additional info:

this error comes from the files 


that are present in the imap-2002.tar.Z source file
Comment 1 Sebastien BLAISOT 2005-05-27 10:49:42 EDT
Workaround found :

export PATCH_GET=0
before rpmbuild
Comment 2 RHEL Product and Program Management 2007-10-19 15:01:27 EDT
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
For more information of the RHEL errata support policy, please visit:
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.

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