unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: foreign arch binary tarball creation problem
Date: Tue, 12 May 2020 17:34:38 +0200	[thread overview]
Message-ID: <21087c16-517d-5d24-4c7e-66976eb6d932@gmail.com> (raw)

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	other threads:[~2020-05-12 15:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=21087c16-517d-5d24-4c7e-66976eb6d932@gmail.com \
    --to=vincent.legoll@gmail.com \
    --cc=guix-devel@gnu.org \
    /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 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).