First i emerged 'vi' Then i wanted to emerge 'vim': emerge -p vim These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-util/ctags-5.5-r1 [ebuild N ] app-editors/vim-core-6.2-r5 [ebuild N ] app-editors/vim-6.2-r5 Then i went ahead and did: emerge vim Calculating dependencies ...done! >>> emerge (1 of 3) dev-util/ctags-5.5-r1 to / >>> md5 src_uri ;-) ctags-5.5.tar.gz >>> Unpacking source... >>> Unpacking ctags-5.5.tar.gz to /var/tmp/portage/ctags-5.5-r1/work >>> Source unpacked. /usr/sbin/ebuild.sh: ./configure: /bin/sh: bad interpreter: Permission denied !!! ERROR: dev-util/ctags-5.5-r1 failed. !!! Function econf, Line 339, Exitcode 126 !!! econf failed Thats all the details i know. Reproducible: Always Steps to Reproduce: 1. emerge vim Actual Results: vim was not emerged and i got the following output: emerge vim Calculating dependencies ...done! >>> emerge (1 of 3) dev-util/ctags-5.5-r1 to / >>> md5 src_uri ;-) ctags-5.5.tar.gz >>> Unpacking source... >>> Unpacking ctags-5.5.tar.gz to /var/tmp/portage/ctags-5.5-r1/work >>> Source unpacked. /usr/sbin/ebuild.sh: ./configure: /bin/sh: bad interpreter: Permission denied Expected Results: vim should have been installed on my system.
are you by chance using grsec/pax in your kernel ? did you setup your fstab with funky permissions ?
This is not a vim/ctags issue. You're missing /bin/sh, which should be a symlink to bash. Alternatively, as spanky suggested, you might have funky perms going on or something like that.
Please re-open if you can provide further details