From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yK//FPA8cmJKcQEAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 10:44:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GOQCFfA8cmJ76gAAauVa8A (envelope-from ) for ; Wed, 04 May 2022 10:44:32 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D67E218D4F for ; Wed, 4 May 2022 10:44:31 +0200 (CEST) Received: from localhost ([::1]:60954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmAcY-0004Jt-F7 for larch@yhetil.org; Wed, 04 May 2022 04:44:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmAc6-0004Jl-8E for bug-guix@gnu.org; Wed, 04 May 2022 04:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmAc5-0003YR-V0 for bug-guix@gnu.org; Wed, 04 May 2022 04:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmAc5-0002GX-TE for bug-guix@gnu.org; Wed, 04 May 2022 04:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55258: Icedove, external OpenGPG configuration and ld path Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 May 2022 08:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55258 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55258@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16516538208668 (code B ref -1); Wed, 04 May 2022 08:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 May 2022 08:43:40 +0000 Received: from localhost ([127.0.0.1]:41747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAbk-0002Fk-4G for submit@debbugs.gnu.org; Wed, 04 May 2022 04:43:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:41802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAbi-0002Fc-Ap for submit@debbugs.gnu.org; Wed, 04 May 2022 04:43:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmAbi-0004JN-2H for bug-guix@gnu.org; Wed, 04 May 2022 04:43:38 -0400 Received: from jpoiret.xyz ([206.189.101.64]:48930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmAbg-0003Us-7V for bug-guix@gnu.org; Wed, 04 May 2022 04:43:37 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id BA0A6183B04 for ; Wed, 4 May 2022 08:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1651653811; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=2NTKk9gk/CT8bLPfdTHY2hWuRVt+xfpbDppbdSjmez0=; b=cC9pvQ5XkGG6NNLqcXapvK500Icplxz6lSW4mlYxZVdmuJSL5XVxLyobXrrCvc4E6fRbz0 lsJy9sUN5ppIqTUjdsAH6ueor/r/mD5jpBc07yBp9ELgKZv5yD0/sm1KACOE30HmmAEBD3 1/T8TDcLgdk2NumADzS0uoHaXqp26fqNSO6FDRULOF3EpVAoIRlBUzFuQojNuT0LKD3GBx KHIST888g4uBTjUDGThcYqJ5ZKA0XSECczT2Jl90WcQ2RMM7zZkzZHEvgOczw7iBykHQPG 0dyj69KGrom8mJ9v+evrwdczqQLb6yOMgNgInpVX9jX9MeepSdf5d7Ly4s97FQ== Date: Wed, 04 May 2022 10:43:30 +0200 Message-ID: <87zgjx6631.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: / Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 24 X-Spam_score: 2.4 X-Spam_bar: ++ X-Spam_report: (2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651653872; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=2NTKk9gk/CT8bLPfdTHY2hWuRVt+xfpbDppbdSjmez0=; b=dlRCFxMAoezhyMWvwTrPvVEaKx7COmgPIME/bL+pI7R2x5xYGAsB4zD+l9UM0mDmLilhaq HTIpW8eLYX7TNQ9/FlIdm5UUFH9nUSOjEMRd+ncR64D8gTbr7FLZx22VjLW0fbvdUCN5zC U48/grTc1QFyDJSuayz0fLpI9+U65pSeA+rzYG8ebOxXRTV/SdH68cGkQzu/dwXqb4Ghs1 tn/Fv19Tu7onnanYh+XUttYgvaieMFo9Q2cCS31OnFTwZiATFMEgzMrdPdwodxJoraqcIi sZFz+ExGRMq+iokIGQR5q87hkPrEqddpndB1OQNClLdwhoMJj4YCCw1fsJZ/AA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651653872; a=rsa-sha256; cv=none; b=Mx7rJsgOxdsA3IDqETHZH4HecDX8TI9b1YP/+7nQDMotc7Ioyfuminod1GvNHpCKQLPc9n fZlqtdvgKMYPnaAqMowP7HqKp8FkOcx/awUu9KfzbM7WXSv8fzQzm2QA2Nqic2+u+pSD2b zAkHSfnWFMPDspopss2LHWPofQs7iXMrAuhs+CljIK96elWnBBXBDE6Ket/0CMkTxxP+KF k5LROedOw/+a19m7DFAbgp3GLxv0Gmns/o/KQ4o8i7rMUJwkmU6KzuozVOQ49DnVgJMayo RgT7xxYgdURAmbT6zF6nn2CtLPUT5KGdsDEPr0M/sO7IjDYIygdxK8qCHObTxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=cC9pvQ5X; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=cC9pvQ5X; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D67E218D4F X-Spam-Score: -3.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: md0u0Csm8Rrt Hello everyone, Currently, if you want to use a smart card with icedove, you have to enable mail.openpgp.allow_external_gnupg in the config editor, but on Guix, icedove will still not find the key that's on your smart card, because it's unable to dlopen the GPGME library (understandably). For now, my workaround is to launch icedove via `LD_LIBRARY_PATH="$(guix build gpgme)/lib" icedove` I outlined something similar to get icecat to be able to share desktops under wayland [1], this time with the pipewire libraries. This doesn't seem like a great out-of-the-box experience for users, especially since nothing indicates that this is the root of the problem. Is there anything we could do about this? Adding all possible optional deps to LD_LIBRARY_PATH in a wrapper seems a bit overkill, since for example PipeWire's closure is ~800 MiB, depending for example on X libraries, and packagers won't always be able to find 100% of the optional deps that are dlopen'd. WDYT? [1] https://lists.gnu.org/archive/html/guix-devel/2022-04/msg00205.html (8735hx74qw.fsf@jpoiret.xyz) -- Josselin Poiret