Red Hat Bugzilla – Bug 160630
Missing BuildReq in cvs
Last modified: 2007-11-30 17:07:18 EST
During a testbuild of cvs-1.11.17-5 in mock, the following problem in the
buildprocess manifests itself:
checking for vim... no
checking for vi... no
checking for emacs... no
checking for nano... no
checking for pico... no
checking for edit... no
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.148 (%build)
It seems cvs won't build without an installed editor.
Thus it would be good if the specfile either contains a BuildRequire for an
editor or the --with-editor command is used during the %configure phase.
As the current cvs builds from redhat use vim as the standard editor, the latter
option would probably be the easiest choice.