GNU bug report logs - #69797
[PATCH] gnu: alacritty: Fix loading of libxkbcommon-x11.so.

Previous Next

Package: guix-patches;

Reported by: Clément Lassieur <clement <at> lassieur.org>

Date: Thu, 14 Mar 2024 13:58:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#69797: closed ([PATCH] gnu: alacritty: Fix loading of
 libxkbcommon-x11.so.)
Date: Fri, 15 Mar 2024 08:38:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 15 Mar 2024 10:35:38 +0200
with message-id <ZfQIWn49ifDXn-zV <at> 3900XT>
and subject line Re: [bug#69797] [PATCH] gnu: alacritty: Fix loading of libxkbcommon-x11.so.
has caused the debbugs.gnu.org bug report #69797,
regarding [PATCH] gnu: alacritty: Fix loading of libxkbcommon-x11.so.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
69797: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69797
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Clément Lassieur <clement <at> lassieur.org>
To: guix-patches <at> gnu.org
Cc: Clément Lassieur <clement <at> lassieur.org>
Subject: [PATCH] gnu: alacritty: Fix loading of libxkbcommon-x11.so.
Date: Thu, 14 Mar 2024 14:55:29 +0100
* gnu/packages/terminals.scm (alacritty)[arguments]: Handle
libxkbcommon-x11.so in the ‘add-absolute-library-references’ phase.

This fixes this error:

thread 'main' panicked at /tmp/guix-build-alacritty-0.13.1.drv-0/source/guix-vendor/rust-xkbcommon-dl-0.4.1.tar.gz/src/x11.rs:59:28:
Library libxkbcommon-x11.so could not be loaded.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Change-Id: Ifbf19b4962bc3d9eeba6acdf32ca66b0c662f493
---
 gnu/packages/terminals.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 49c42c8fcb98..f0ae4d4d4d61 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -39,6 +39,7 @@
 ;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2023 Jaeme Sifat <jaeme <at> runbox.com>
 ;;; Copyright © 2024 Suhail <suhail <at> bayesians.ca>
+;;; Copyright © 2024 Clément Lassieur <clement <at> lassieur.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1604,6 +1605,8 @@ (define-public alacritty
                 (search-input-file inputs (string-append "lib/" all)))
                (("libwayland-[[:alpha:]]*\\.so" all)
                 (search-input-file inputs (string-append "lib/" all)))
+               (("libxkbcommon-x11\\.so")
+                (search-input-file inputs "lib/libxkbcommon-x11.so"))
                (("libxkbcommon\\.so")
                 (search-input-file inputs "lib/libxkbcommon.so")))))
          (replace 'install

base-commit: dc4842797bfdc5f9f3f5f725bf189c2b68bd6b5a
-- 
2.41.0



[Message part 3 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: Clément Lassieur <clement <at> lassieur.org>
Cc: 69797-done <at> debbugs.gnu.org
Subject: Re: [bug#69797] [PATCH] gnu: alacritty: Fix loading of
 libxkbcommon-x11.so.
Date: Fri, 15 Mar 2024 10:35:38 +0200
[Message part 4 (text/plain, inline)]
Thanks! Patch pushed.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 68 days ago.

Previous Next


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