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 ms0.migadu.com with LMTPS id QADMDHx8o2CuEAEAgWs5BA (envelope-from ) for ; Tue, 18 May 2021 10:36:12 +0200 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 cGNqCHx8o2DFUgAAbx9fmQ (envelope-from ) for ; Tue, 18 May 2021 08:36:12 +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 563FEDB41 for ; Tue, 18 May 2021 10:36:11 +0200 (CEST) Received: from localhost ([::1]:46398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1livCz-0003Ao-PF for larch@yhetil.org; Tue, 18 May 2021 04:36:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1livCs-0003AE-Ef for bug-guix@gnu.org; Tue, 18 May 2021 04:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1livCs-0002Wd-6j for bug-guix@gnu.org; Tue, 18 May 2021 04:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1livCs-0003qZ-23 for bug-guix@gnu.org; Tue, 18 May 2021 04:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48398: many packages become nonfunctional if not install in fixed profile like ~/.guix-profile Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 18 May 2021 08:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48398 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Shyam Saran Received: via spool by 48398-submit@debbugs.gnu.org id=B48398.162132696114784 (code B ref 48398); Tue, 18 May 2021 08:36:02 +0000 Received: (at 48398) by debbugs.gnu.org; 18 May 2021 08:36:01 +0000 Received: from localhost ([127.0.0.1]:54444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1livCr-0003qK-10 for submit@debbugs.gnu.org; Tue, 18 May 2021 04:36:01 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:37326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1livCn-0003q6-Ms for 48398@debbugs.gnu.org; Tue, 18 May 2021 04:36:00 -0400 Received: from [10.0.0.4] (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Fkq8T4Knkz1LBSW; Tue, 18 May 2021 10:35:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Fkq8T4Knkz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621326953; bh=ImD66TjS74oaG8lUcldQHHT43vKt+ghKYMRZ8ZLm1LY=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=GoAv1t1Lr1pbVPyLJCPiF843+sQGczchKfrgwLpZLhcwZj+mcZSu9shElPnzmUw/Z nlo9A91zpJBUeEGnzMbWjLdEQJ0JCSGCusk3/SeWp3Yj0W231VM8DLzi0YG2WcwT+F 6/dUPe7iir7Nqa74R/yT1u8DBZw9jrrv3jMQcTf8= Message-ID: <7cd62bd0561f03fcec8f9ffabc8394ddfa122aa4.camel@student.tugraz.at> From: Leo Prikler Date: Tue, 18 May 2021 10:35:32 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 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: , Cc: 48398@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621326971; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ImD66TjS74oaG8lUcldQHHT43vKt+ghKYMRZ8ZLm1LY=; b=NgfxHchDMRMZD6kna96jDJ98uz0QnoULOx1jHmnXztvxhDr/FLQcWgcgDI6WP709Um0TEL tW8aBAt06j8ljkDdKImD/9IJx8d3ZGjiKqdSHM4iJ0McnnN41C9TcpzczaE6HbS8+qSv9q V7qQmCbALEhi4S9BXDj2+8RGRqQgdRAtNwWlIXzWHOtX68rDqvKF1MzYons2sI+Oe9wGbQ FpWIkww8Nc/3FI0jCClHqLTg1jaB0rAC8moIt8ahMVOW6fXEZWgjs6zMPS4CDl7Wr1/65d 6zxd3ONhH6l9Zj020vqON5SoIIEDMldHvKb1Q/Al4JvfmwZSolx1EK/0VWEvDA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621326971; a=rsa-sha256; cv=none; b=OQosYe7mmkXMka+VVzE2OEHL6nYApZhIyrtrK3oRse5vLPvYBIm6pXdTn5zNjiHBq3h5pr C4elC9rgo9OZzhxkENBG8aB6t0q3XUUOfEGluzZz0Z/Z5SNVAv3fNXfuAMfbmv792mg7b/ JAQ4+X95CQv6jtYvghaHYKEQrFlXEj2yGXc8tKjxRHtU0eWYmFHNQXa7Tc6jUs8Aj0rAYL AwHNgs/ySxuaLozlhIBslALxWthPVbUUdh2WteblvfGtlsf8SvcRqXwDyjJYjHuToVBDX2 oZ490KTeE7TNlUhRvFUGfyTZfolDVidERGGwTKzOkmYxuCo6XFTbqC2NtF164Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=GoAv1t1L; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=GoAv1t1L; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 563FEDB41 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: FMVL6qzzjiXv Hi, Am Dienstag, den 18.05.2021, 13:44 +0530 schrieb Shyam Saran: > This below error I am getting > > blueman-manager version 2.1.4 starting > Traceback (most recent call last): > File "/gnu/store/894nlym6bvmn3cza9q775pg4f1gvixxa-blueman- > 2.1.4/lib/python3.8/site-packages/blueman/main/Manager.py", line 111, > in on_dbus_name_appeared > check_bluetooth_status(_("Bluetooth needs to be turned on for the > device manager to function"), > File "/gnu/store/894nlym6bvmn3cza9q775pg4f1gvixxa-blueman- > 2.1.4/lib/python3.8/site-packages/blueman/Functions.py", line 73, in > check_bluetooth_status > if "PowerManager" not in applet.QueryPlugins(): > File "/gnu/store/qrpkvnya5z5q2n1lc024wbxb27p9wrzq-python-pygobject- > 3.34.0/lib/python3.8/site-packages/gi/overrides/Gio.py", line 351, in > __call__ > result = self.dbus_proxy.call_sync(self.method_name, arg_variant, > gi.repository.GLib.Error: g-dbus-error-quark: > GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name > org.blueman.Applet was not provided by any .service files (2) > > (thanks for support) That's a problem with DBus not finding your .service file. You can work around that by manually starting the service from a Guix environment (`$GUIX_ENVIRONMENT/share/dbus-1/services` should list them) or directly from store. FWIW launching blueman-applet directly leads to another, more confusing DBus error. I'm not sure whether adding the dbus package to your environment fixes any of it, but it's worth a try. > > On Fri, 14 May 2021 at 03:25, Leo Prikler < > leo.prikler@student.tugraz.at> wrote: > > Am Donnerstag, den 13.05.2021, 19:56 +0530 schrieb Shyam Saran: > > > many packages become nonfunctional if not install in fixed > > profiles > > > (e.g. ~/.guix-profile) > > While this is true, there is not necessarily a common cause for all > > such instances. Even among packages, that hardcode ~/.guix- > > profile, > > there might be differences, so it's better to focus on specific > > instances or groups of instances, in which one fix can be applied > > to > > all of them. > > > > > 1. blueman > > Please provide more information on blueman. > > > 2. font-conf so most of font like font-lohit will not be > > available > > This one has a history. Instead of exposing itself to the dangers > > of > > environment variables, fontconfig took the reasonable approach of > > letting itself be controlled by XML files, so if you want it to > > work > > differently from how it usually behaves, you have to edit those. > > > > > I had noticed that fixed profiles have become part of many > > > packages/services definition which could be the reason that many > > of > > > these packages/services become dependent on these fixed profiles. > > Which packages/services in particular? > > > > > It can be checked with > > > > > > $ ag --scheme '.guix-profile' > > > $ grep -r '.guix-profile' > > > > > > in code > > I find 65 matches including documentation. Even assuming every one > > of > > them was a package, it would affect about 1% of packages, many of > > which > > would probably be leaf packages. So while this number is > > definitely > > large enough to intimidate those who want to quickly fix a number > > of > > them, it is also smaller in scale than the report would imply. > > > > > > > > Also > > > > > > We provides necessary services through putting environment > > variables > > > in each profiles > > > > > > PROFILE_PATH/etc/profile > > > > > > like for pidgin/purple > > > PURPLE_PLUGIN_PATH > > > > > > for libraries > > > LIBRARY_PATH > > > > > > > > > As suggestion > > > > > > We could first provide augment all variables with guix specific > > > prefix e.g. GUIX_PEV_... > > > (PVS profile environment variables.) > > > > > > So these all variables will become > > > > > > > > > GUIX_PEV_PURPLE_PLUGIN_PATH > > > GUIX_PEV_LIBRARY_PATH > > > > > > then we could or could not (left to user) to set them > > > PURPLE_PLUGIN_PATH=$GUIX_PEV_PURPLE_PLUGIN_PATH > > > LIBRARY_PATH=$GUIX_PEV_LIBRARY_PATH > > > > > > > > > So with prefixed env vars, in first look one will know it is > > coming > > > from guix related profiles. > > > maybe it will also help in removing dependencies on fixed > > profiles. > > Guix already prefixes some environment variables, that might cause > > issues if they are read by all variants of a package with GUIX_. I > > don't think this needs to be done for every search path, however. > > Again, specific instances like GUIX_PYTHONPATH can (and should be) > > discussed, but I don't think this solves the relation to fixed > > profiles. > > > > Regards, > > Leo > >