From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.devel Subject: Re: Changes to autoload handling in native-comp branch? Date: Tue, 14 Apr 2020 14:31:25 +0100 Message-ID: <87ftd69osy.fsf@linaro.org> References: <87imi29yq8.fsf@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="53695"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.10; emacs 28.0.50 Cc: emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 14 19:05:26 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jOOzy-000Dnu-SV for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Apr 2020 19:05:22 +0200 Original-Received: from localhost ([::1]:35564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOOzx-0004pz-Rq for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Apr 2020 13:05:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39894) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOOxb-0000my-18 for emacs-devel@gnu.org; Tue, 14 Apr 2020 13:02:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOOxZ-0003Um-Pe for emacs-devel@gnu.org; Tue, 14 Apr 2020 13:02:54 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:42658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOLf0-0008IA-0S for emacs-devel@gnu.org; Tue, 14 Apr 2020 09:31:30 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id j2so14337013wrs.9 for ; Tue, 14 Apr 2020 06:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=y+KbaFSQC4Oxr0+pzT02RjM+W2q1Bn568uo6CcrAxJU=; b=iB+PLQASPtgmchW34Ea9kVd/pDLgvxr9fDl3F8i0QhfWOtHK1MLNWkSJagy/Zm+QLA hLfkqyXZp1FKvsgQjkJMugARCs0ZNDNgBjNZQux8ZmpIMm/cVamQjUgw3Kj4FIFaCSkq gcqhpWf1qmMMl5ZRdrhMhXm3XEWGZz9LHMTAIQu8X92m36Ml8EhcY1QBkzAuyJMFSA7b c0QvtlQVO6LWzby50s2lFPn7amV06qqwIVcN1kmRSaFTzn7sDwyrljvC4O13f4tMUYZ4 cNtQsnCvHiqP2aHIRU0at3Spwnyo1EGGBf38iZK3CwcLMkUMg3SIQaNXeEvy/hwuynUu 5BRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=y+KbaFSQC4Oxr0+pzT02RjM+W2q1Bn568uo6CcrAxJU=; b=nz+eQHQVXdVTH1XB7o4BStfinOSEcp+2A122wJoosSDHa+UeW76ivvBiouwrBcGozl Dar7M2ehIAF28Z8ssFwtx1xSPBRSL6jdW7rM1bmDCcpmfCiWzR6kqDnuYPM/5mFGEhCr HMRdwtOvqBzDLBO45yof5892ezoOD+NNMyICXRk+3DB1/adRcAM/J4qGPXvy8sBKU7El llC2ql0j3mV6Yn6LQ0AvkSuzdyBk92UpSU6FiV9BC6FH6FTX/OYoe+tSVv/snTeBIRk4 MAwKtwUEThpeIGThBgh/6V+sNnV7xzNFykSzsbrcjTLouAz3c8WkfmybwiXKzjPCV6m7 49iQ== X-Gm-Message-State: AGi0PuYCzerO5Px2WtBoRJf3cqB5wnmESGlMxZ4MrsmWsdzCaAqu+u/8 vJx3ZBtQmXZUCcxv6yfUgtJVaBT3iAM= X-Google-Smtp-Source: APiQypLA3O/OqgTE9/pT955mqahpZ6fti5U7TNMhGX3fzLLrmtXS4NchoJAhn+1eyUTHjD1VXP/oXQ== X-Received: by 2002:adf:afdf:: with SMTP id y31mr23312754wrd.120.1586871087994; Tue, 14 Apr 2020 06:31:27 -0700 (PDT) Original-Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id f63sm18389985wma.47.2020.04.14.06.31.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 06:31:26 -0700 (PDT) Original-Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 2C03A1FF7E; Tue, 14 Apr 2020 14:31:25 +0100 (BST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::430 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246950 Archived-At: Andrea Corallo writes: > Alex Benn=C3=A9e writes: > >> Hi, >> >> When I did my weekly update of the build I noticed a bunch more errors >> being reported when I start up: >> >> Error loading autoloads: (wrong-type-argument stringp nil) [98 times] >> >> I hesitate to call it breakage as after tweaking a few of my use-package >> setups to explicitly load sub-files of a package I'm still able to run >> my normal emacs activities. The change was somewhere between 4abb8c822c >> and b7678cf10e on the native-comp branch so I was wondering if there are >> any pointers for what might have changed so I can dig deeper. > > Hi Alex, > > yeah apparently something broke. I think bug#40620 should be about the > same issue. I'll have a look. Yeah manually running that gives me the same error. It all comes down to the line (file-name-directory #$) which I guess should have some special handling. The weird thing is on my "normal" emacs (GNU Emacs 25.2.2 (x86_64-pc-linux-gnu) of 2017-09-22, modified by Debian) executing this line also gives the same error although the *Messages* shows no such problems during load up. Does this indicate there us some sort of special context in the way the autoload code is run? Is file-name-handler-alist modified during autoload processing in a way that isn't picked up by native code? > > Thanks! > > Andrea --=20 Alex Benn=C3=A9e