unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* `guix pull` leads an error while building guix-package-cache
@ 2022-03-21 18:04 Mekeor Melire
  2022-03-21 21:28 ` [DONE] " Mekeor Melire
  0 siblings, 1 reply; 2+ messages in thread
From: Mekeor Melire @ 2022-03-21 18:04 UTC (permalink / raw)
  To: help-guix

Hi Guix,

when I run `guix pull`, it results in this error:

    \builder for `/gnu/store/…-guix-package-cache.drv' failed to produce output path `/gnu/store/…-guix-package-cache'
    build of /gnu/store/…-guix-package-cache.drv failed
    View build log at '/var/log/guix/drvs/di/…-guix-package-cache.drv.bz2'.
    cannot build derivation `/gnu/store/…-profile.drv': 1 dependencies couldn't be built
    guix pull: error: build of `/gnu/store/…-profile.drv' failed

These are the error logs:

    (repl-version 0 1 1)
    Generating package cache for '/gnu/store/…-profile'...
    (exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (gexp)) (value #f))

What's wrong with my system?

I also have a private, custom guix-channel. Its .git-directory got
corrupted, so I had to remove it and re-initialize the repository. Could
that be a reason for Guix to break? How can I repair my state?

Thanks in advance.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [DONE] `guix pull` leads an error while building guix-package-cache
  2022-03-21 18:04 `guix pull` leads an error while building guix-package-cache Mekeor Melire
@ 2022-03-21 21:28 ` Mekeor Melire
  0 siblings, 0 replies; 2+ messages in thread
From: Mekeor Melire @ 2022-03-21 21:28 UTC (permalink / raw)
  To: help-guix

Sorry for the noise. Apparently, there was a bad package definition in
my custom channel. I realized that I'm much faster debugging and testing
my package with

- add package-name as expression at the end of package-file; and
- `guix package -f foo.scm` every time to test the file;

than with

- change file; commit it to the channel repo;
- `guix pull`;
- guix install package-name.

Anyways. Thank you.


2022-03-21 / 19:04 / mekeor@posteo.de:

> Hi Guix,
>
> when I run `guix pull`, it results in this error:
>
>     \builder for `/gnu/store/…-guix-package-cache.drv' failed to produce output path `/gnu/store/…-guix-package-cache'
>     build of /gnu/store/…-guix-package-cache.drv failed
>     View build log at '/var/log/guix/drvs/di/…-guix-package-cache.drv.bz2'.
>     cannot build derivation `/gnu/store/…-profile.drv': 1 dependencies couldn't be built
>     guix pull: error: build of `/gnu/store/…-profile.drv' failed
>
> These are the error logs:
>
>     (repl-version 0 1 1)
>     Generating package cache for '/gnu/store/…-profile'...
>     (exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (gexp)) (value #f))
>
> What's wrong with my system?
>
> I also have a private, custom guix-channel. Its .git-directory got
> corrupted, so I had to remove it and re-initialize the repository. Could
> that be a reason for Guix to break? How can I repair my state?
>
> Thanks in advance.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-21 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-21 18:04 `guix pull` leads an error while building guix-package-cache Mekeor Melire
2022-03-21 21:28 ` [DONE] " Mekeor Melire

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).