From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis Felipe =?UTF-8?Q?L=C3=B3pez?= Acevedo Subject: bug#21879: WeeChat does not start Date: Sun, 29 Nov 2015 09:12:01 -0500 Message-ID: <5cc2486456d0593d129219b3d804ebd6@openmailbox.org> References: <1447250803.1579.3.camel@openmailbox.org> <87oaerp78l.fsf@gnu.org> <564CE33C.6050407@gmail.com> <871tbnj952.fsf@gnu.org> <564CF08A.7050404@gmail.com> <877fl1nk7n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a32iv-0002gw-SZ for bug-guix@gnu.org; Sun, 29 Nov 2015 09:13:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a32is-0002yJ-Ls for bug-guix@gnu.org; Sun, 29 Nov 2015 09:13:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a32is-0002y5-IL for bug-guix@gnu.org; Sun, 29 Nov 2015 09:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a32is-0004Lh-0b for bug-guix@gnu.org; Sun, 29 Nov 2015 09:13:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877fl1nk7n.fsf@gnu.org> 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: ludo@gnu.org Cc: 21879@debbugs.gnu.org On 2015-11-29 06:01, ludo@gnu.org wrote: > Cyril Roelandt skribis: > >> On 11/18/2015 10:22 PM, Ludovic Courtès wrote: >>> Could you double-check what’s happening, possibly running it through >>> strace to see if it’s 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=$(which false)=/usr/bin/python > > which installs ‘false’ as /usr/bin/python, but it still works fine. > > Felipe, could you report the values of the ‘PYTHONPATH’, ‘PATH’, and > ‘LD_LIBRARY_PATH’ variables on your system? > Oh, I didn't get Cyril's messages on the bug... But this is the information: PYTHONPATH and LD_LIBRARY_PATH are empty. PATH has this value: /home/anonimo/.guix-profile/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games Additional info: $ guix package --search-paths export PATH="/home/anonimo/.guix-profile/bin" > Are you able to work around the problem with: > > guix environment --ad-hoc weechat --pure -- weechat > > ? WeeChat starts correctly if I run it that way. -- Luis Felipe López Acevedo http://sirgazil.bitbucket.org/