Re: Client fails to find package (mame) with guix publish
Efraim Flashner writes: > 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'? That was it, I had forgotten to import the public key! By the way, it's --8<---cut here---start->8--- sudo guix archive --authorize < /path/to/public/key --8<---cut here---end--->8--- not `--import` :) > 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. I didn't enable caching so the compression should happen on the fly. > Doesn't address the substitute/publish problem, but have you tried using > guix copy to copy it over? I haven't but I want to use `guix publish` since it provides a more automated, smoother experience. Problem solved, thanks! -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature
Re: Client fails to find package (mame) with guix publish
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 אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted signature.asc Description: PGP signature