GNU bug report logs - #78428
[PATCH] gnu: elogind: Adjust patch for pkttyagent path.

Previous Next

Package: guix-patches;

Reported by: Sergey Trofimov <sarg <at> sarg.org.ru>

Date: Wed, 14 May 2025 17:51:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Full log


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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Sergey Trofimov <sarg <at> sarg.org.ru>
Cc: 78428 <at> debbugs.gnu.org
Subject: Re: [bug#78428] [PATCH] gnu: elogind: Adjust patch for pkttyagent
 path.
Date: Sat, 17 May 2025 00:23:36 +0900
Hi,

Sergey Trofimov <sarg <at> sarg.org.ru> writes:

> * gnu/packages/freedesktop.scm (elogind):
> [#:phases]<fix-pkttyagent-path>: Adjust the regexp to work with source
> version 255.17.
>
> Change-Id: I259c93d806482d10bd438a8ba47dcf5a270feeca
> ---
>  gnu/packages/freedesktop.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
> index de8fb975bc..281c8b33ec 100644
> --- a/gnu/packages/freedesktop.scm
> +++ b/gnu/packages/freedesktop.scm
> @@ -949,8 +949,8 @@ (define-public elogind
>           (add-after 'unpack 'fix-pkttyagent-path
>             (lambda _
>               (substitute* "meson.build"
> -               (("join_paths\\(bindir, 'pkttyagent'\\)")
> -                "'\"/run/current-system/profile/bin/pkttyagent\"'"))))
> +               (("bindir / 'pkttyagent'")
> +                "'/run/current-system/profile/bin/pkttyagent'"))))

Oof.  It's terrible that these substitution fail silently.  This
packages rebuilds about 4K, so we'll need to make a 'elogind-fixed'
package and use it as a replacement (graft).  Would you like to do so in
this same change?  You can send a v2.

-- 
Thanks,
Maxim




This bug report was last modified 25 days ago.

Previous Next


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