From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Justin Schell Newsgroups: gmane.emacs.bugs 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 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14565"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45701@debbugs.gnu.org, akrl@sdf.org To: Jim Myhrberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 10 05:41:21 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9hJY-0003gI-OW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Feb 2021 05:41:20 +0100 Original-Received: from localhost ([::1]:43320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9hJX-00048p-Cw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 23:41:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9hJG-00048f-Hs for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 23:41:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9hJG-0001md-8y for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 23:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9hJG-0007mU-7H for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 23:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Justin Schell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Feb 2021 04:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45701 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Andrea Corallo Original-Received: via spool by 45701-submit@debbugs.gnu.org id=B45701.161293204129859 (code B ref 45701); Wed, 10 Feb 2021 04:41:02 +0000 Original-Received: (at 45701) by debbugs.gnu.org; 10 Feb 2021 04:40:41 +0000 Original-Received: from localhost ([127.0.0.1]:55297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9hIv-0007lX-0V for submit@debbugs.gnu.org; Tue, 09 Feb 2021 23:40:41 -0500 Original-Received: from mail-lj1-f170.google.com ([209.85.208.170]:39667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9hIt-0007lI-17 for 45701@debbugs.gnu.org; Tue, 09 Feb 2021 23:40:40 -0500 Original-Received: by mail-lj1-f170.google.com with SMTP id u4so1120339ljh.6 for <45701@debbugs.gnu.org>; Tue, 09 Feb 2021 20:40:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qt419bOBYb6lSsy3baPRMH9uEJorXJWSz0kgodddCCw=; b=LZyuYvb7sJS6DZgpGUc0IscCsDyqFy3OkZDDhwWvdHMI4qZDT2kPIbxq2ZR7Fq1r4Q 53bWrCZojtBSw7WLg3NCCTVl86E9YQvTkj28TbD49ndVZSlsuLxEN1h5ICjtWBm1ha4f 9VjohAe0QUE5HB1qB2K3Oq8fBHbnuib1z1hfJVZXkeAtYUYoNPwzLYFJvrZGZbKHgmri rjYNlMQPLr2FypRNJmbWQyMTprNAopSL3FhsaK5v3CSd3rIUc/KGI2Kws8hArxHT5Tx/ 9BQmHbT/EeSk5Lna7tSiFGONYnEhBg4Rub8O7Mxsdk8SbKEga1pyfF4TEcA78DigRBtX o+7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qt419bOBYb6lSsy3baPRMH9uEJorXJWSz0kgodddCCw=; b=NR6SYD4HqF9mJMvh2bltU5SYZ2VHOazf7mXE3neCJ0J2zHhSMu9vl5xs0hE50MSS/M dI7WHm9jhdN7pTWWEhg1aPGXtoOc8dJ6UIGkJZo5/uTpcOte/ugU9AAG3IprN+vWuBgi b8+L9CUnXR+Z9TxdM/IC79oPQVnoBL/99yODRNvK28fnv70wY9EjVmyFgb18eaKf4H5q TrtJ4Ex3LLiXqlvQbODHTJ8aPghhIOaqsNtULK9XOW26KJ4oWzN40FR8X4dMTm5wjdEL eOAHVqpPWsjN20KIaJNFukYKurtOXz7Fy7RdcJl/rrnyU/rHc1KZPlNTPt9vxs9DFDUL wkIg== X-Gm-Message-State: AOAM532o4GV09zzorDcw0pWuzcfAjbBXR41FxMJdhV6uRZM1wve7rCk2 6+dZH+lQf0uZ255epBj0GxE0v9eAKI+rR6vwbXQ= X-Google-Smtp-Source: ABdhPJwsbaj/+D9JXAmsQeV9hfhAiiIx+vHanGbmSAQxhGQzlJjZVlNA+LX3SNEuXqTXFTZXJUjASB58nP+8XGPX37c= X-Received: by 2002:a05:651c:30b:: with SMTP id a11mr746113ljp.113.1612932032904; Tue, 09 Feb 2021 20:40:32 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199756 Archived-At: > 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