From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: MIPS64/N64 support Date: Mon, 30 Sep 2013 18:09:54 +0200 Message-ID: <87siwmgujx.fsf@gnu.org> References: <87vc2o4qwc.fsf@gnu.org> <87y57kljro.fsf@karetnikov.org> <87li3dd844.fsf_-_@karetnikov.org> <87d2opy6qa.fsf@gnu.org> <87r4d577ab.fsf@karetnikov.org> <87zjrswzin.fsf@gnu.org> <87hadygxe8.fsf@karetnikov.org> <87mwnq470w.fsf@gnu.org> <87y5791h9f.fsf@karetnikov.org> <87eh907psx.fsf@gnu.org> <87li37z967.fsf@karetnikov.org> <8761ub143g.fsf@gnu.org> <87k3iqa71l.fsf@karetnikov.org> <87k3iqhrh5.fsf@gnu.org> <877ge3c8lf.fsf@karetnikov.org> <874n96qed3.fsf@gnu.org> <878uyfiwr1.fsf@karetnikov.org> <87siwniwka.fsf@gnu.org> <8738onkyi9.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQg7i-0003XL-Cr for guix-devel@gnu.org; Mon, 30 Sep 2013 12:15:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQg7d-0004fy-7p for guix-devel@gnu.org; Mon, 30 Sep 2013 12:15:02 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:47225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQg7c-0004fr-TJ for guix-devel@gnu.org; Mon, 30 Sep 2013 12:14:57 -0400 In-Reply-To: <8738onkyi9.fsf@karetnikov.org> (Nikita Karetnikov's message of "Mon, 30 Sep 2013 03:18:38 +0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: guix-devel@gnu.org Nikita Karetnikov skribis: > So I ran this command: > > $ ./pre-inst-env guix build bootstrap-tarballs --target=3Dmips64el-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=E2=80=99s when cross-building from i686-linux, and that=E2=80=99s real= ly a glibc issue. > Then I tried this one: > > $ ./pre-inst-env guix build bootstrap-tarballs -s x86_64-linux --target= =3Dmips64el-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 =E2=80=9CSuccess=E2=80=9D). Is it the thin= g I=E2=80=99m 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 packa= ges)(gnu packages compression)) scheme@(guile-user)> (define s (open-connection)) scheme@(guile-user)> (package-cross-derivation s bzip2 "mips64el-linux-gnua= bi64") $2 =3D # /nix/store/bh6xbykpjgwsn0cfzq3zzcbs9cih154k-bzip2-1.0.6 4ba0500> scheme@(guile-user)> (has-substitutes? s (derivation->output-path $2)) $3 =3D #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 "mips6= 4el-linux-gnuabi64") $4 =3D # /nix/store/46s2jwp95dfqh0yv6gyww6hhnsdxd4d7-bootstrap-ta= rballs-0 4a77fa0> scheme@(guile-user)> (has-substitutes? s (derivation->output-path $4)) $5 =3D #t --8<---------------cut here---------------end--------------->8--- So the bootstrap tarballs, which include the fixed bzip2, should be substitutable at this time. HTH, Ludo=E2=80=99.