From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix package: error: build failed: derivation has incorrect output Date: Sat, 22 Nov 2014 14:42:10 +0100 Message-ID: <87oarzic7h.fsf@gnu.org> References: <20141122085008.19a70561@freedom-laptop> 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]:52333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsAx8-0006rk-Dw for guix-devel@gnu.org; Sat, 22 Nov 2014 08:42:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsAx3-0000LY-0v for guix-devel@gnu.org; Sat, 22 Nov 2014 08:42:18 -0500 In-Reply-To: <20141122085008.19a70561@freedom-laptop> ("Bruno =?utf-8?Q?F?= =?utf-8?Q?=C3=A9lix?= Rezende Ribeiro"'s message of "Sat, 22 Nov 2014 08:50:08 -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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Bruno =?utf-8?Q?F=C3=A9lix?= Rezende Ribeiro Cc: guix-devel@gnu.org Bruno F=C3=A9lix Rezende Ribeiro skribis: > Running > > guix package -i windowmaker > > gives me > > guix package: error: build failed: derivation > `/gnu/store/pxyjsl5xv387kbx55lw97pjrlfzfxpcp-guile-bootstrap-2.0.drv' > has incorrect output > `/home/felix/gnu/store/ka1kwmxk2ffkjhfp84y4s192kximrxfz-guile-bootstrap= -2.0', > should be > `/gnu/store/3pxvfkc3fca9cdpp5fqci8dy6r4s5cph-guile-bootstrap-2.0' > > Any Idea why? > > > Context info: > > I've configured Guix with the option > '--prefix=3D/home/felix/opt/guix.git' and installed it just to discover I > would like to have added '--with-store-dir=3D/home/felix/gnu/store'; then > I reinvoked configure from the previous VPATH build and then 'make' > only rebuilt 'guix/config.go' from 'guix/config.scm'. After that I > installed Guix again. I didn't run 'make clean' because this is an > Yeeloong and as such I'm trying to avoid the fatigue. Apparently that broke the installation, where part of the tools still expect /gnu/store while others expect /home/felix/gnu/store. You can=E2=80= =99t avoid running =E2=80=98make clean=E2=80=99 after such a change. However, note that using a store other than /gnu/store will prevent use of substitutes, which may be problematic on a slow machine. Ludo=E2=80=99.