Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 684542

Summary: app-crypt/ccrypt-1.11 with app-editors/xemacs - make[2]: *** [Makefile:416: ps-ccrypt.elc] Error 255
Product: Gentoo Linux Reporter: OKUMURA N. Shin-ya <oku.ns>
Component: Current packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: alonbl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description OKUMURA N. Shin-ya 2019-04-28 03:47:19 UTC
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".
Comment 1 OKUMURA N. Shin-ya 2019-04-28 03:47:49 UTC
Created attachment 574460 [details]
Comment 2 OKUMURA N. Shin-ya 2019-04-28 04:24:43 UTC
Created attachment 574462 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2019-04-28 14:16:46 UTC
The bug has been referenced in the following commit(s):

commit 748f56f90516847cb4c787f522593ebe1d95ae65
Author:     Alon Bar-Lev <>
AuthorDate: 2019-04-28 14:14:12 +0000
Commit:     Alon Bar-Lev <>
CommitDate: 2019-04-28 14:16:20 +0000

    app-crypt/ccrypt: add emacs USE
    Signed-off-by: Alon Bar-Lev <>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 app-crypt/ccrypt/ccrypt-1.11-r1.ebuild | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2019-04-28 14:20:26 UTC
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.