From debbugs-submit-bounces@debbugs.gnu.org Sun May 22 17:36:54 2016 Received: (at 23475) by debbugs.gnu.org; 22 May 2016 21:36:54 +0000 Received: from localhost ([127.0.0.1]:33099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4b3N-00021a-SW for submit@debbugs.gnu.org; Sun, 22 May 2016 17:36:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4b3M-00021K-Dd for 23475@debbugs.gnu.org; Sun, 22 May 2016 17:36:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4b3D-0001gN-1x for 23475@debbugs.gnu.org; Sun, 22 May 2016 17:36:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4b3C-0001gH-Va; Sun, 22 May 2016 17:36:43 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:57506 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b4b3B-0003sL-6E; Sun, 22 May 2016 17:36:41 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#23475: no code for module (guix ui) References: <20160507025936.GA25173@jasmine> <87k2j45y59.fsf@gnu.org> Date: Sun, 22 May 2016 23:36:38 +0200 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") Message-ID: <8760u5pyft.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23475 Cc: 23475@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) 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 "$@"