GNU bug report logs - #37123
gnome-shell: LD_LIBRARY_PATH setting propagates to entire session

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Mark H Weaver <mhw@HIDDEN>; dated Tue, 20 Aug 2019 19:23:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 37123 <at> debbugs.gnu.org:


Received: (at 37123) by debbugs.gnu.org; 20 Aug 2019 19:39:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 20 15:39:11 2019
Received: from localhost ([127.0.0.1]:33981 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i09yI-00038s-Q6
	for submit <at> debbugs.gnu.org; Tue, 20 Aug 2019 15:39:11 -0400
Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21388)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1i09yF-00038g-11
 for 37123 <at> debbugs.gnu.org; Tue, 20 Aug 2019 15:39:09 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1566329944; cv=none; d=zoho.com; s=zohoarc; 
 b=bIw4Qfn+qR/CKTDKRrEbVTt3JWkxEbIILFo9TF0OtgXJ6XS6fxqsiROboIe92RRvSmIfAWb3zNMdx/mKTNR1HSxY/2w9PTX/rzI2IlABAwI1C0MwxBPN5YFYFqxi7BrSO+2yyQrsKqp8PJfcw1dhYTzfO0SvDYaZq//wno8HoR8=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1566329944;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=l3kY9x9Ds4IKFhmyDGjaPQXe9hCg2fjGIPzrcIQdQF4=; 
 b=KLZ8grM7nbpb7+hyZDINAb834gI4tw8wP6K70ByR8rUP+ZfuFmqqlPdrzHA/Nn6F93SX5kojP509jG2N0M/Y2WQQo9JqYDzkluPPUZVF/s8wxKaddxsmxdMlcmvHsCBdm7lKYH3HjyxB8z5tLMAR2yABH5s9fzRyuYAkTVmxVsE=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1566329944; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=739; bh=l3kY9x9Ds4IKFhmyDGjaPQXe9hCg2fjGIPzrcIQdQF4=;
 b=SMCdyqKvg9RNH61FNhytCs0rUMeK4CdY/tXFZTa2Pz32Ay4zTethAo0c52uNxIdo
 gEhhdBIsRyYHKLxsG93oA6JdHqIkjSgbDLETXxP1jL6wZYpGotOwpt8w7abOPEVlwcY
 LY9K69w/9PPG5dAO7iJHml4WJkprMY8mIF8Etrl4=
Received: from localhost (p54AD4C32.dip0.t-ipconnect.de [84.173.76.50]) by
 mx.zohomail.com with SMTPS id 1566329943303268.70979158586806;
 Tue, 20 Aug 2019 12:39:03 -0700 (PDT)
References: <87zhk3tzfn.fsf@HIDDEN>
User-agent: mu4e 1.2.0; emacs 26.2
From: Ricardo Wurmus <rekado@HIDDEN>
To: mhw@HIDDEN
Subject: Re: bug#37123: gnome-shell: LD_LIBRARY_PATH setting propagates to
 entire session
In-reply-to: <87zhk3tzfn.fsf@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Tue, 20 Aug 2019 21:38:58 +0200
Message-ID: <87sgpvlj8t.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 37123
Cc: 37123 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hi Mark,

> Since commit 2b0c755d195c79bfc95cdbe802e1e2dea1adb7a2 in August 2018,
> our 'gnome-shell' executable has been wrapped by a script that sets
> LD_LIBRARY_PATH.
>
> One consequence of this, which I just noticed, is that if 'gnome-shell'
> is based on 'core-updates' (or in my case, 'core-updates-next'), many
> programs based on 'master' will fail to run within the resulting GNOME
> session.
[=E2=80=A6]
> I was unable to easily find an existing bug report tracking this issue,
> so I created this one.

There was no bug report about this, so thanks for reporting it.  I once
brought this issue up on the mailing list here:

    https://lists.gnu.org/archive/html/guix-devel/2019-05/msg00372.html

--
Ricardo





Information forwarded to bug-guix@HIDDEN:
bug#37123; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Aug 2019 19:22:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 20 15:22:18 2019
Received: from localhost ([127.0.0.1]:33964 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i09hx-0002d3-Ut
	for submit <at> debbugs.gnu.org; Tue, 20 Aug 2019 15:22:18 -0400
Received: from lists.gnu.org ([209.51.188.17]:52982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1i09hw-0002cu-R8
 for submit <at> debbugs.gnu.org; Tue, 20 Aug 2019 15:22:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38631)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mhw@HIDDEN>) id 1i09ht-00025G-V9
 for bug-guix@HIDDEN; Tue, 20 Aug 2019 15:22:16 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mhw@HIDDEN>) id 1i09ht-0004uW-0K
 for bug-guix@HIDDEN; Tue, 20 Aug 2019 15:22:13 -0400
Received: from world.peace.net ([64.112.178.59]:33012)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mhw@HIDDEN>) id 1i09hs-0004u7-TR
 for bug-guix@HIDDEN; Tue, 20 Aug 2019 15:22:12 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <mhw@HIDDEN>)
 id 1i09hr-0005ac-OV; Tue, 20 Aug 2019 15:22:11 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: bug-guix@HIDDEN
Subject: gnome-shell: LD_LIBRARY_PATH setting propagates to entire session
Date: Tue, 20 Aug 2019 15:21:37 -0400
Message-ID: <87zhk3tzfn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 64.112.178.59
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Since commit 2b0c755d195c79bfc95cdbe802e1e2dea1adb7a2 in August 2018,
our 'gnome-shell' executable has been wrapped by a script that sets
LD_LIBRARY_PATH.

One consequence of this, which I just noticed, is that if 'gnome-shell'
is based on 'core-updates' (or in my case, 'core-updates-next'), many
programs based on 'master' will fail to run within the resulting GNOME
session.

I ran into this issue because I recently rebuilt my Guix system based on
'core-updates-next' and booted into it, although it will take more time
to finish rebuilding my user profile.  Many programs, including Emacs
and Nautilus, fail to launch.  A workaround is to launch a terminal,
unset LD_LIBRARY_PATH within the resulting shell, and then manually run
the other programs from within that shell.  (Since then, I've built a
trimmed-down version of my profile based on 'core-updates-next'.)

I was unable to easily find an existing bug report tracking this issue,
so I created this one.

       Mark




Acknowledgement sent to Mark H Weaver <mhw@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#37123; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 24 Aug 2019 13:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.