all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yasuhiro KIMURA <yasu@utahime.org>
To: emacs-devel@gnu.org
Subject: Bug or incompatible change of byte-compile-file?
Date: Wed, 16 Dec 2020 17:40:12 +0900 (JST)	[thread overview]
Message-ID: <20201216.174012.1173718523457068567.yasu@utahime.org> (raw)

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



             reply	other threads:[~2020-12-16  8:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16  8:40 Yasuhiro KIMURA [this message]
2020-12-16 15:56 ` Bug or incompatible change of byte-compile-file? Eli Zaretskii
2020-12-17  8:28   ` Yasuhiro KIMURA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201216.174012.1173718523457068567.yasu@utahime.org \
    --to=yasu@utahime.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.