From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GG6qH+xv3F+hEwAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 09:01:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YKF5G+xv3F/oPgAA1q6Kng (envelope-from ) for ; Fri, 18 Dec 2020 09:01:32 +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 84432940480 for ; Fri, 18 Dec 2020 09:01:28 +0000 (UTC) Received: from localhost ([::1]:48992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqBde-0008Cz-QE for larch@yhetil.org; Fri, 18 Dec 2020 04:01:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqBdG-0008Ca-5E for help-guix@gnu.org; Fri, 18 Dec 2020 04:01:05 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:45689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqBd3-0003J0-2N for help-guix@gnu.org; Fri, 18 Dec 2020 04:00:56 -0500 Received: by mail-wr1-x435.google.com with SMTP id d26so1256693wrb.12 for ; Fri, 18 Dec 2020 01:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=D71b9/EtVf8Myme9J8USPeMocQOFUYbVo0uSlxzQjB0=; b=r2b8Y2bzx3bm3Ld0o2kpbQdHgQ2KuKdFba8e8spEiY402GiP12PFK6BX92rpatqxo/ zIvwVAABrkDVD9HrNGpB2eywVolCCQw+30HdnSUfbOdTdJnlNRjFyWkAn63cqmZtqv4K 3J18aeo/dvXjN6rSRFsNy3FAM89AoAT2Hlk+rgbG/QjeNwM54O6fjWa2tw/3y0bwvRXP RsZPkFqdC57P7ymiwtRHM9qgCaCDTH8d09YMTk0qbqutOUmLRsXh54cJhtWLjIH5tWhR Fj5b4z81umLJWzdso1kZl9Pss8JTp8qh9RduiYMHNV45uI0tcHAeyqTGVfxr3NIgFRue aJDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=D71b9/EtVf8Myme9J8USPeMocQOFUYbVo0uSlxzQjB0=; b=lfzHaQRbDSU58WGY7mHvOJl2usPr8j43/WV27GZoKiwAWz1dPAgE2GvB2JbSMH7dGy UeqlDnRF2Nqhp7KqUTcSi/TNprWzuUPLgEVdZXcqyfY+AbPibtGk10utH/lU4XdZq+5k uEeTBEy8uAM0ZMTgQVsHqSGb/QZnL9k6bSTjHfkNZnPVigUBE63K4kz2X2EHql/wtTOk IYEPdN5jvKpz8YAaGNYc3clYgXQQDPGsJQNhT8fsLcT0gqc7rqzh2eDjny/IUyd6LGLZ rP/Nx0NK+08jIsYp6pOY6H1qyLOWGJcZKncQ51fhbUu0+SXM6NYciEwLG9JdENAaLi/0 zBsw== X-Gm-Message-State: AOAM531MftTBmjvMLZRysJs34F9opdxxcJSUkC+fmpaFtE0g4TrCBgpb J6Z01VCe9DGl8vTyGBDLM5QyZrSZVjo= X-Google-Smtp-Source: ABdhPJzxZ5o9K4hb2lampvCU5RXTMv/ZFxbRugA+mgN6he+NvyOenWCH632cLUT6wKzeJWgGcO77nA== X-Received: by 2002:adf:a495:: with SMTP id g21mr3339519wrb.198.1608282046577; Fri, 18 Dec 2020 01:00:46 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id g192sm11010718wme.48.2020.12.18.01.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Dec 2020 01:00:46 -0800 (PST) From: zimoun To: Carlo Zancanaro Subject: Re: Can I easily install GNU Emacs 27.1.50 via Guix? In-Reply-To: <875z4z4v6s.fsf@zancanaro.id.au> References: <87h7ov0vxl.fsf@disroot.org> <87h7ou1yxf.fsf@ambrevar.xyz> <861rfxj0lx.fsf@gmail.com> <87wnxgf3hh.fsf@disroot.org> <867dpfools.fsf@gmail.com> <875z4z4v6s.fsf@zancanaro.id.au> Date: Fri, 18 Dec 2020 10:00:33 +0100 Message-ID: <86h7ojmqtq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.22 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=r2b8Y2bz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 84432940480 X-Spam-Score: -0.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZAX5BzJy9Yy2 Hi, On Fri, 18 Dec 2020 at 15:03, Carlo Zancanaro wrote: > On Fri, Dec 18 2020, zimoun wrote: >>> When I launch Debian's Evince from Guix's emacs-maint, Evince=20 >>> cannot find my local printer. Look at the messages when I open=20 >>> Evince in an Emacs shell and open Evince's print dialog: >> >> Well, it seems expected, isn=E2=80=99t it? ... > > I don't think "expected" is the right way to put this. I think=20 > "explainable" is more accurate. I think it's reasonable to expect=20 > that opening Debian's Evince from within Emacs would be able to=20 > find the printers. The fact that it cannot is a bug introduced by=20 > Guix's use of environment variables. Maybe I miss something and I have not dove into all the details so I could be totally wrong. However, from my understanding, A is built against the shared library C1, and B is built against the shared library C2, and nothing says that C1 and C2 are compatible. If you run A inside B, then C2 is used for both A and B, and A fails because it expects C1 and finds instead C2. I miss why it is considered as a bug. Aside the fact that A and C1 are system-wide so without any control on how it is built. >From my understanding, it is a bug if A built against C2 run inside B built too against C2 does not work; which correspond to: guix environment --pure --ad-hoc emacs evince emacs -q -f shell and type =E2=80=9Cevince=E2=80=9D. Then I do not have any error when I open the print dialog; but I have no setup for CUPS on my machine though. And it appears to me also a bug if: guix environment --pure --ad-hoc emacs-no-x emacs -q -f shell and type =E2=80=9C/usr/bin/evince=E2=80=9D where the print dialog fails. O= n my machine, it is not the case; but I have no setup for CUPS on my machine though. Otherwise, from my point of view, failure should happen and I miss why it should be considered as a bug, but as I said, I should probably miss something and be wrong. > I run into a similar problem where my window manager (awesomewm)=20 > sets LD_LIBRARY_PATH, which then propagates to everything I run=20 > from my session. It's quite a pain. I thought there was an open=20 > issue for this, but I can't seem to find it at the moment. On foreign distro or Guix System? All the best, simon