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 WHE5AhhsvGERrQAAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 11:53:12 +0100 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 aG2CORdsvGHBVwAAbx9fmQ (envelope-from ) for ; Fri, 17 Dec 2021 10:53:11 +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 C2628512C for ; Fri, 17 Dec 2021 11:53:11 +0100 (CET) Received: from localhost ([::1]:39492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myArO-0005EI-UD for larch@yhetil.org; Fri, 17 Dec 2021 05:53:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myArG-0005Di-Ph for bug-guix@gnu.org; Fri, 17 Dec 2021 05:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myArG-0005ph-Es for bug-guix@gnu.org; Fri, 17 Dec 2021 05:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myArG-0005WH-DO for bug-guix@gnu.org; Fri, 17 Dec 2021 05:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#35308: GDM refuses to log into Gnome Shell (was: GDM refuses to log into Gnome on Debian 9 or 10) Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Dec 2021 10:53:02 +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: Nicolas Goaziou , 35308@debbugs.gnu.org Cc: dev@jpoiret.xyz Received: via spool by 35308-submit@debbugs.gnu.org id=B35308.163973837721207 (code B ref 35308); Fri, 17 Dec 2021 10:53:02 +0000 Received: (at 35308) by debbugs.gnu.org; 17 Dec 2021 10:52:57 +0000 Received: from localhost ([127.0.0.1]:38093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myArB-0005Vy-FX for submit@debbugs.gnu.org; Fri, 17 Dec 2021 05:52:57 -0500 Received: from jpoiret.xyz ([206.189.101.64]:48954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myAr9-0005Vm-90 for 35308@debbugs.gnu.org; Fri, 17 Dec 2021 05:52:55 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id D84C8184F5F; Fri, 17 Dec 2021 10:52:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1639738373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YuQeQrQzMCjvLhUj88b69jPOqHw2XFKxz8F9Gu3OhgU=; b=IEB9SX92HANvB+hezjl5BcLluM9uQ0tz7d0obk5V9eheivnZvP9T895Cqcmo0qTwZcVUYN tl3MKjp6WwemZp9uIvzfOBnOrlUxTOn2+dlvwvalt9q5mS9HyPdcBMG6B5z+TLNZ8mq11l fDuGJF482ejDZCaFwS7+W+9EN8FsZUb4HL3DGzCY5BaCEcIDsSdmhtzIg51AGpUYH41njx xIhjMeO3MuGqZ6XKr+udnyu12r3aPaJxnrjEx9/b04ySQsGPuPJUP6MBIc4qvsAFPzUmts zDnItiIHmrYRBwJgVHiohek+yEOXGfT8G6gruaI21BfA/kmglVvVYwyPYjn59g== In-Reply-To: <87wnk34nd3.fsf@nicolasgoaziou.fr> References: <87zhoo8pl7.fsf@nicolasgoaziou.fr> <87wnk34nd3.fsf@nicolasgoaziou.fr> Date: Fri, 17 Dec 2021 11:52:52 +0100 Message-ID: <87r1aby03f.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: / 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" Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU 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=1639738391; h=from:from:sender:sender:reply-to: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=YuQeQrQzMCjvLhUj88b69jPOqHw2XFKxz8F9Gu3OhgU=; b=ap+5d+9llFMHbzOaY5elK5R9Rb9EL2NC5wlFb2hKfIIh1G9TL6Onc/FGIsuOp4jWqa0vST hC3m4yCzeEajBBIivxUBx1pLtcLvjR9BpowAIn9Zxf0PzYweUjyQCTDA2fHhn27q6puZQa Pg4e5+pX0mQjxqwhxGhNmTFr0M9ofsd6PIQDP2hbSQRzh/XSUudbKj5zCYM3d8s9kswtJH LLg35RnQcaTVdTm48eN3hQg+JMsBsYJSUzRQza8+SNf9GDTGS9IdOGOHDABiMYddg56JqN ttjTterAUqsQ8zvOl3EhEXi5BzKolZdRbCGBMMdExwG9iTMf6K6GSrSUuMBJRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639738391; a=rsa-sha256; cv=none; b=MEpN+vB40CCPHowoR3xe8oY5EhlfGSDbYzsP9shTZgoB9JZdot45XPmkxrQP0v52syjCXE YjUbWpkYhUgH3VB+ZwbYSg2NDogMHHNurs1c090CPdLZYI4leFmxnh4Q+gQp3RJ592jeoo Vk4De68lmOvAkqIrETBv9E9wYZbBI56lgrDvKpvcmuXCkzA272oLV/cWXliE5GSZv0aCOL x/2B8QmZC2gvQ/bl/+HHjDOArlYywxgtug17dakTHt8t53+KAQQfmjWpo/Y3rZkPbx6178 kt2ReuHJ3aA6AMJfm2EtN9f+jcA4/kWYiJ6OQZxgRjIh7j1oqNuV86da36IClQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=IEB9SX92; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=IEB9SX92; dmarc=pass (policy=none) header.from=gnu.org; 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: C2628512C X-Spam-Score: -3.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: TYrqWXNpomPn Hello Nicolas, 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") > ...) > > Hence, the following manifest can reproduce the problem: > > (specifications->manifest '("fontconfig")) > > even though fontconfig does not depend on glib (but does search XDG_DATA_DIRS). Someone on IRC had this exact problem (down to the fontconfig minimal reproducer :) ), and thanks to your pointer about XDG_DATA_DIRS, I've figured out what the issue is. 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=/usr/local/share/:/usr/share/` right before sourcing the guix profile in your .bash_profile. 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? Best, Josselin Poiret