From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 GDxNIjpxcmJEdAAAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 14:27:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EPBLIjpxcmIivQAA9RJhRA (envelope-from ) for ; Wed, 04 May 2022 14:27:38 +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 B2ED01EC30 for ; Wed, 4 May 2022 14:27:21 +0200 (CEST) Received: from localhost ([::1]:35028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmE6C-0005Zk-LB for larch@yhetil.org; Wed, 04 May 2022 08:27:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmDz8-0000DM-A8 for bug-guix@gnu.org; Wed, 04 May 2022 08:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmDz8-0008Sk-0i for bug-guix@gnu.org; Wed, 04 May 2022 08:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmDz7-0001lV-KH for bug-guix@gnu.org; Wed, 04 May 2022 08:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55258: Icedove, external OpenGPG configuration and ld path Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 May 2022 12:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55258 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret , 55258@debbugs.gnu.org Received: via spool by 55258-submit@debbugs.gnu.org id=B55258.16516667966769 (code B ref 55258); Wed, 04 May 2022 12:20:01 +0000 Received: (at 55258) by debbugs.gnu.org; 4 May 2022 12:19:56 +0000 Received: from localhost ([127.0.0.1]:42012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmDz2-0001l7-K4 for submit@debbugs.gnu.org; Wed, 04 May 2022 08:19:56 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:64273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmDz0-0001ky-KL for 55258@debbugs.gnu.org; Wed, 04 May 2022 08:19:55 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KtbVv0vZ2z3xZc; Wed, 4 May 2022 14:19:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1651666791; bh=vd/kUQYH1mfDxKb/EmCZvfO5LmoWRq889v4OssE8sjE=; h=Subject:From:To:Date:In-Reply-To:References; b=gpuc4Q9uJgsuTxlwjzzmWVWIf0k2vxowfc/k1kXU9Z0kXUyGbvfuyVGgf9VnzbSFD EHv9yQjXwVWxwEvhJJ4S4VqVgqGRrTm9H0kBxp9nJkfPEzZRnNKhr3so9Dax4PizVM BkeAtfOJkJ+5TexNp6sc7QJQKZAtwPa0z6Y3xSQ4= Message-ID: <757b52686b44fc81ca71bccfbbf5ee156091aeeb.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Wed, 04 May 2022 14:19:50 +0200 In-Reply-To: <87zgjx6631.fsf@jpoiret.xyz> References: <87zgjx6631.fsf@jpoiret.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" 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=1651667241; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vd/kUQYH1mfDxKb/EmCZvfO5LmoWRq889v4OssE8sjE=; b=YpzQYA49iRuAjeljK1F6evFPrjoVMv0MH6zrMp4uOHmQR1E8wQAh4yUT14BFRffsjqFPog lmP7/FuuMhMI53ZMAzYOhVPxECrXeVsqfqb1CXf2Eg0iX6GN/ERiO33JlSWDmtR0L/bMxK lZdofZPG2QrGqGYbgyqXPF2VmUDGq/YEl89IkcC/BVi8RpYF6g5YJPFWJx+UqulJwvi0oT B/tAcbRWMi1BsCg7ynP1mAACzbIlINOAYFOFtdEq/lMlq+jOf6GcqS9Q7d7UrRKdq2vxUK J2Ec7isvLZpUI9qEy4NJQR0lwCtDLxdDxtKL24A/zbH2Kx3a5VDbc5TarXotxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651667241; a=rsa-sha256; cv=none; b=g8b1a1haBe4cMvR9hzPxs+BiHwd5Yn3AaGd/qBzVykEKs6V0jLf6l9QUp9lCneJer6ilVZ ZXsMZfQeCuaCCofMEm23ea1OGBJiiz5Cg5YszWu2aQSVpTrj9eIvJptFFzzYSAiCCK74N2 ZYrGeR+e3kzeJ/QwY9gzdZDjCS5LyxlUjB9kMKrQnvSNtFmUh6h74URHmh6XOq3RtX5QjQ v+F3e7qkbOJERgEauDAor6Qh7Ucg038esNlS2Wtxn7p/iqUFpp/kYSvaWCPN8nYDJbLthZ LZvkQ0WXZUclPY3Ra72ITOQipJz6vBg0b27u8zXQa6qk2ZfcuWBQ/w+Bxyct+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=gpuc4Q9u; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); 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: 6.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=gpuc4Q9u; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); 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: B2ED01EC30 X-Spam-Score: 6.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: uzCok38BqUFI Am Mittwoch, dem 04.05.2022 um 10:43 +0200 schrieb Josselin Poiret: > 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? Rather than adjusting LD_LIBRARY_PATH, we typically patch the dlopen() call to point to the store. Would this be a workable solution for your problem? > 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. True, in the general case we do rely on both rgrep and the package developer making sane decisions, which might not always work out in our favour. As for debugging, strace might be useful to see what the program is trying to do and should be able to detect a failing dlopen call. Cheers