unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Justin Schell <justinmschell@gmail.com>
To: Jim Myhrberg <contact@jimeh.me>
Cc: 45701@debbugs.gnu.org, akrl@sdf.org
Subject: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil"
Date: Tue, 9 Feb 2021 20:40:06 -0800	[thread overview]
Message-ID: <CAPDfab4dGyEV_bsDJpUjh0+5ZDamv-pfONZ++QyWuXf8hzNZHA@mail.gmail.com> (raw)
In-Reply-To: <CAGaZ61v9E_2TpE+NNh=VNLH4=misU3jGG1UsQVQO=JjxRFRj_w@mail.gmail.com>

> Justin, I've not had any reports of similar issues to yours, but I
> have just managed to reproduce the error by breaking my Emacs.app
> bundle in a very specific way. What folders do you have under
> "Emacs.app/Contents/MacOS/lib/gcc" in your app bundle? There's
> supposed to be a folder called "10". I reproduced the issue by
> renaming my "10" folder so it no longer matches regexp "^[0-9]+$". If
> you have something else, it's time to debug how that happened and
> where my build script went wrong.

Jim, I do have a `Emacs.app/Contents/MacOS/lib/gcc/10` directory.

However, I seem to have found the issue. Since I had been doing builds
from several different branches and commits, I had been naming the
base-dir of the Emacs.app in concert with the name of the build
tarball that `build-emacs-for-macos` produces to keep track of which
was which. E.g.,
'Emacs.app-[feature-native-comp][2021-02-03][1f626e9][macOS-10.15][x86_64].app'.
If I rename that to just 'Emacs.app', I can no longer reproduce the
`M-x report-emacs-bug` "Wrong type argument: stringp, nil" error.
Thus, somewhere the `native-compile-setup-environment-variables` patch
code doesn't seem to handle that sort of invocation-dir name. I don't
have time to debug exactly where right now, but let me know if you
need anything else.

Glad that it seems that we've found the root issue (at least
approximately). Thanks for the help, all.

Justin





  reply	other threads:[~2021-02-10  4:40 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 19:16 bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" Justin Schell
2021-01-06 19:28 ` Eli Zaretskii
2021-01-06 20:21 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-06 20:46   ` Justin Schell
2021-01-06 20:48   ` Jim Myhrberg
2021-01-06 23:54     ` Jim Myhrberg
2021-01-07  0:45       ` Justin Schell
2021-01-07 22:45         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-08  0:20           ` Justin Schell
2021-01-08 11:18             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-08 14:47               ` Justin Schell
2021-01-08 15:37                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-01 21:13                   ` akrl--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-01 21:51                     ` Justin Schell
2021-02-01 22:21                       ` akrl--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-01 23:10                         ` Justin Schell
2021-02-02  9:05                           ` akrl--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-03  1:30                             ` Justin Schell
2021-02-03 20:31                               ` akrl--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-03 20:36                                 ` Justin Schell
2021-02-08 20:49                                 ` Justin Schell
2021-02-08 20:57                                   ` Justin Schell
2021-02-09 20:43                                   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-09 21:10                                     ` Justin Schell
2021-02-09 21:23                                       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-09 21:33                                         ` Justin Schell
2021-02-10  3:18                                           ` Jim Myhrberg
2021-02-10  4:40                                             ` Justin Schell [this message]
2021-02-10  9:09                                             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=CAPDfab4dGyEV_bsDJpUjh0+5ZDamv-pfONZ++QyWuXf8hzNZHA@mail.gmail.com \
    --to=justinmschell@gmail.com \
    --cc=45701@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=contact@jimeh.me \
    /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).