[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix package: error: build failed: derivation has incorrect output
From: |
Ludovic Courtès |
Subject: |
Re: guix package: error: build failed: derivation has incorrect output |
Date: |
Sat, 22 Nov 2014 14:42:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Bruno Félix Rezende Ribeiro <address@hidden> 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=/home/felix/opt/guix.git' and installed it just to discover I
> would like to have added '--with-store-dir=/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’t
avoid running ‘make clean’ 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’.