unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Edouard Klein <edk@beaver-labs.com>
To: guix-devel <guix-devel@gnu.org>
Subject: What is guix-package-cache ?
Date: Tue, 26 May 2020 14:43:25 +0200	[thread overview]
Message-ID: <87blmayihe.fsf@alice.lan> (raw)

Hi all !

I'm working on packaging some software. Because I'm not done submitting
my patches to the official guix, but I still need to use my new packages
I've created a git repo where I push my edits.

I've created a channel to use this git repo instead of the official guix
repo.

When I tried to run git pull, I got:


The following derivation will be built:
   /gnu/store/saxml7kzw0ndy0s76483gwxhsxm27ybh-profile.drv
The following profile hook will be built:
   /gnu/store/ggkmzkjw6bj75kq45k7p9bv33si8k66f-guix-package-cache.drv
building package cache...
/builder for `/gnu/store/ggkmzkjw6bj75kq45k7p9bv33si8k66f-guix-package-cache.drv' failed to produce output path `/gnu/store/ljadsvwvqfq7hv6kxr02d3fihgzi8wr6-guix-package-cache'
build of /gnu/store/ggkmzkjw6bj75kq45k7p9bv33si8k66f-guix-package-cache.drv failed
View build log at '/var/log/guix/drvs/gg/kmzkjw6bj75kq45k7p9bv33si8k66f-guix-package-cache.drv.bz2'.
cannot build derivation `/gnu/store/saxml7kzw0ndy0s76483gwxhsxm27ybh-profile.drv': 1 dependencies couldn't be built
guix pull: error: build of `/gnu/store/saxml7kzw0ndy0s76483gwxhsxm27ybh-profile.drv' failed


The log says:
(repl-version 0 1 1)
Generating package cache for '/gnu/store/zdv0j5x5dfwr4b6bh8jc9vp818lvd38g-profile'...
(exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (python2-prompt-toolkit-1)) (value #f))


python2-prompt-toolkit-1 is a package I removed in the last push in my
channel because no other package
uses it. I did not install it, nor anything that depend on it (because
nothing depends on it).

I don't understand why guix feels the need to try to build it.

I grepped for 'guix-package-cache' and tried to read the code in
guix/channels.scm, but I don't understand.

Does anybody have any pointers ?

Cheers,

Edouard.


             reply	other threads:[~2020-05-26 12:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-26 12:43 Edouard Klein [this message]
2020-05-26 13:15 ` What is guix-package-cache ? Tobias Geerinckx-Rice
2020-05-26 13:39   ` Edouard Klein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87blmayihe.fsf@alice.lan \
    --to=edk@beaver-labs.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).