From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IcYJFTtJFmCudAAA0tVLHw (envelope-from ) for ; Sun, 31 Jan 2021 06:07:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SHVGEDtJFmAJLAAAbx9fmQ (envelope-from ) for ; Sun, 31 Jan 2021 06:07:55 +0000 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 678A09404C4 for ; Sun, 31 Jan 2021 06:07:54 +0000 (UTC) Received: from localhost ([::1]:38360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l65tn-0007B2-So for larch@yhetil.org; Sun, 31 Jan 2021 01:07:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l65sn-0007Ai-Ru for help-guix@gnu.org; Sun, 31 Jan 2021 01:06:51 -0500 Received: from mout02.posteo.de ([185.67.36.66]:50273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l65sk-0004qN-L1 for help-guix@gnu.org; Sun, 31 Jan 2021 01:06:49 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 979852400FB for ; Sun, 31 Jan 2021 07:06:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1612073201; bh=bxNZ+uihECWzHpNyfDbFA612kxw2Yo6gaIcFQLYndQ0=; h=From:To:Subject:Date:From; b=XgwNMCUKBcNwHJwNbFmnuPQWaOfKgJbsGhpNe9tu0D0NFQA5CQxbHAM3rKvd+m2gn DWGEp9P/NN67kRqJEfO+3/fyZ0fRfS/RnDBz32piytRj0wegaULuhFcpbU8Fdn5Gs2 dR5zOVsTZ9GNiY292pgYh1l6rKBAfhIRSApxzQv3wqw/rVkY0oAb/ObhM5gCV7/jIb BIZpnMZp/eiU9JEEksSNInA34zgw3NgHNc73yGDBPk29Ua3LO3UWfbKefZgB91hawY zLGxiFt4+EI+wL670RJujVABtSnuLWO3YLIzMn1bbpxamCOFnhQiT9n/qUioz2bNnk E4vRC7c3GXmPg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DT0vh4l65z6tmH for ; Sun, 31 Jan 2021 07:06:40 +0100 (CET) From: Fredrik Salomonsson To: help-guix Subject: Yet another locale question on a foreign distro Date: Sat, 30 Jan 2021 22:06:38 -0800 Message-ID: <87h7mxljwx.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=plattfot@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XgwNMCUK; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 678A09404C4 X-Spam-Score: -3.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: S5O4D7gI+IB0 Hi guix, I've developed a little tool to use rofi as a pinentry for gpg-agent called pinentry-rofi. It recently landed in guix, note that version 2.0.2 that is the latest in guix only works if you don't have guile in the same profile. My current setup is guix running on a foreign distro (Arch Linux). And I'm currently running pinentry-rofi installed by its package manager and it works fine. When I submitted the patch to guix, I only ran the tests and launched the tool from the commandline to make sure it was working. I never did test it with gpg-agent. Which was a mistake on my part, as it seems it does not work with gpg-agent when it's installed via guix. I tracked down the root of the problem to rofi not being able to set the locale. The error it return is Rofi-WARNING **: 21:16:03.115: Failed to set locale As far as I can tell my locale is setup properly. GUIX_LOCPATH is set to the profile I have `glibc-locales` installed to. And rofi has no issue setting the locale when I launch pinentry-rofi from the commandline. It's only when gpg-agent launches it. I've tried to use both the native gpg package on the foreign distro as well as the gnupg package on guix (installed to the same profile as pinentry-rofi). Same issue on both. If I hardcode LC_ALL=C, when pinentry-rofi launches rofi, it works with gpg-agent. But that does not seem like a great solution. Do anyone have any idea what could be the issue? Thanks -- s/Fred[re]+i[ck]+/Fredrik/g