From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23475: no code for module (guix ui) Date: Sun, 22 May 2016 23:36:38 +0200 Message-ID: <8760u5pyft.fsf@gnu.org> References: <20160507025936.GA25173@jasmine> <87k2j45y59.fsf@gnu.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]:43535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4b3b-000808-L0 for bug-guix@gnu.org; Sun, 22 May 2016 17:37:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4b3W-0001jE-HD for bug-guix@gnu.org; Sun, 22 May 2016 17:37:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4b3W-0001jA-Dv for bug-guix@gnu.org; Sun, 22 May 2016 17:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b4b3W-00021x-8T for bug-guix@gnu.org; Sun, 22 May 2016 17:37:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k2j45y59.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 08 May 2016 18:10:10 +0200") 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" To: Leo Famulari Cc: 23475@debbugs.gnu.org Ping! :-) Ludo=E2=80=99. ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Leo Famulari skribis: > >> I had rebuilt from the git tree recently, but I'm not sure exactly when. >> >> It goes away after I rebuild. >> >> --- >> $ ./pre-inst-env guix build hello >> Backtrace:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 >> In ice-9/boot-9.scm: >> 157: 12 [catch #t # ...] >> In unknown file: >> ?: 11 [apply-smob/1 #] >> In ice-9/boot-9.scm: >> 63: 10 [call-with-prompt prompt0 ...] >> In ice-9/eval.scm: >> 432: 9 [eval # #] >> In ice-9/boot-9.scm: >> 2401: 8 [save-module-excursion #] >> 4050: 7 [#] >> 1724: 6 [%start-stack load-stack ...] >> 1729: 5 [#] >> In unknown file: >> ?: 4 [primitive-load "/gnu/store/9p7mf2a21c6a5k06jgbb9yg9abx7ilh9-gui= x-0.10.0-0.8062/bin/.guix-real"] > > Why is this file being loaded, instead of scripts/guix? Could it be > that scripts/guix was missing at that time? > > Maybe it would be wise to apply a patch as attached to prevent such > situations from arising. WDYT? > > Thanks, > Ludo=E2=80=99. > > --- a/build-aux/pre-inst-env.in > +++ b/build-aux/pre-inst-env.in > @@ -1,7 +1,7 @@ > #!/bin/sh >=20=20 > # GNU Guix --- Functional package management for GNU > -# Copyright =C2=A9 2012, 2013, 2014, 2015 Ludovic Court=C3=A8s > +# Copyright =C2=A9 2012, 2013, 2014, 2015, 2016 Ludovic Court=C3=A8s > # > # This file is part of GNU Guix. > # > @@ -68,4 +68,11 @@ export NIX_HASH > GUIX_UNINSTALLED=3D1 > export GUIX_UNINSTALLED >=20=20 > +guix=3D"$abs_top_builddir/scripts/guix" > +if [ ! -x "$guix" ] > +then > + echo "'$guix' is missing, please run 'make'." >&2 > + exit 1 > +fi > + > exec "$@"