all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: help-guix@gnu.org
Subject: Re: Client fails to find package (mame) with guix publish
Date: Tue, 18 Feb 2020 13:40:53 +0200	[thread overview]
Message-ID: <20200218114053.GQ1968@E5400> (raw)
In-Reply-To: <87mu9gqgh0.fsf@ambrevar.xyz>

[-- Attachment #1: Type: text/plain, Size: 1980 bytes --]

On Tue, Feb 18, 2020 at 12:31:39PM +0100, Pierre Neidhardt wrote:
> Hi!
> 
> The 'mame' package is not available on ci.guix.gnu.org for some reason,
> so I did build it locally on my desktop.
> 
> Now I'd like to transfer this build artifact to my laptop.
> 
> On my desktop I ran
> 
> --8<---------------cut here---------------start------------->8---
> sudo guix archive --generate-key
> sudo guix publish 
> --8<---------------cut here---------------end--------------->8---

did you transfer the public key to your other machine and run 'sudo guix
archive --import < /path/to/public/key'?

> 
> Then on my laptop I ran
> 
> --8<---------------cut here---------------start------------->8---
> guix time-machine --commit=a74e231 -- build mame --substitute-urls="http://192.168.1.27:8080 https://ci.guix.gnu.org"
> --8<---------------cut here---------------end--------------->8---
> 
> The desktop then displays a bunch of
> 
> --8<---------------cut here---------------start------------->8---
> GET /ddjh5vxa692nllffzz92mvyclqv79bkn.narinfo
> GET /j8hk0nv8fn5k5i55z85jhs41x2hvcy5n.narinfo
> ...
> --8<---------------cut here---------------end--------------->8---
> 

I wasn't sure about needing to specify more flags with 'sudo guix
publish' but it looks like it was correct.

> so I guess this means publishing works.
> However my laptop does not fetch the mame substitute and starts building
> mame again, which takes hours.

Try giving it a few minutes to "bake" the substitute and then serve it.
It needs to re-compress it to make transfers (at a large scale) more
economical.

> 
> Any idea what's wrong?
> 

Doesn't address the substitute/publish problem, but have you tried using
guix copy to copy it over?


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-02-18 11:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 11:31 Client fails to find package (mame) with guix publish Pierre Neidhardt
2020-02-18 11:40 ` Efraim Flashner [this message]
2020-02-18 11:57   ` Pierre Neidhardt

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

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

  git send-email \
    --in-reply-to=20200218114053.GQ1968@E5400 \
    --to=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=mail@ambrevar.xyz \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.