guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

foreign arch binary tarball creation problem


From: Vincent Legoll
Subject: foreign arch binary tarball creation problem
Date: Tue, 12 May 2020 17:34:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]