GNU bug report logs - #72625
emacs-magit: autoload issue

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Wed, 14 Aug 2024 19:00:02 UTC

Severity: normal

Done: Christopher Howard <christopher <at> librehacker.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72625 in the body.
You can then email your comments to 72625 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#72625; Package guix. (Wed, 14 Aug 2024 19:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Howard <christopher <at> librehacker.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 14 Aug 2024 19:00:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: bug-guix <at> gnu.org
Subject: emacs-magit: autoload issue
Date: Wed, 14 Aug 2024 10:58:29 -0800
Recipe:

1. Make sure emacs-magit is already install.
2. In Emacs, go to an info manual (e.g., C-h r)
3. Position point on a menu link and press <ENTER>

This attempts to trigger some magit advice, but that fails with this error:

```
Debugger entered--Lisp error: (error "Autoloading file /gnu/store/fllbaw3s1i7b7f970pz3inmflgc5kb0w-emacs-magit-3.3.0-8.538cb2f/share/emacs/site-lisp/magit-3.3.0-8.538cb2f/magit-base.elc failed to define function Info-follow-nearest-node--magit-gitman")
  Info-follow-nearest-node--magit-gitman(#f(advice Info-follow-nearest-node <at> gitman :around #<subr Info-follow-nearest-node>) nil)
  apply(Info-follow-nearest-node--magit-gitman #f(advice Info-follow-nearest-node <at> gitman :around #<subr Info-follow-nearest-node>) nil)
  Info-follow-nearest-node(nil)
  funcall-interactively(Info-follow-nearest-node nil)
  command-execute(Info-follow-nearest-node)
```

Maybe magit-base.elc is compiled wrong somehow...?

I see magit 4.0 was just released, so if somebody wants to update the package, maybe the problem would go away.

Here is my system information:

```
christopher <at> theoden 
------------------- 
OS: Guix System x86_64 
Host: OptiPlex 9020 00 
Kernel: 5.15.161-gnu 
Uptime: 41 days, 21 hours, 44 mins 
Packages: 167 (guix-system), 251 (guix-user) 
Shell: bash 5.1.16 
Resolution: 1920x1080 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: shepherd 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
GPU: Intel HD Graphics 
Memory: 3867MiB / 15914MiB 
```

``` guix describe
Generation 140	Aug 14 2024 10:02:53	(current)
  guix ca5ff8a
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ca5ff8aa8b50ac317003d76cc4ea2a621d5a3819
```

GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)

Magit 3.3.0-8.538cb2f, Transient 0.7.4, Git 2.45.2, Emacs 29.4, gnu/linux

-- 
馃摏 Christopher Howard
馃殌 gemini://gem.librehacker.com
馃寪 http://gem.librehacker.com

讘专讗砖讬转 讘专讗 讗诇讛讬诐 讗转 讛砖诪讬诐 讜讗转 讛讗专抓




Information forwarded to bug-guix <at> gnu.org:
bug#72625; Package guix. (Tue, 20 Aug 2024 08:14:02 GMT) Full text and rfc822 format available.

Message #8 received at 72625 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: 72625 <at> debbugs.gnu.org
Subject: Re: bug#72625: emacs-magit: autoload issue
Date: Tue, 20 Aug 2024 10:12:17 +0200
Hello,

Christopher Howard <christopher <at> librehacker.com> writes:

> Recipe:
>
> 1. Make sure emacs-magit is already install.
> 2. In Emacs, go to an info manual (e.g., C-h r)
> 3. Position point on a menu link and press <ENTER>
>
> This attempts to trigger some magit advice, but that fails with this error:
>
> ```
> Debugger entered--Lisp error: (error "Autoloading file /gnu/store/fllbaw3s1i7b7f970pz3inmflgc5kb0w-emacs-magit-3.3.0-8.538cb2f/share/emacs/site-lisp/magit-3.3.0-8.538cb2f/magit-base.elc failed to define function Info-follow-nearest-node--magit-gitman")
>   Info-follow-nearest-node--magit-gitman(#f(advice Info-follow-nearest-node <at> gitman :around #<subr Info-follow-nearest-node>) nil)
>   apply(Info-follow-nearest-node--magit-gitman #f(advice Info-follow-nearest-node <at> gitman :around #<subr Info-follow-nearest-node>) nil)
>   Info-follow-nearest-node(nil)
>   funcall-interactively(Info-follow-nearest-node nil)
>   command-execute(Info-follow-nearest-node)
> ```
>
> Maybe magit-base.elc is compiled wrong somehow...?
>
> I see magit 4.0 was just released, so if somebody wants to update the
> package, maybe the problem would go away.

