From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Guile 2.2 packages Date: Fri, 09 Sep 2016 11:27:54 +0200 Message-ID: <87pood8lt1.fsf@gnu.org> References: <87twdrlkjn.fsf@gnu.org> <20160907194527.7aecb308@scratchpost.org> <87zinjjv07.fsf@gnu.org> <20160907231522.2261a63a@scratchpost.org> 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]:39122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biI6O-00005r-Ld for guix-devel@gnu.org; Fri, 09 Sep 2016 05:28:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biI6J-0004M4-Lz for guix-devel@gnu.org; Fri, 09 Sep 2016 05:28:03 -0400 In-Reply-To: <20160907231522.2261a63a@scratchpost.org> (Danny Milosavljevic's message of "Wed, 7 Sep 2016 23:15:22 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel Danny Milosavljevic skribis: > On Wed, 07 Sep 2016 22:49:12 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: >> I don=E2=80=99t know. > >>What you describe sounds a lot like a search path issue. > > It is a search path issue. > > Does package-for-guile-2.2 take it into account? > > Your E-mail contains: > > The following environment variable definitions may be needed: > export PATH=3D"foo/bin${PATH:+:}$PATH" > export GUILE_LOAD_PATH=3D"foo/share/guile/site/2.0${GUILE_LOAD_PATH:+:= }$GUILE_LOAD_PATH" > export GUILE_LOAD_COMPILED_PATH=3D"foo/lib/guile/2.0/ccache:foo/share/= guile/site/2.0${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH" > export GUILE_LOAD_PATH=3D"foo/share/guile/site/2.2${GUILE_LOAD_PATH:+:= }$GUILE_LOAD_PATH" > export GUILE_LOAD_COMPILED_PATH=3D"foo/lib/guile/2.2/ccache:foo/share/= guile/site/2.2${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH" > > This is setting the same environment variables twice, overwriting them. Yes, but that=E2=80=99s fine. However, the example I gave is ridiculous in= that you can=E2=80=99t have guile@2 and guile-next in the same profile since you can=E2=80=99t have two =E2=80=98guile=E2=80=99 programs in the same profile= . What you can do, though, is have both guile-json and guile2.2-json in the same profile. > I get (for a long time already, so it's not breakage introduced by your c= ommit here): > > $ emacs > ... > open("/home/dannym/.guix-profile/lib/guile/2.0/ccache/ice-9/eval.go", O_R= DONLY|O_CLOEXEC) =3D 6 This one was fixed by Alex Kost in ca408580946d5a8be872f3da755112f5559a054d (in core-updates), and I pushed a similar fix for 2.2 in master. Hopefully that=E2=80=99ll solve this and similar issues. Ludo=E2=80=99.