From: edk@beaver-labs.com
To: help-guix@gnu.org
Subject: Guix doesnt use guix publish as a substitute
Date: Wed, 02 Sep 2020 09:08:01 +0200 [thread overview]
Message-ID: <87eenk8xm6.fsf@rdklein.fr> (raw)
Dear Guixers,
On one machine I have the following:
$guix describe
guile: warning: failed to install locale
Génération 2 01 sept. 2020 17:10:25 (actuelle)
beaverlabs d878892
URL du dépôt : https://gitlab.com/edouardklein/guix
branche: beaverlabs
commit : d8788927c7e8b29702adb971bf1ffbc3235fba22
guix 6bf5f20
URL du dépôt : https://git.savannah.gnu.org/git/guix.git
branche: master
commit : 6bf5f207f171e87a53e6578a61b4334683a861c8
On another I have:
$guix describe
Generation 4 Sep 01 2020 17:32:39 (current)
beaverlabs d878892
repository URL: https://gitlab.com/edouardklein/guix
branch: master
commit: d8788927c7e8b29702adb971bf1ffbc3235fba22
guix 6bf5f20
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 6bf5f207f171e87a53e6578a61b4334683a861c8
I then run guix build gerbil on the first machine, then guix publish, and make it available to
the second using a ssh tunnel and run
guix build --substitute-urls=http://localhost:8080 --dry-run gerbil
on the second machine, and I get:
substitute: /gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
The following derivation would be built:
/gnu/store/0nl1kmsqnbba4z47p28y0n023kbnvl8w-gerbil-0.16.drv
My question is: why isn't the second machine fetching a binary package
of gerbil from the first ? Why does it try to build it (it can't, not
enough RAM) ?
I have no idea how to debug this.
I tried curling http://localhost:8080 on the second machine, which gives
me the nice "Guix publish speaking" message.
I noticed that on the second machine, it believes that commit d878892 is
on branch master, which it isn't, it's on branch beaverlabs, but I don't
think this matters, does it ?
Any help would be appreciated.
Thanks,
Edouard.
next reply other threads:[~2020-09-02 7:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-02 7:08 edk [this message]
2020-09-02 8:30 ` Guix doesnt use guix publish as a substitute Pierre Neidhardt
2020-09-02 8:56 ` edk
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=87eenk8xm6.fsf@rdklein.fr \
--to=edk@beaver-labs.com \
--cc=help-guix@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.
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).