bug#72625: emacs-magit: autoload issue

2024-08-14 Thread Christopher Howard
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 

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@gitman :around #) nil)
  apply(Info-follow-nearest-node--magit-gitman #f(advice 
Info-follow-nearest-node@gitman :around #) 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@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

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





bug#72479: guix system reconfigure hangs indefinitely after displaying "guix system: bootloader successfully installed on "(/dev/sda)"

2024-08-14 Thread Oleander via Bug reports for GNU Guix
I think I figured out what is causing this issue.

My laptop has an empty CMOS battery and when ntpd updates the date and time 
upon boot, shepherd hangs. I found out a few similar reports:

https://issues.guix.gnu.org/66684
https://issues.guix.gnu.org/70848
https://issues.guix.gnu.org/65306
 Original Message 
On Aug 5, 2024, 17:46, Oleander wrote:

> To add more info, the issue reoccurs every time a new update is downloaded 
> via guix pull. Then I reconfigure and the command hangs forever at "guix 
> system: bootloader successfully installed on (/dev/sda)". The only way to 
> shutdown my laptop after this is by pressing the power button, loginctl 
> poweroff and sudo poweroff hangs forever and do nothing. Then I turn my 
> laptop on, log in, run guix pull && sudo guix system reconfigure config.scm 
> and if no update is available, this time the command succeeds.
>
>  Original Message 
> On Jul 29, 2024, 17:26, Oleander wrote:
>
>> Hi Guix,
>>
>> sorry for reopening this but after a few guix system reconfigure, the issue 
>> I reported here: https://issues.guix.gnu.org/72187 has come back again.
>>
>> My system config:
>>
>> (use-modules
>> (gnu) (gnu system))
>> (use-service-modules
>> dbus desktop networking sound ssh xorg)
>> (use-package-modules
>> admin certs glib pulseaudio screen ssh wm)
>>
>> (operating-system
>> (host-name "t420")
>> (timezone "Europe/Rome")
>> (locale "en_US.utf8")
>>
>> (keyboard-layout (keyboard-layout "us"))
>>
>> (bootloader
>> (bootloader-configuration
>> (bootloader grub-bootloader)
>> (terminal-outputs '(console))
>> (targets '("/dev/sda"))
>> (keyboard-layout keyboard-layout)))
>>
>> ;; Specify a mapped device for the encrypted root partition.
>> ;; The UUID is that returned by 'cryptsetup luksUUID'.
>> (mapped-devices
>> (list (mapped-device
>> (source (uuid "c8a8dbf9-9c67-4029-aa59-d5b46840c3f3"))
>> (targets (list "guix"))
>> (type luks-device-mapping
>>
>> (file-systems
>> (append
>> (list (file-system
>> (device (file-system-label "guix"))
>> (mount-point "/")
>> (type "ext4")
>> (dependencies mapped-devices)))
>> %base-file-systems))
>>
>> (swap-devices
>> (list
>> (swap-space (target "/swapfile"
>>
>> (users
>> (cons (user-account
>> (name "oleander")
>> (comment "")
>> (group "users")
>> (home-directory "/home/oleander")
>> (supplementary-groups '("wheel" "netdev"
>> "audio" "video" "input")))
>> %base-user-accounts))
>>
>> ;; System-wide packages.
>> (packages
>> (append
>> (list
>> dbus
>> openssh-sans-x
>> pulseaudio
>> screen
>> swaylock-effects
>> wpa-supplicant)
>> %base-packages))
>>
>> (services
>> (cons*
>> (service alsa-service-type
>> (alsa-configuration
>> (pulseaudio? #t)))
>> (service dbus-root-service-type)
>> (service elogind-service-type)
>> (service openssh-service-type
>> (openssh-configuration
>> (openssh openssh-sans-x)
>> (port-number 22)
>> (password-authentication? #f)
>> (permit-root-login 'prohibit-password)
>> (authorized-keys
>> `(("oleander" ,(local-file "/home/oleander/.ssh/authorized_keys"))
>> (service ntp-service-type
>> (ntp-configuration
>> (servers (map (lambda (server)
>> (ntp-server (address server)))
>> '("0.europe.pool.ntp.org"
>> "1.europe.pool.ntp.org"
>> "2.europe.pool.ntp.org"
>> "3.europe.pool.ntp.org")
>> (service polkit-service-type)
>> (service screen-locker-service-type
>> (screen-locker-configuration
>> (name "swaylock")
>> (program (file-append swaylock-effects "/bin/swaylock"))
>> (using-pam? #t)
>> (using-setuid? #f)))
>> (service static-networking-service-type
>> (list (static-networking
>> (addresses
>> (list (network-address
>> (device "wlp1s0")
>> (value "192.168.1.37/24"
>> (routes
>> (list (network-route
>> (destination "default")
>> (gateway "192.168.1.1"
>> (name-servers '("1.1.1.1" "1.0.0.1"
>> (service wpa-supplicant-service-type
>> (wpa-supplicant-configuration
>> (config-file (local-file "/home/oleander/src/guix/wpa_supplicant.conf"))
>> (interface "wlp1s0")))
>> (modify-services %base-services
>> (mingetty-service-type config =>
>> (mingetty-configuration
>> (inherit config)
>> ;; Automatically log in as "oleander".
>> (auto-login "oleander")
>> ;; Work-around to fix "Error in service module"
>> (login-pause? #t))
>>
>> ;; Allow resolution of '.local' host names with mDNS.
>> (name-service-switch %mdns-host-lookup-nss))
>> Thank you!