From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#21879: WeeChat does not start Date: Sun, 29 Nov 2015 12:01:00 +0100 Message-ID: <877fl1nk7n.fsf@gnu.org> References: <1447250803.1579.3.camel@openmailbox.org> <87oaerp78l.fsf@gnu.org> <564CE33C.6050407@gmail.com> <871tbnj952.fsf@gnu.org> <564CF08A.7050404@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2zk6-0003T1-1R for bug-guix@gnu.org; Sun, 29 Nov 2015 06:02:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2zk2-0004jl-RA for bug-guix@gnu.org; Sun, 29 Nov 2015 06:02:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2zk2-0004jh-O2 for bug-guix@gnu.org; Sun, 29 Nov 2015 06:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a2zk2-0004ps-FF for bug-guix@gnu.org; Sun, 29 Nov 2015 06:02:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <564CF08A.7050404@gmail.com> (Cyril Roelandt's message of "Wed, 18 Nov 2015 22:41:30 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Cyril Roelandt Cc: Luis Felipe =?UTF-8?Q?L=C3=B3pez?= Acevedo , 21879@debbugs.gnu.org Cyril Roelandt skribis: > On 11/18/2015 10:22 PM, Ludovic Court=C3=A8s wrote: >> Could you double-check what=E2=80=99s happening, possibly running it thr= ough >> strace to see if it=E2=80=99s actually executing /usr/bin/python? > > I'm pretty sure it does that. It even loads libraries from the Debian > Python path, that is why it tries to import a Debian-specific module. I tried this: guix environment --container --ad-hoc weechat strace coreutils \ findutils sed grep less --expose=3D$(which false)=3D/usr/bin/python which installs =E2=80=98false=E2=80=99 as /usr/bin/python, but it still wor= ks fine. Felipe, could you report the values of the =E2=80=98PYTHONPATH=E2=80=99, = =E2=80=98PATH=E2=80=99, and =E2=80=98LD_LIBRARY_PATH=E2=80=99 variables on your system? Are you able to work around the problem with: guix environment --ad-hoc weechat --pure -- weechat ? TIA, Ludo=E2=80=99.