From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uCHeC913o2BKBwEAgWs5BA (envelope-from ) for ; Tue, 18 May 2021 10:16:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oAJqB913o2A3SAAAbx9fmQ (envelope-from ) for ; Tue, 18 May 2021 08:16:29 +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 58027122A7 for ; Tue, 18 May 2021 10:16:28 +0200 (CEST) Received: from localhost ([::1]:59846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liutu-0000Zr-NK for larch@yhetil.org; Tue, 18 May 2021 04:16:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liutW-0000YW-JG for bug-guix@gnu.org; Tue, 18 May 2021 04:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liutW-0005wR-Ai for bug-guix@gnu.org; Tue, 18 May 2021 04:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1liutW-0003Gg-5s for bug-guix@gnu.org; Tue, 18 May 2021 04:16: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: Shyam Saran Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 18 May 2021 08:16: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: Leo Prikler Received: via spool by 48398-submit@debbugs.gnu.org id=B48398.162132570312477 (code B ref 48398); Tue, 18 May 2021 08:16:02 +0000 Received: (at 48398) by debbugs.gnu.org; 18 May 2021 08:15:03 +0000 Received: from localhost ([127.0.0.1]:54427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liusY-0003Ep-71 for submit@debbugs.gnu.org; Tue, 18 May 2021 04:15:03 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:41624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liusW-0003EL-8Q for 48398@debbugs.gnu.org; Tue, 18 May 2021 04:15:01 -0400 Received: by mail-ed1-f66.google.com with SMTP id v5so9975318edc.8 for <48398@debbugs.gnu.org>; Tue, 18 May 2021 01:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/Ht5T0egbxg3+QjP3MlJ8Y+VLNQB0gP/zqn+uXvA+Nc=; b=Vcf7YIuVnRYZHe8YWDnwWqXnIheC3NjpRrUgHOSdPbb3Ih2bqFpkPj0KG5yjfCf9jF nbRzxKRvy8PRv/DOlPYXptTLahR9l8wu/n4ZNxZtZ+l1YcrNePuFsMzc2We8IzVwc/XL O3ZwIHaSNUNYb+GH4KnU5hGX9F8q2IdZOK8/nQl5vsFUTcZBi6NBpJQwF/w+qUTb1Lv/ PoVG554R+HDGnLiAGvxKSZfzQeGPDy1o5TscxrjuHJFNbCeNxfM8PR9JLL4b3qAidV8c CGVs7PO4B3PXFTwpN+K0FX7+5AJTORZ3FckAV2c+MGsVTJ5lSFZ0TVB/v5K4cLPKv/7I V7Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/Ht5T0egbxg3+QjP3MlJ8Y+VLNQB0gP/zqn+uXvA+Nc=; b=Jd9riQGQzCS28fDJbDjvXSEN9xQPZMQv5xVurPwt8k0Hd0v8shu9V//xo9px1jGfcc EOAILfu6Kiu9OBai8QQ1YWsxRPr24gxXlm3OHfHRa3mnbN0yGFnQo3HR9Z8L38GRkPFX AhNr4b2YndC2pl8/9OyKQ+NCQXWc6rnRIK38UnE4b3YgbT+Dhu1Xi/5yp+QvA1roOQdU H/vWy9iQlvQSOwtQVqE9u1U0k43V89yifyUPWsDeQejNlo9iy0y9wOQ8nK9VoXnfZgfi Wp/hwxG2iXbSxlC7+pfM6okr7TRDHT0pCH1SyNQGMBd5U9R1Q1RUbrJ59Uo/6MFjDYpS Qmjw== X-Gm-Message-State: AOAM530LcZZkiC8F2oJCuE7m4tl62kfWBOQhhpHWFv6VjykEJiuIXKw1 FL3ETLys2zMCh96V5ZHVLxLcKI/v+dT0qTW7N5k= X-Google-Smtp-Source: ABdhPJw7yFLbBlkg9ymIJABTQsbf564yFnm7UoRDUARBiowDTh5U1i4kk4D9sOVGvZm7HcGxgdsN53jqLxirmLuCBvo= X-Received: by 2002:aa7:d5cf:: with SMTP id d15mr5574963eds.153.1621325694285; Tue, 18 May 2021 01:14:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shyam Saran Date: Tue, 18 May 2021 13:44:43 +0530 Message-ID: Content-Type: multipart/alternative; boundary="00000000000012b8d405c2964eba" 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=1621325788; 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: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=/Ht5T0egbxg3+QjP3MlJ8Y+VLNQB0gP/zqn+uXvA+Nc=; b=iBt4NB7Zg8h5Xe2bZqcTMvHzOSnGXjH+Ryd+VA+sep25UF+Zy8Ku9C8XKVUF7uYyEgInND +K6jwO7ccTnEfb3CdwstRxlp3uXMvWOdKmU+hqzfHx+zoYznXcmTQbonhMDsSq1O7qKv1d 5pWgI6bhbmCgP8QFCBpKhbvdsfoUqHFg1HtI27L8KKOGZb6pznGcaSe6Zm8UtfzqKJQ5uk l0Aa5iPJhgMTVeSN50kqwJkxW9EOtjtNitZC3/Nj+YRlREwnyqFBVltrQy9xGIvfCp6jSi FT+4WRuTtjlgax179Ka78B+ZyzK7L5sFbYI5AIAUPqmy7FW1mtjnCRAzpCjc3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621325788; a=rsa-sha256; cv=none; b=pSv6uV13A9KR5xrzOoF6j3GI06tq8/yhMBdUlWIORzL9WU4xDzZIPsP9RLQA5E6zRXmDsb sTDPLGFFmPCxtnyi/OtOL0nRrX7i9gHeOVfdYmgy5I892yGcP5148MiQJQMnLOHwMz0/5I nn/HKZwSYvK12wzKSkeVnkNUjezPdvXcSAomj/VmuTHbHOT/19QsENvcnqFv892O5R36v5 g96yd7QKBXBa3pMrpTSOvByvOgnNFK1VEOYsRU5+I/ttMRX6YDH0qNFkFHRjepooYx0Dst JH5W0vt4+74to8ICjD5a+4RteCUBEa3xpRetMTZTfvgvPuUj5xbTZOdRYXVaKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Vcf7YIuV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Vcf7YIuV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 58027122A7 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: pn/YyHfNwrtr --00000000000012b8d405c2964eba Content-Type: text/plain; charset="UTF-8" This below error I am getting $ blueman-manager 718s 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) On Fri, 14 May 2021 at 03:25, Leo Prikler 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 > > --00000000000012b8d405c2964eba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


This below error I am getting
<= /div>

$ blueman-manager =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0718s

blueman-manage= r version 2.1.4 starting
Traceback (most recent call last):
=C2=A0 Fi= le "/gnu/store/894nlym6bvmn3cza9q775pg4f1gvixxa-blueman-2.1.4/lib/pyth= on3.8/site-packages/blueman/main/Manager.py", line 111, in on_dbus_nam= e_appeared
=C2=A0 =C2=A0 check_bluetooth_status(_("Bluetooth needs = to be turned on for the device manager to function"),
=C2=A0 File &= quot;/gnu/store/894nlym6bvmn3cza9q775pg4f1gvixxa-blueman-2.1.4/lib/python3.= 8/site-packages/blueman/Functions.py", line 73, in check_bluetooth_sta= tus
=C2=A0 =C2=A0 if "PowerManager" not in applet.QueryPlugins= ():
=C2=A0 File "/gnu/store/qrpkvnya5z5q2n1lc024wbxb27p9wrzq-python= -pygobject-3.34.0/lib/python3.8/site-packages/gi/overrides/Gio.py", li= ne 351, in __call__
=C2=A0 =C2=A0 result =3D self.dbus_proxy.call_sync(s= elf.method_name, arg_variant,
gi.repository.GLib.Error: g-dbus-error-qua= rk: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.blu= eman.Applet was not provided by any .service files (2)



(thanks for support)




On Fri, 14 May 2021 at 03:25, Leo Prikler &= lt;leo.prikler@student.tug= raz.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.=C2=A0 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.=C2=A0 Instead of exposing itself to the dangers of<= br> 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=C2=A0 =C2=A0--scheme=C2=A0 '.guix-profile'
> $ grep -r '.guix-profile'
>
> in code
I find 65 matches including documentation.=C2=A0 Even assuming every one of=
them was a package, it would affect about 1% of packages, many of which
would probably be leaf packages.=C2=A0 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
>
>=C2=A0 =C2=A0like for pidgin/purple
>=C2=A0 =C2=A0PURPLE_PLUGIN_PATH
>
>=C2=A0 =C2=A0for libraries
>=C2=A0 =C2=A0LIBRARY_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
>
>
>=C2=A0 =C2=A0GUIX_PEV_PURPLE_PLUGIN_PATH
>=C2=A0 =C2=A0GUIX_PEV_LIBRARY_PATH
>
> then we could or could not (left to user) to set them
>=C2=A0 =C2=A0PURPLE_PLUGIN_PATH=3D$GUIX_PEV_PURPLE_PLUGIN_PATH
>=C2=A0 =C2=A0LIBRARY_PATH=3D$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_.=C2=A0 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

--00000000000012b8d405c2964eba--