Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142379 - fcron: File vim is not an executable file
Summary: fcron: File vim is not an executable file
Status: RESOLVED DUPLICATE of bug 124904
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-01 00:21 UTC by Alexander Skwar
Modified: 2006-09-29 07:10 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,54.96 KB, text/plain)
2006-08-01 00:22 UTC, Alexander Skwar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-08-01 00:21:42 UTC
I'm trying to compile fcron:

[ebuild   R   ] sys-process/fcron-3.0.1-r1  USE="-debug doc pam" 0 kB

Fails:

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

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /Gentoo/portage/tmp/portage/fcron-3.0.1-r1/work/fcron-3.0.1/config.log

!!! ERROR: sys-process/fcron-3.0.1-r1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  fcron-3.0.1-r1.ebuild, line 66:   Called econf '--with-pam' '--without-selinux' '--without-debug' '--with-username=cron' '--with-groupname=cron' '--with-piddir=/var/run' '--with-etcdir=/etc/fcron' '--with-spooldir=/var/spool/cron' '--with-fifodir=/var/run' '--with-sendmail=/usr/sbin/sendmail' '--with-fcrondyn=yes' '--with-editor=vim' '--with-shell=/bin/sh' '--with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook' '--with-rootname=root' '--with-rootgroup=root'
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

(chroot1) dewup-ww02 pkg # which vim
/usr/bin/vim
(chroot1) dewup-ww02 pkg # ls -la `which vim`
-rwxr-xr-x 1 root root 2359764 27. Jul 17:03 /usr/bin/vim
(chroot1) dewup-ww02 pkg # file `which vim`
/usr/bin/vim: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

vim *IS* executable.

I ran the emerge like this:

EDITOR=/usr/bin/vim VISUAL=/usr/bin/vim emerge -1v fcron

Is this a regression of bug #65263 ?

(chroot2) dewup-ww02 var # emerge --info
Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r3.05 i686)
=================================================================
System uname: 2.6.17-gentoo-r3.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/Gentoo/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="         http://localhost/~vz6tml/gentoo-files http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files         http://localhost/gentoo-files/ http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/         http://localhost/~vz6tml/gentoo-files/ http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/          http://alexander.skwar.name/~askwar/stuff/gentoo/            http://localhost:60081/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/         http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/         http://localhost:60082/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/         ftp://pandemonium.tiscali.de/pub/gentoo/         http://localhost:60083/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/          http://distro.ibiblio.org/pub/linux/distributions/gentoo/         ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/          http://localhost:60084/ http://distfiles.gentoo.org/ "
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Gentoo/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/portage/tmp"
PORTDIR="/Gentoo/portage/tree"
PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc"
SYNC="rsync://localhost:10873/gentoo-portage"
USE="x86 X acl apache2 apm avi bash-completion berkdb bitmap-fonts cli crypt cups dbus dlloader dri emboss encode fam firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib isdnlog jikes jpeg kde kdeenablefinal kdehiddenvisibility libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nis nls noaudio nptl nptlonly offensive ogg pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_void kernel_linux linguas_de userland_GNU video_cards_ati video_cards_vesa video_cards_vga video_cards_none"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexander Skwar 2006-08-01 00:22:11 UTC
Created attachment 93186 [details]
config.log
Comment 2 Alexander Skwar 2006-08-01 00:29:03 UTC
In my env, I had EDITOR=vim set. After changing this to EDITOR=/usr/bin/vim, it compiles just fine.

*HOWEVER*: Why did 

      EDITOR=/usr/bin/vim VISUAL=/usr/bin/vim emerge -1v fcron

NOT work?
Comment 3 GROG! 2006-09-20 12:35:11 UTC
Just for the record, I just ran into this same problem, and explicitly setting EDITOR=/usr/bin/vim worked as well (even though it was set to that already).
Comment 4 Wolfram Schlich (RETIRED) gentoo-dev 2006-09-28 05:21:32 UTC

*** This bug has been marked as a duplicate of 124904 ***
Comment 5 Wolfram Schlich (RETIRED) gentoo-dev 2006-09-29 07:10:10 UTC
(In reply to comment #2)
> Why did 
> 
>       EDITOR=/usr/bin/vim VISUAL=/usr/bin/vim emerge -1v fcron
> 
> NOT work?

configure is a new program, run by emerge.
you have to *export* EDITOR in order to make it available to configure.