Bug 163030 - missing buildrequires vim vi emacs nano pico edit
Summary: missing buildrequires vim vi emacs nano pico edit
Alias: None
Product: Fedora
Classification: Fedora
Component: cvs
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2005-07-12 12:18 UTC by Karsten Hopp
Modified: 2007-11-30 22:11 UTC (History)
0 users

Clone Of:
Last Closed: 2005-07-21 11:10:39 UTC

Attachments (Terms of Use)

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

How reproducible:

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.

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