* guix package: error: build failed: derivation has incorrect output
@ 2014-11-22 10:50 Bruno Félix Rezende Ribeiro
2014-11-22 13:42 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Bruno Félix Rezende Ribeiro @ 2014-11-22 10:50 UTC (permalink / raw)
To: guix-devel
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.
I've chowned 'guix-daemon' to 'root:root' and chomoded it to 'ug+s'.
Then, running 'guix package -i windowmaker' for the first time resulted
in
guix package: error: build failed: Nix database directory
`/home/felix/opt/guix.git/var/guix/db' is not writable: Permission
denied
Facing that I chmoded '~felix/opt/guix.git/var/guix/db/' to 'o+w', and
all went fine to the error described on this mail's top.
--
,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
((_/)o o(\_)) There is no system but GNU;
`-'(. .)`-' GNU Linux-Libre is one of its official kernels;
\_/ All software must be free as in freedom;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guix package: error: build failed: derivation has incorrect output
2014-11-22 10:50 guix package: error: build failed: derivation has incorrect output Bruno Félix Rezende Ribeiro
@ 2014-11-22 13:42 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2014-11-22 13:42 UTC (permalink / raw)
To: Bruno Félix Rezende Ribeiro; +Cc: guix-devel
Bruno Félix Rezende Ribeiro <oitofelix@gnu.org> 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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-22 13:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-22 10:50 guix package: error: build failed: derivation has incorrect output Bruno Félix Rezende Ribeiro
2014-11-22 13:42 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).