From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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: Wed, 10 Feb 2021 09:09:48 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4415"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , Justin Schell , 45701-done@debbugs.gnu.org To: Jim Myhrberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 10 10:10:30 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 1l9lW2-00011W-5E for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Feb 2021 10:10:30 +0100 Original-Received: from localhost ([::1]:58016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9lW0-0006Nd-Vw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Feb 2021 04:10:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9lVa-0006Ma-Vo for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2021 04:10:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43890) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9lVa-0004lT-4X for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2021 04:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9lVZ-00080P-VM for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2021 04:10:01 -0500 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Feb 2021 09:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 45701 X-GNU-PR-Package: emacs Mail-Followup-To: 45701@debbugs.gnu.org, akrl@sdf.org, justinmschell@gmail.com Original-Received: via spool by 45701-done@debbugs.gnu.org id=D45701.161294819330750 (code D ref 45701); Wed, 10 Feb 2021 09:10:01 +0000 Original-Received: (at 45701-done) by debbugs.gnu.org; 10 Feb 2021 09:09:53 +0000 Original-Received: from localhost ([127.0.0.1]:55434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9lVQ-0007zu-Qc for submit@debbugs.gnu.org; Wed, 10 Feb 2021 04:09:53 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:58372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9lVO-0007zl-3O for 45701-done@debbugs.gnu.org; Wed, 10 Feb 2021 04:09:51 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 11A99mv1003697 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 10 Feb 2021 09:09:49 GMT In-Reply-To: (Jim Myhrberg's message of "Wed, 10 Feb 2021 03:18:43 +0000") 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:199763 Archived-At: Jim Myhrberg 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