From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rob Moss Newsgroups: gmane.emacs.bugs Subject: bug#43280: 28.0.50; [native-comp] Symbol's function definition is void Date: Sat, 12 Sep 2020 16:59:52 +1000 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="29893"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43280@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 12 09:01:11 2020 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 1kGzX4-0007gn-86 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Sep 2020 09:01:10 +0200 Original-Received: from localhost ([::1]:59326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGzX2-00062v-So for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Sep 2020 03:01:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGzWw-00062F-GD for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2020 03:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGzWw-0008QI-6S for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2020 03:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGzWw-0000eQ-2x for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2020 03:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rob Moss Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Sep 2020 07:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43280 X-GNU-PR-Package: emacs Original-Received: via spool by 43280-submit@debbugs.gnu.org id=B43280.15998940372449 (code B ref 43280); Sat, 12 Sep 2020 07:01:02 +0000 Original-Received: (at 43280) by debbugs.gnu.org; 12 Sep 2020 07:00:37 +0000 Original-Received: from localhost ([127.0.0.1]:46075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGzWW-0000dQ-L1 for submit@debbugs.gnu.org; Sat, 12 Sep 2020 03:00:36 -0400 Original-Received: from mail-lf1-f54.google.com ([209.85.167.54]:42988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGzWV-0000dD-5W for 43280@debbugs.gnu.org; Sat, 12 Sep 2020 03:00:35 -0400 Original-Received: by mail-lf1-f54.google.com with SMTP id b12so8066863lfp.9 for <43280@debbugs.gnu.org>; Sat, 12 Sep 2020 00:00:35 -0700 (PDT) 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=eZtvz6gtKxYovBtYEvyoEE4Oc4SR+mC6ULwID158QrQ=; b=qu3ax9xUVMoE8Tg6OAUlu/WHLtSQZGXNSOGeOJ4sTVXf4hfJi+k/DhnTFz7d5f6g6D QVlOGLIqn1CfX9s2Z2EHoFUT+uN72Cc1AfymAF1r5rAPOqdg5LFaZ6Coqk4eMKgONPyF VSJGTWKXh20m9ly7kmZXWFlGpLQUcg+Nlj7j6urCEbeH0hdyp5jP3wW6SJ02Tq10LuTL NC+KdNInJDPrwWzzJhY2BWcnrI1QH2Wl6J4ggfzF17B5Fycaqbt1chcWRxbge0hHsSlX EM/1ioaYTlCOav01BC4vaq9dFw7/0xmeYIWwXYqPwJuabbqF6e8ErEx2x5sR4sdz+X/M aRWg== 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=eZtvz6gtKxYovBtYEvyoEE4Oc4SR+mC6ULwID158QrQ=; b=kkYfqxZrbhJ/bkDeRm/t3LKEq2wav9nCJisK/LbbMutMrtQbdB9nxSSYRpEkCyyNoM pRbUxhcKEapwEWJRVh4U7vzYeTspqjRO3NV81SwkWuBIlJqRQOR3WcVwdZR4uD8drqbd IikweKDox7nG0z76GVwIKNAQkdW9XATpJBNVBbmBzn7CfsubsHVNFCNjYkGCvb6Vioz6 FZ/f2ONFOZ08VbHdaqr2Uh3Zl1DVDei+JATseTbbYNBhTsl7bI3CBYggjqkGaL1uyI2Z iBhL56MP6GPZvege1R4CT+jmAUsc7O4zZtT/dgZYtPwjsEFhOM18XRYBDs4vluN8WLmw pkLg== X-Gm-Message-State: AOAM531z8/bIYCVFGj2W+xBpylz7u/Uo9J2rQh97Cjj/vzoT7pLExooQ XbGpcdWfemcT0AphQ/xsuJMXTWhe02BfqUHMXoA= X-Google-Smtp-Source: ABdhPJyAvJ/aq0gjKhMyxbokhEBx8OOc7DEYrKSmbEs/FCWo/6vjzvuzDBEP8Q9oEyxCKjwVU9WuaHu8Xk0/HCh1IgU= X-Received: by 2002:a19:c154:: with SMTP id r81mr1377207lff.424.1599894028956; Sat, 12 Sep 2020 00:00:28 -0700 (PDT) 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:187877 Archived-At: On Sat, 12 Sep 2020 at 00:44, Andrea Corallo wrote: > > Rob Moss writes: > > > > Hi Andrea, > > > > I just tried it with 15acd27d1c0de8b56bab61daa0a8fcd4fef0fdc4 and > > experienced the same issue. > > > > All the best, > > Rob > > Hi Rob, > > I had some trouble reproducing with the reproduced as I got a lots of > errors `Invalid read syntax: "Invalid byte-code object"` byte-compiling > use-package. This both on master and feature/native-comp. Hi Andrea, I'm sorry, I don't really know how to make a minimal working example that downloads and installs packages. Do you know of any examples that I could learn from? > Anyway I managed to reproduce the issue with elpher installing it > manually. > > I believe the issue is not compiler related, elpher is using `url-port' > as a generalized variable (line 1326) but ATM I do not see this defined > anywhere in the Emacs codebase (maybe something was changed?). I'd never heard of a generalized variable, so I've read some of the relevant sections of the Emacs manual. I can't tell whether the line in question: (setf (url-port address) (url-port current-address)) should behave "correctly" (whatever that means). But elpher requires 'url-util, which in turns requires 'url-parse. So I would have expected `url-port' to be a valid function at this point, because it's defined in lisp/url/url-parse.el. I'm particularly confused because I only see the warning once elpher has been compiled to native code. So there does seem to be some difference in behaviour between the byte code and native code, at least on my computer. > That said this is a warning and elper for me gets still native compiled > and I manage to open something as you have suggested evaluating > (elpher-go "gemini://mozz.us/") also after elpher was loaded as native > code. That's interesting, when I see this warning there is nothing else displayed in the `*elpher*' buffer. It only contains the error message and a reminder to press `u' to return to the previous page. > I believe this issue should be reported to the elpher maintainers but to > a quick search I didn't manage to find if and where the package is still > maintained. I've found an email address, so I'll contact the author and see if they're able to shed any light on this. Thanks again for your time, patience, and assistance. All the best, Rob > > Maybe you more info on this. > > Thanks > > Andrea