GNU bug report logs - #45701
28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil"

Previous Next

Package: emacs;

Reported by: Justin Schell <justinmschell <at> gmail.com>

Date: Wed, 6 Jan 2021 19:26:01 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andrea Corallo <akrl <at> sdf.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#45701: closed (28.0.50; [feature/native-comp] (33b8ce8) `M-x
 report-emacs-bug` error: "Wrong type argument: stringp, nil")
Date: Wed, 10 Feb 2021 09:10:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 10 Feb 2021 09:09:48 +0000
with message-id <xjf4kikxp9f.fsf <at> sdf.org>
and subject line Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil"
has caused the debbugs.gnu.org bug report #45701,
regarding 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil"
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
45701: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45701
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Justin Schell <justinmschell <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug`
 error: "Wrong type argument: stringp, nil"
Date: Wed, 6 Jan 2021 11:16:04 -0800
[Message part 3 (text/plain, inline)]
Sorry for emailing this list directly, but with emacs build from the latest
commit on `feature/native-comp`, `M-x report-emacs-bug` results in the
error "apply: Wrong type argument: stringp, nil". Enabling `debug-on-error`
doesn't result in a debug session starting when executing that command, so
I'm not sure how to provide any more context for the location that's
throwing the error.

GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60
Version 10.15.6 (Build 19G2021))
 of 2021-01-06

This version of emacs was built using
https://github.com/jimeh/build-emacs-for-macos from the latest commit on
`feature/native-comp` (33b8ce865fcfd58538ae2d7c3fff04998fcd3330). The
`build-emacs-for-macos` package also applies the fixes from
`feature/native-comp-macos-fixes`.

Let me know if you need more information.

Justin
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Andrea Corallo <akrl <at> sdf.org>
To: Jim Myhrberg <contact <at> jimeh.me>
Cc: "Andrea Corallo via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>,
 Justin Schell <justinmschell <at> gmail.com>, 45701-done <at> debbugs.gnu.org
Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x
 report-emacs-bug` error: "Wrong type argument: stringp, nil"
Date: Wed, 10 Feb 2021 09:09:48 +0000
Jim Myhrberg <contact <at> jimeh.me> writes:

> The TL;DR for the patch; It is essentially a horrible and hacky first
> draft I threw together to set the LIBRARY_PATH environment variable to
> point at the GCC directories that my build script copies into the
> macOS "Emacs.app" bundle to make it fully self-contained. The
> LIBRARY_PATH environment variable needs to be set to point at the
> "embedded" GCC directories before any native compilation starts, which
> is currently done through the horrible advice-add/remove stuff.
>
> 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.
>
> Either way this seems to fall pretty much into my area, so I've
> created a GitHub issue to track improvements to the patch, and I'm
> happy to continue discussions there:
> https://github.com/jimeh/build-emacs-for-macos/issues/29
>
> Andrea, I've actually been meaning to ask you for months if you might
> be able suggest a better approach for the patch, and I'd greatly
> appreciate any time you can spare :)

Hi Jim,

sure I'll try to have a look and come with a comment on that.

As there's a specific issue on the correct repo I'm closing this.

Thanks

  Andrea


This bug report was last modified 4 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.