From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QILODyyCvGHIGgEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 13:27:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iIyPCyyCvGFyHAAAB5/wlQ (envelope-from ) for ; Fri, 17 Dec 2021 12:27:24 +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 E76D328C29 for ; Fri, 17 Dec 2021 13:27:23 +0100 (CET) Received: from localhost ([::1]:58066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myCKY-0007R6-MK for larch@yhetil.org; Fri, 17 Dec 2021 07:27:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myCKE-0007Qe-8d for bug-guix@gnu.org; Fri, 17 Dec 2021 07:27:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myCKD-000802-Vb for bug-guix@gnu.org; Fri, 17 Dec 2021 07:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myCKD-0008Dq-Lr for bug-guix@gnu.org; Fri, 17 Dec 2021 07:27:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#35308: GDM refuses to log into Gnome Shell In-Reply-To: <87zhoo8pl7.fsf@nicolasgoaziou.fr> Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Dec 2021 12:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35308 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35308@debbugs.gnu.org X-Debbugs-Original-To: Josselin Poiret via Bug reports for GNU Guix X-Debbugs-Original-Cc: 35308@debbugs.gnu.org, Josselin Poiret Received: via spool by submit@debbugs.gnu.org id=B.163974398631552 (code B ref -1); Fri, 17 Dec 2021 12:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Dec 2021 12:26:26 +0000 Received: from localhost ([127.0.0.1]:38176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myCJe-0008Cq-1D for submit@debbugs.gnu.org; Fri, 17 Dec 2021 07:26:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:59696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myCJc-0008Cc-5A for submit@debbugs.gnu.org; Fri, 17 Dec 2021 07:26:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myCJb-0007Nl-WB for bug-guix@gnu.org; Fri, 17 Dec 2021 07:26:24 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:56847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myCJa-0007vV-2J for bug-guix@gnu.org; Fri, 17 Dec 2021 07:26:23 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id A6CCBE0005; Fri, 17 Dec 2021 12:26:18 +0000 (UTC) From: Nicolas Goaziou References: <87zhoo8pl7.fsf@nicolasgoaziou.fr> <87wnk34nd3.fsf@nicolasgoaziou.fr> <87r1aby03f.fsf@jpoiret.xyz> Date: Fri, 17 Dec 2021 13:26:17 +0100 Message-ID: <87fsqre7ti.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@nicolasgoaziou.fr; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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: 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639744044; 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; bh=yX0Vf5I+qqzbY4/0T0sijpG4DeKSOzC96BNy7e52Lf4=; b=VS7Pd3N4nfkDrTqmbVJxRhEWGb3afYsrnkL64PKvZra4us51y/23EQ1dvXwWN8Iwar2MxE 7sStBSOw1RVjflubDUpHY2dHeHv2neJX8oGnlzTb/293yBXfQA6T6MJutSmnFZYmtl9z8/ eA4CrL5++wkv5vHqbSxbbvCcnrFtjIIh8pDJLRmXstQOoCCiRPF6kpBRaRmT2mryu0tIcV FsWavkkG0n+wHTZ3QDJE7qdt2PfubLVzy++zqcVV449LXS36l6st4UAfUfjbIhC6nuLyzL Zo7os2lYYBLUn9ah6lBGJ8UggeF+TRXGAJH/45bG1L3ZhN6QFdk+R5ffRyrFxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639744044; a=rsa-sha256; cv=none; b=U9gA4KbPV8Fd4RFIlLXIJEH/N8qjshuyuA1EKkTfTOrMq6IL9hW8f4RtKGvsE7vMskG7Ey UVU5U9z24yaLT4n8J94v2d91KY1f6bFtDilYYYl1FdlC+aCHA3FBPVEvACjWWL0MUhgJ64 UK98KCb8xYm4tj1i8DcsfSQa8st50MGt/RV79PI9sConZ+UurJJIar/ESzWl/NfXw3NREW 4k3SE0RObZNOjm4w/TzGlalS106m9iIl6SQtSDPEstfBEtpq3P/TxekjKGTpz/D8O7EWwA qKaa/pOLOn29Bu/iqYuLXGJ055zZsR8ioXMU89ZzOCo6KEC38wskRWCHi5APdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -4.20 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: E76D328C29 X-Spam-Score: -4.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: /fpQzJxqoici Hello, Josselin Poiret via Bug reports for GNU Guix writes: > Nicolas Goaziou writes: > >> I went a bit further: >> >> The issue is not specifically glib-related, but can be reproduced with >> any package using the following: >> >> (search-path-specification >> (variable "XDG_DATA_DIRS") >> ...) [...] > The XDG specification says that if XDG_DATA_DIRS is unset, a default > value of `/usr/local/share/:/usr/share/` should be used in its place. > On Debian, that env var is not explicitely set, so applications use that > default value, but when we prepend to it, it effectively removes both of > these directories from the search path. > > As a workaround, you can do `export > XDG_DATA_DIRS=3D/usr/local/share/:/usr/share/` right before sourcing the > guix profile in your .bash_profile. You're right. The above fixes the issue with fontconfig. Unfortunately, the problem persists with the minimal manifest: (specifications->manifest '("python-matplotlib")) So there's something else going on. In order to fix the above, I need to put unset GI_TYPELIB_PATH in my .profile, after having sourced Guix profile. Maybe this environment variable also has a special default value when unset. > I don't know what the best course > of action here is to have better OOB support. Is it possible to have > env vars set by Guix have a default value if unset? I think it is desirable, in particular for fontconfig, which is a recommended package in the manual. The part of Guix responsible for generating the profile file may be more careful when setting XDG_DATA_DIRS, e.g., with something like (untested): export XDG_DATA_DIRS=3D\ "${GUIX_PROFILE:-/gnu/store/=E2=80=A6-profile}/share${XDG_DATA_DIRS:+:}${XD= G_DATA_DIRS:-/usr/local/share/:/usr/share/}" Regards, --=20 Nicolas Goaziou