Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16651 - fcron-2.0.0-r2 ebuild is hardcoded to nano as editor
Summary: fcron-2.0.0-r2 ebuild is hardcoded to nano as editor
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-02 03:31 UTC by Nils Ohlmeier
Modified: 2004-11-16 03:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Ohlmeier 2003-03-02 03:31:49 UTC
If you look at the fcron-2.0.0-r2 ebuild you will see that nano is given as the editor to 
the configure.  
But on my system nano is no longer installed, because of the new virtual/editor and i'm 
a vim fan :) 
I think nano should not be given "hard" to any ebuild any more. 

Reproducible: Always
Steps to Reproduce:
1. 'emerge -C nano' 
2. 'emerge fcron' 
3. 
Actual Results:  
[...] 
checking sendmail... /usr/sbin/sendmail 
checking for sh... /bin/sh 
checking editor... configure: error: 
File /usr/bin/nano is not an executable file 
 
!!! ERROR: sys-apps/fcron-2.0.0-r2 failed. 
!!! Function src_compile, Line 38, Exitcode 1 
!!! bad ./configure 

Expected Results:  
The ebuild should search for an editor, or use the automatic editor detection of 
configure if this is possible. 

The easiest workaround is to replace nano in the ebuild with one of your installed 
editors.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-02 03:52:08 UTC
good call.
Comment 2 Axxackall 2003-06-24 07:42:04 UTC
Another problem is if you set EDITOR="/usr/bin/emacs -nw" that is reasonable as you don;t want to see emacs in a separate X11 window by default in every slow remote connection.

However, fcron ebuild fails to recognize such editor complaining that "File /usr/bin/emacs -nw is not an executable file"

I've just bumped to that problem when I've been updating to fcron-2.0.0-r3
Comment 3 Sean E Russell 2004-11-16 03:44:19 UTC
This bug has regressed in fcron 2.0.1

...
checking sendmail... /usr/sbin/sendmail
checking for sh... /bin/sh
checking editor... configure: error:
File /bin/nano is not an executable file

!!! ERROR: sys-apps/fcron-2.0.1 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.