To emerge app-crypt/ccrypt-1.11 fails with "/var/tmp/portage/app-crypt/ccrypt-1.11/work/ccrypt-1.11/emacs is a directory", when with xemacs. The messages are as follows; Making all in emacs make[2]: Entering directory '/var/tmp/portage/app-crypt/ccrypt-1.11/work/ccrypt-1.11/emacs' if test "xemacs" != "no"; then \ am__dir=. am__subdir_includes=''; \ case ps-ccrypt.elc in */*) \ am__dir=`echo 'ps-ccrypt.elc' | sed 's,/[^/]*$,,'`; \ am__subdir_includes="-L $am__dir -L ./$am__dir"; \ esac; \ test -d "$am__dir" || /bin/mkdir -p "$am__dir" || exit 1; \ xemacs --batch \ \ $am__subdir_includes -L . -L . \ --eval "(defun byte-compile-dest-file (f) \"ps-ccrypt.elc\")" \ --eval "(unless (byte-compile-file \"ps-ccrypt.el\") (kill-emacs 1))"; \ else :; fi xemacs exiting. /var/tmp/portage/app-crypt/ccrypt-1.11/work/ccrypt-1.11/emacs is a directory make[2]: *** [Makefile:416: ps-ccrypt.elc] Error 255 Reproducible: Always Steps to Reproduce: 1. (with app-editors/xemacs-21.5.34-r4) 2. emerge =app-crypt/ccrypt-1.11 Actual Results: Shown as before. Expected Results: emerge successfully. :-) It might be better adding a USE-flag, "emacs", for configure with "--enable-emacs" or "--disable-emacs".
Created attachment 574460 [details] build.log
Created attachment 574462 [details] emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748f56f90516847cb4c787f522593ebe1d95ae65 commit 748f56f90516847cb4c787f522593ebe1d95ae65 Author: Alon Bar-Lev <alonbl@gentoo.org> AuthorDate: 2019-04-28 14:14:12 +0000 Commit: Alon Bar-Lev <alonbl@gentoo.org> CommitDate: 2019-04-28 14:16:20 +0000 app-crypt/ccrypt: add emacs USE Bug: https://bugs.gentoo.org/show_bug.cgi?id=684542 Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 app-crypt/ccrypt/ccrypt-1.11-r1.ebuild | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
I added the emacs USE, thanks! However, xemacs does not support the -L parameter, which is incompatible with emacs, and in my system it completely hung when executed under portage.