unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* foreign arch binary tarball creation problem
@ 2020-05-12 15:34 Vincent Legoll
  0 siblings, 0 replies; only message in thread
From: Vincent Legoll @ 2020-05-12 15:34 UTC (permalink / raw)
  To: guix-devel

I am trying to build binary tarball for foreign OS / arches, and this
is failing, in an unhelpful way.

This is guix master branch with a few patches (mostly to
etc/guix-install.sh, so I assume they are not the cause of the problem
seen here)

I have built the i686 & x86_64 ones without any problem.

I can create the guix packs:

---------->8----------------------------8<------------------------------

vince@guix ~/dev/repo/guix [env]$ ./pre-inst-env guix pack 
--target="aarch64-linux-gnu" --localstatedir --profile-name=current-guix 
guix
/gnu/store/d3h12sglx1jb073ybdz39v2qd7ir6xf6-tarball-pack.tar.gz

---------->8----------------------------8<------------------------------

vince@guix ~/dev/repo/guix [env]$ ./pre-inst-env guix pack 
--target="arm-linux-gnueabihf" --localstatedir 
--profile-name=current-guix guix
/gnu/store/4ab2zgvfvgxlgvm0l07iwa6b1laqwcdj-tarball-pack.tar.gz

But building the tarballs fails:

---------->8----------------------------8<------------------------------

vince@guix ~/dev/repo/guix [env]$ ./pre-inst-env make 
"guix-binary.aarch64-linux.tar.xz"
   GEN      guix-binary.aarch64-linux.tar.xz
guix pack: package 'guile3.0-guix' has been superseded by 'guix'
The following derivation will be built:
    /gnu/store/4xwf7y6r1p6q9v2vkvgrxri9r6yvbs1p-guix-1.1.0-4.ce97922.drv
building 
/gnu/store/4xwf7y6r1p6q9v2vkvgrxri9r6yvbs1p-guix-1.1.0-4.ce97922.drv...
|builder for 
`/gnu/store/4xwf7y6r1p6q9v2vkvgrxri9r6yvbs1p-guix-1.1.0-4.ce97922.drv' 
failed with exit code 1
build of 
/gnu/store/4xwf7y6r1p6q9v2vkvgrxri9r6yvbs1p-guix-1.1.0-4.ce97922.drv failed
View build log at 
'/var/log/guix/drvs/4x/wf7y6r1p6q9v2vkvgrxri9r6yvbs1p-guix-1.1.0-4.ce97922.drv.bz2'.
guix pack: error: build of 
`/gnu/store/4xwf7y6r1p6q9v2vkvgrxri9r6yvbs1p-guix-1.1.0-4.ce97922.drv' 
failed
cp: cannot stat '': No such file or directory
mv: cannot stat 'guix-binary.aarch64-linux.tar.xz.tmp': No such file or 
directory
make: *** [Makefile:6166: guix-binary.aarch64-linux.tar.xz] Error 1

---------->8----------------------------8<------------------------------

vince@guix ~/dev/repo/guix [env]$ ./pre-inst-env make 
"guix-binary.armhf-linux.tar.xz"
   GEN      guix-binary.armhf-linux.tar.xz
guix pack: package 'guile3.0-guix' has been superseded by 'guix'
The following derivation will be built:
    /gnu/store/hcyy8pgpjs5dga5rj47xjy7s0v8rkd33-guix-1.1.0-4.ce97922.drv
building 
/gnu/store/hcyy8pgpjs5dga5rj47xjy7s0v8rkd33-guix-1.1.0-4.ce97922.drv...
|builder for 
`/gnu/store/hcyy8pgpjs5dga5rj47xjy7s0v8rkd33-guix-1.1.0-4.ce97922.drv' 
failed with exit code 1
build of 
/gnu/store/hcyy8pgpjs5dga5rj47xjy7s0v8rkd33-guix-1.1.0-4.ce97922.drv failed
View build log at 
'/var/log/guix/drvs/hc/yy8pgpjs5dga5rj47xjy7s0v8rkd33-guix-1.1.0-4.ce97922.drv.bz2'.
guix pack: error: build of 
`/gnu/store/hcyy8pgpjs5dga5rj47xjy7s0v8rkd33-guix-1.1.0-4.ce97922.drv' 
failed
cp: cannot stat '': No such file or directory
mv: cannot stat 'guix-binary.armhf-linux.tar.xz.tmp': No such file or 
directory
make: *** [Makefile:6166: guix-binary.armhf-linux.tar.xz] Error 1

---------->8----------------------------8<------------------------------

How are the official tarballs created ?

What am I doing wrong ?

-- 
Vincent Legoll


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-12 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 15:34 foreign arch binary tarball creation problem Vincent Legoll

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).