unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Yasuhiro KIMURA <yasu@utahime.org>
Cc: 45287-done@debbugs.gnu.org
Subject: bug#45287: 28.0.50; byte-compile-file results in error with commit fe50a8b9ba or later on master
Date: Thu, 17 Dec 2020 12:22:38 +0100	[thread overview]
Message-ID: <CAArVCkQnEeiXFTw6tqkuoyZ2XM_pgcEFVAQAtZ+x8QcK=WpgpQ@mail.gmail.com> (raw)
In-Reply-To: <20201217.172052.1479814136117064411.yasu@utahime.org>

Am Do., 17. Dez. 2020 um 09:23 Uhr schrieb Yasuhiro KIMURA <yasu@utahime.org>:
>
> commit fe50a8b9ba
> Author: Philipp Stephani <phst@google.com>
> Date:   Sun Dec 13 17:13:50 2020 +0100
>
>     Byte compilation: handle case where the output file is a mountpoint.
>
>     See Bug#44631.  While testing for a readonly output directory has
>     slightly different semantics, in practice they should cover cases
>     where Emacs is sandboxed and can only write to the destination file,
>     not its directory.
>
>     * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Handle the case
>     where the output directory is not writable.
>
>     * test/lisp/emacs-lisp/bytecomp-tests.el
>     (bytecomp-tests--not-writable-directory)
>     (bytecomp-tests--dest-mountpoint): New unit tests.
>
> With this commit or later on master,
>
> https://github.com/yasuhirokimura/tamago/tree/fix_build_after_the_removal_of_make_coding_system
>
> build of this application fails 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()

Thanks for the report, fixed with commit
7fad9591142f9d9d0bfce37dd8c65a847dbe8aa9.





      reply	other threads:[~2020-12-17 11:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-17  8:20 bug#45287: 28.0.50; byte-compile-file results in error with commit fe50a8b9ba or later on master Yasuhiro KIMURA
2020-12-17 11:22 ` Philipp Stephani [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAArVCkQnEeiXFTw6tqkuoyZ2XM_pgcEFVAQAtZ+x8QcK=WpgpQ@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=45287-done@debbugs.gnu.org \
    --cc=yasu@utahime.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).