guix-devel
[Top][All Lists]
Advanced

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

Re: MIPS64/N64 support


From: Ludovic Courtès
Subject: Re: MIPS64/N64 support
Date: Mon, 30 Sep 2013 18:09:54 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

> So I ran this command:
>
> $ ./pre-inst-env guix build bootstrap-tarballs 
> --target=mips64el-linux-gnuabi64
>
> but it failed due to the already known problem:
>
> /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.18.drv-0/build/libc_pic.a:
>  could not read symbols: Archive has no index; run ranlib to add one

That’s when cross-building from i686-linux, and that’s really a glibc
issue.

> Then I tried this one:
>
> $ ./pre-inst-env guix build bootstrap-tarballs -s x86_64-linux 
> --target=mips64el-linux-gnuabi64
>
> which returned
>
> guix build: error: build failed: a `x86_64-linux' is required to build 
> `/nix/store/v68c12la3xlxii4risamhmh1fic04jq4-gcc-4.7.3.drv', but I am a 
> `i686-linux'
>
> How long will it take for Hydra to catch up?  There is a percentage on
> hydra.gnu.org (under the word “Success”).  Is it the thing I’m looking
> for?
>
> Also, how can I check whether this particular package [1] was built or
> not?

Like this:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (use-modules (guix store)(guix derivations)(guix 
packages)(gnu packages compression))
scheme@(guile-user)> (define s (open-connection))
scheme@(guile-user)> (package-cross-derivation s bzip2 
"mips64el-linux-gnuabi64")
$2 = #<derivation /nix/store/zk41hhbyfw88vzch4cnillvmgjwv9wn6-bzip2-1.0.6.drv 
=> /nix/store/bh6xbykpjgwsn0cfzq3zzcbs9cih154k-bzip2-1.0.6 4ba0500>
scheme@(guile-user)> (has-substitutes? s (derivation->output-path $2))
$3 = #f
--8<---------------cut here---------------end--------------->8---

However:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (use-modules (gnu packages make-bootstrap))
scheme@(guile-user)> (package-cross-derivation s %bootstrap-tarballs 
"mips64el-linux-gnuabi64")
$4 = #<derivation 
/nix/store/2ng9gri40z4l1ql0r72aqvslal2fl22w-bootstrap-tarballs-0.drv => 
/nix/store/46s2jwp95dfqh0yv6gyww6hhnsdxd4d7-bootstrap-tarballs-0 4a77fa0>
scheme@(guile-user)> (has-substitutes? s (derivation->output-path $4))
$5 = #t
--8<---------------cut here---------------end--------------->8---

So the bootstrap tarballs, which include the fixed bzip2, should be
substitutable at this time.

HTH,
Ludo’.



reply via email to

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