[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Releasing guix binary in Docker format too?
From: |
zimoun |
Subject: |
Re: Releasing guix binary in Docker format too? |
Date: |
Sun, 15 Nov 2020 19:30:44 +0100 |
Hi,
>> > guix pack guix -f docker -S /bin=bin \
>> > --entry-point="bin/guix-daemon --disable-chroot"
[...]
>> > Someone needs to try because the devil is in the details.
>>
>> I will try to give a try. If someone does not beat me.
>
> Please do.
I did and probably am lost in Docker details (the mentioned devil? ;-))
--8<---------------cut here---------------start------------->8---
$ docker load < \
> $(guix time-machine --branch=version-1.2.0 \
> -- pack guix -f docker -S /bin=bin --entry-point="bin/guix-daemon")
Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
Loaded image: guix:latest
$ docker images --format "{{.Repository}} {{.Tag}} {{.ID}} {{.Size}}"
guix latest 7a99e79f803c 502MB
$ docker run -d --name guix guix:latest
7ecfb3311619d1265f1e91a45f587b28e3017c39735c9527b91bac5b0d5d49e1
$ docker ps
7ecfb3311619 guix:latest "/gnu/store/62iy7phi…" 5 seconds ago Up 4 seconds guix
$ docker exec guix guix pack hello
user with UID 0 not found
substitute: guix substitute: warning: ACL for archive imports seems to be
uninitialized, substitutes may be unavailable
substitute: guix substitute: warning: ci.guix.gnu.org: host not found: Servname
not supported for ai_socktype
The following derivations will be built:
/gnu/store/p8w0ickl7n4psa5rkybx0q856phzxmpp-glibc-utf8-locales-2.31.drv
[...]
/gnu/store/ll89ynpa8xrk2q4fvyg2aj8ig98w4zls-mkfontdir-1.0.7.tar.bz2.drv
building
/gnu/store/wj0dnfmik81160y3zf85qf5hvkp2x1hi-libX11-1.6.10.tar.bz2.drv...
builder for
`/gnu/store/wj0dnfmik81160y3zf85qf5hvkp2x1hi-libX11-1.6.10.tar.bz2.drv' failed
with exit code 1
build of /gnu/store/wj0dnfmik81160y3zf85qf5hvkp2x1hi-libX11-1.6.10.tar.bz2.drv
failed
View build log at
'/var/log/guix/drvs/wj/0dnfmik81160y3zf85qf5hvkp2x1hi-libX11-1.6.10.tar.bz2.drv.bz2'.
building /gnu/store/4d3cjvjrgs0q38fs3bgfajcw7apc0vml-Python-3.5.9.tar.xz.drv...
cannot build derivation
`/gnu/store/mvf88n2v90jjxg9n8b315p22r6jrkbyb-libx11-1.6.A.drv': 1 dependencies
couldn't be built
killing process 29
guix pack: error: build of
`/gnu/store/mvf88n2v90jjxg9n8b315p22r6jrkbyb-libx11-1.6.A.drv' failed
--8<---------------cut here---------------end--------------->8---
I have tried various Docker option and I have failed to figure out the
correct one. I should miss the obvious. My eyes are a bit tired these
days. Any hint?
BTW, the tool skopeo failed in the branch version-1.2.0 as ’weather’
confirms. Therefore the Cookbook recipe will be for the next release.
Cheers,
simon
- Re: Releasing guix binary in Docker format too?, Danny Milosavljevic, 2020/11/04
- Re: Releasing guix binary in Docker format too?, Ludovic Courtès, 2020/11/06
- Re: Releasing guix binary in Docker format too?, zimoun, 2020/11/06
- Re: Releasing guix binary in Docker format too?, Danny Milosavljevic, 2020/11/06
- Re: Releasing guix binary in Docker format too?, Ludovic Courtès, 2020/11/08
- Re: Releasing guix binary in Docker format too?,
zimoun <=
- Re: Releasing guix binary in Docker format too?, Danny Milosavljevic, 2020/11/17
- Re: Releasing guix binary in Docker format too?, Bengt Richter, 2020/11/18
- Re: Releasing guix binary in Docker format too?, Ryan Prior, 2020/11/18
- Re: Releasing guix binary in Docker format too?, zimoun, 2020/11/18