Subject: [bug#76263] [PATCH] gnu: network-manager: Update to 1.50.0.

From: Ludovic Courtès <[email-masked]>
Date: Fri, 21 Feb 2025 14:56:24 +0100

Divya Ranjan <[email-masked]> skribis:

> * gnu/packages/gnome.scm (network-manager): Update to 1.50.0.

[...]

> -    (version "1.44.0")
> +    (version "1.50.0")
>      (source (origin
>                (method url-fetch)
>                (uri (string-append "mirror://gnome/sources/NetworkManager/"
> @@ -8473,7 +8473,7 @@ (define-public network-manager
>                                         "network-manager-meson.patch"))
>                (sha256
>                 (base32
> -                "17zvg63jjbqdw8xyc6narirvvbbv7micbn0j7dmq0bqqgmihkjpd"))))
> +                "1qv6ma7lhznwcjybl9kwbnbv28k1ca0r9n65ak2fnv35i8wff0zw"))))

‘network-manager-meson.patch’ doesn’t apply:

--8<---------------cut here---------------start------------->8---
source is at 'NetworkManager-1.50.0'
applying '/gnu/store/zmrcarqi9caif1mix5cvpy542jrhcq97-network-manager-plugin-path.patch'...
patching file src/core/vpn/nm-vpn-manager.c
applying '/gnu/store/wi7x4yk7w9c3r6721y4nl55z1ak4ysn5-network-manager-meson.patch'...
patching file src/core/devices/wwan/meson.build
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file src/core/devices/wwan/meson.build.rej
Backtrace:
           5 (primitive-load "/gnu/store/c0v00hx7a7sgxgpl6sygincxipn…")
In ice-9/eval.scm:
    619:8  4 (_ #(#(#<directory (guile-user) 7ffff7850c80> "Net…") #))
In ice-9/boot-9.scm:
    142:2  3 (dynamic-wind #<procedure 7ffff77aa9e0 at ice-9/eval.s…> …)
In ice-9/eval.scm:
    619:8  2 (_ #(#(#<directory (guile-user) 7ffff7850c80>)))
In srfi/srfi-1.scm:
    634:9  1 (for-each #<procedure apply-patch (a)> _)
In guix/build/utils.scm:
    822:6  0 (invoke "/gnu/store/4jhlsg65s1zx90gnnfmaax52i8prnl45-p…" …)

guix/build/utils.scm:822:6: In procedure invoke:
ERROR:
  1. &invoke-error:
      program: "/gnu/store/4jhlsg65s1zx90gnnfmaax52i8prnl45-patch-2.7.6/bin/patch"
      arguments: ("--force" "--no-backup-if-mismatch" "-p1" "--input" "/gnu/store/wi7x4yk7w9c3r6721y4nl55z1ak4ysn5-network-manager-meson.patch")
      exit-status: 1
      term-signal: #f
      stop-signal: #f
builder for `/gnu/store/jpkcjngyinw6jawjhffckd8f5ngk9asa-NetworkManager-1.50.0.tar.zst.drv' failed with exit code 1
build of /gnu/store/jpkcjngyinw6jawjhffckd8f5ngk9asa-NetworkManager-1.50.0.tar.zst.drv failed
--8<---------------cut here---------------end--------------->8---

Could you take a look?

TIA,
Ludo’.