* Bug or incompatible change of byte-compile-file?
@ 2020-12-16 8:40 Yasuhiro KIMURA
2020-12-16 15:56 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Yasuhiro KIMURA @ 2020-12-16 8:40 UTC (permalink / raw)
To: emacs-devel
Hello,
After update to commit fda9a2bbfd of master, build of some
3rd party applications fail such as following.
----------------------------------------------------------------------
if test "emacs" != "no"; then \
am__dir=. am__subdir_includes=''; \
case cannarpc.elc in */*) \
am__dir=`echo 'cannarpc.elc' | sed 's,/[^/]*$,,'`; \
am__subdir_includes="-L $am__dir -L ./$am__dir"; \
esac; \
test -d "$am__dir" || /usr/bin/mkdir -p "$am__dir" || exit 1; \
emacs --batch \
-q -no-site-file -no-init-file --eval="(setq load-path (append (list (expand-file-name \"..\")) load-path))" --eval="(load \"docomp.el\")" \
$am__subdir_includes -L . -L . \
--eval "(defun byte-compile-dest-file (f) \"cannarpc.elc\")" \
--eval "(unless (byte-compile-file \"cannarpc.el\") (kill-emacs 1))"; \
else :; fi
Loading c:/Users/yasu/Work/Emacs/master/tamago/docomp.el (source)...
Package cl is deprecated
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-writable-p(nil)
byte-compile-file("cannarpc.el")
(if (byte-compile-file "cannarpc.el") nil (kill-emacs 1))
(unless (byte-compile-file "cannarpc.el") (kill-emacs 1))
eval((unless (byte-compile-file "cannarpc.el") (kill-emacs 1)) t)
command-line-1(("--eval=(setq load-path (append (list (expand-file-..." "--eval=(load \"docomp.el\")" "-L" "." "-L" "." "--eval" "(defun byte-compile-dest-file (f) \"cannarpc.elc\")" "--eval" "(unless (byte-compile-file \"cannarpc.el\") (kill-em..."))
command-line()
normal-top-level()
make[2]: *** [Makefile:315: cannarpc.elc] Error 127
make[2]: Leaving directory '/c/Users/yasu/Work/Emacs/master/tamago/egg'
make[1]: *** [Makefile:489: all-recursive] Error 1
make[1]: Leaving directory '/c/Users/yasu/Work/Emacs/master/tamago'
make: *** [Makefile:361: all] Error 2
----------------------------------------------------------------------
Is this bug or incompatible change of byte-compile-file?
Best Regards.
---
Yasuhiro KIMURA
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug or incompatible change of byte-compile-file?
2020-12-16 8:40 Bug or incompatible change of byte-compile-file? Yasuhiro KIMURA
@ 2020-12-16 15:56 ` Eli Zaretskii
2020-12-17 8:28 ` Yasuhiro KIMURA
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2020-12-16 15:56 UTC (permalink / raw)
To: Yasuhiro KIMURA; +Cc: emacs-devel
> Date: Wed, 16 Dec 2020 17:40:12 +0900 (JST)
> From: Yasuhiro KIMURA <yasu@utahime.org>
>
> ----------------------------------------------------------------------
> if test "emacs" != "no"; then \
> am__dir=. am__subdir_includes=''; \
> case cannarpc.elc in */*) \
> am__dir=`echo 'cannarpc.elc' | sed 's,/[^/]*$,,'`; \
> am__subdir_includes="-L $am__dir -L ./$am__dir"; \
> esac; \
> test -d "$am__dir" || /usr/bin/mkdir -p "$am__dir" || exit 1; \
> emacs --batch \
> -q -no-site-file -no-init-file --eval="(setq load-path (append (list (expand-file-name \"..\")) load-path))" --eval="(load \"docomp.el\")" \
> $am__subdir_includes -L . -L . \
> --eval "(defun byte-compile-dest-file (f) \"cannarpc.elc\")" \
> --eval "(unless (byte-compile-file \"cannarpc.el\") (kill-emacs 1))"; \
> else :; fi
> Loading c:/Users/yasu/Work/Emacs/master/tamago/docomp.el (source)...
> Package cl is deprecated
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> file-writable-p(nil)
> byte-compile-file("cannarpc.el")
> (if (byte-compile-file "cannarpc.el") nil (kill-emacs 1))
> (unless (byte-compile-file "cannarpc.el") (kill-emacs 1))
> eval((unless (byte-compile-file "cannarpc.el") (kill-emacs 1)) t)
> command-line-1(("--eval=(setq load-path (append (list (expand-file-..." "--eval=(load \"docomp.el\")" "-L" "." "-L" "." "--eval" "(defun byte-compile-dest-file (f) \"cannarpc.elc\")" "--eval" "(unless (byte-compile-file \"cannarpc.el\") (kill-em..."))
> command-line()
> normal-top-level()
>
> make[2]: *** [Makefile:315: cannarpc.elc] Error 127
> make[2]: Leaving directory '/c/Users/yasu/Work/Emacs/master/tamago/egg'
> make[1]: *** [Makefile:489: all-recursive] Error 1
> make[1]: Leaving directory '/c/Users/yasu/Work/Emacs/master/tamago'
> make: *** [Makefile:361: all] Error 2
> ----------------------------------------------------------------------
>
> Is this bug or incompatible change of byte-compile-file?
It's a bug. Please report it using "M-x report-emacs-bug".
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-17 8:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 8:40 Bug or incompatible change of byte-compile-file? Yasuhiro KIMURA
2020-12-16 15:56 ` Eli Zaretskii
2020-12-17 8:28 ` Yasuhiro KIMURA
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.