Nikita Karetnikov <nik...@karetnikov.org> skribis: >>> I’ve already tried that: >>> >>> $ ./pre-inst-env guix build -K -s mips64el-linux-gnuabi64 hello >>> >>> […] >>> >>> ERROR: bootstrap binary not found "tar" "mips64el-linux-gnuabi64" > >> As I wrote, call it ‘mips64el-linux’, and put the binaries under the >> directory of that name. > > I did that but forgot to adjust ‘-s mips64el-linux-gnuabi64’. So I’ve > just tried this command: > > $ ./pre-inst-env guix build -K -s mips64el-linux hello > > The bootstrap Guile binary that I fetched from Hydra [1] aborts when > ‘./guile --version’ is called. But this one works [2]. What has > happened?
What’s the URL of the hydra.gnu.org tarballs you’re using? Instead of a URL, you can also change bootstrap.scm to refer directly to a local file name, like this: (package ... (source "/home/nikita/my-guile-that-works.tar.gz") ...) > I’ve also tested ‘./tar --version’ (the one from Hydra), and it works. > > Could you run the following command and paste the hashsums? > > $ ./pre-inst-env guix build bootstrap-tarballs -s x86_64-linux > --target=mips64el-linux-gnuabi64 The output paths are: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build bootstrap-tarballs -s x86_64-linux --target=mips64el-linux-gnuabi64 -n The following files would be downloaded: /nix/store/m7vf579yxmif4fdp2qn1gcilfddp2m37-bootstrap-tarballs-0 /nix/store/dhr8d58y48nds7njgg5hzq9b1a8yaaq5-gcc-stripped-tarball-4.7.3 /nix/store/f995q3ypr3mwvl2bmwi6va7917rf7f22-guile-static-stripped-tarball-2.0.9 /nix/store/hz7lk2xxfbm2s804nsw1ca1adin12dfn-static-binaries-tarball-0 /nix/store/pkf0dm7m815p6ckam8chvv7825g6lzim-glibc-stripped-tarball-2.17 /nix/store/wzwpq959jdg4p7ar775pwi8f4ph90jkp-binutils-static-stripped-tarball-2.23.2 --8<---------------cut here---------------end--------------->8--- > [1] https://lists.gnu.org/archive/html/guix-devel/2013-09/msg00046.html > [2] > http://www.fdn.fr/~lcourtes/tmp/guile-static-stripped-2.0.9-mips64el-linux-gnuabi64.tar.xz HTH, Ludo’.