Magit was updated to 4.0 a few hours ago. I cannot reproduce it (but
I didn't try before the update). Did this change anything on your side?

Regards,
-- 
Nicolas Goaziou






Information forwarded to bug-guix <at> gnu.org:
bug#72625; Package guix. (Thu, 19 Sep 2024 19:25:02 GMT) Full text and rfc822 format available.

Message #11 received at 72625 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 72625 <at> debbugs.gnu.org
Subject: Re: bug#72625: emacs-magit: autoload issue
Date: Thu, 19 Sep 2024 11:24:01 -0800
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:

>> I see magit 4.0 was just released, so if somebody wants to update the
>> package, maybe the problem would go away.
>
> Magit was updated to 4.0 a few hours ago. I cannot reproduce it (but
> I didn't try before the update). Did this change anything on your side?
>

Hi, I confirmed I am now running 4.0.0 (using magit-version), but I am still seeing this exact same issue.

I am at the moment running pre-test version of Emacs, GNU Emacs 30.0.91 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-09-11. But I will test this again with Emacs 29.4 from the guix package, just to be thorough.

-- 
Christopher Howard




Information forwarded to bug-guix <at> gnu.org:
bug#72625; Package guix. (Thu, 19 Sep 2024 19:27:01 GMT) Full text and rfc822 format available.

Message #14 received at 72625 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 72625 <at> debbugs.gnu.org
Subject: Re: bug#72625: emacs-magit: autoload issue
Date: Thu, 19 Sep 2024 11:26:17 -0800
I see this error also when running Emacs 29.4 from the guix package. I used "emacs -q" for the test so it is not an init.el file issue.

-- 
Christopher Howard




Information forwarded to bug-guix <at> gnu.org:
bug#72625; Package guix. (Thu, 19 Sep 2024 21:09:01 GMT) Full text and rfc822 format available.

Message #17 received at 72625 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: bug#72625 <72625 <at> debbugs.gnu.org>
Subject: Re: Status: emacs-magit: autoload issue
Date: Thu, 19 Sep 2024 13:08:26 -0800
A non-guix user on #emacs tested this for me and is not able to reproduce the problem on his distro. Said he was running Emacs 31.0.50 and Magit 4.0.0. He also tried 4.1.0. So it is seeming like a guix-specific issue.

-- 
Christopher Howard




Reply sent to Christopher Howard <christopher <at> librehacker.com>:
You have taken responsibility. (Fri, 04 Oct 2024 15:37:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Howard <christopher <at> librehacker.com>:
bug acknowledged by developer. (Fri, 04 Oct 2024 15:37:02 GMT) Full text and rfc822 format available.

Message #22 received at 72625-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: 72625-done <at> debbugs.gnu.org
Subject: Re: bug#72625: emacs-magit: autoload issue
Date: Fri, 04 Oct 2024 07:36:31 -0800
Hi, after I updated my Emacs this morning to d656be9794d (emacs-30 branch) I am now not seeing this problem. I see in 5eaf0c784bf that there was a small, seemingly unrelated change to to info-look.el, but that is the only thing that jumps out at me. So, I'm not sure how the problem was resolved, but hopefully it is gone for good.

I also vaguely recall doing a home reconfigure a day or two ago, so perhaps that played into it somehow.

-- 
Christopher Howard




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 Nov 2024 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 287 days ago.

Previous Next


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