Bug 163030

Summary: missing buildrequires vim vi emacs nano pico edit
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: cvsAssignee: Martin Stransky <stransky>
Status: CLOSED NEXTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-21 11:10:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karsten Hopp 2005-07-12 12:18:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.8) Gecko/20050623 Fedora/1.0.4-5 Firefox/1.0.4

Description of problem:
rpmbuild exits during rebuild of cvs-1.11.19-8 in a minimal chroot due to missing buildrequires:

checking for library containing gss_import_name... -lgssapi_krb5
checking for vim... no
checking for vi... no
checking for emacs... no
checking for nano... no
checking for pico... no
checking for edit... no
configure: error:
    Failed to find a text file editor.  CVS cannot be compiled
    without a default log message editor.  Searched for
    `vim vi emacs nano pico edit'.  Try `configure --with-editor'.
error: Bad exit status from /var/tmp/rpm-tmp.13888 (%build)


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

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

How reproducible:
Always

Steps to Reproduce:
1. install mock
2. run 'mock -r fedora-development-i386-core.cfg cvs-1.11.19-8.src.rpm'
3. check results
  

Additional info:

Comment 1 Mephisto 2005-08-24 11:58:34 UTC
I don't like the fix in 1.11.19-9 (adding vim to requires). When trying to
update cvs to 1.11.19-10 (from -8), i was forced to install vim-minimal,
however, i have no need for vim, and i rather keep this off my system. I prefer
joe as editor.
Why is it necessary to add vim to the requries of the binary package when it is
only required for rebuilding the src rpm?

Comment 2 Martin Stransky 2005-08-24 12:59:32 UTC
For example, it's used for the commit command when you don't specify a comment
by -m switch. But I agree with you, it's bit ugly.