From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: MIPS64/N64 support Date: Sun, 29 Sep 2013 17:27:14 +0400 Message-ID: <878uyfiwr1.fsf@karetnikov.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> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQGxC-0001p8-60 for guix-devel@gnu.org; Sun, 29 Sep 2013 09:22:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQGxA-0005VC-QQ for guix-devel@gnu.org; Sun, 29 Sep 2013 09:22:30 -0400 In-Reply-To: <874n96qed3.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 27 Sep 2013 21:00:24 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable So I changed =E2=80=98bootstrap.scm=E2=80=99 and got the attached error mes= sage. Any ideas? --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=bootstrap.scm.diff Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index a1d4c7f..9151e01 100644 =2D-- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -63,12 +63,13 @@ (fetch store url hash-algo hash #:guile %bootstrap-guile #:system system))) =2D + (if (string? source) + source (let ((orig-method (origin-method source))) (origin (inherit source) (method (cond ((eq? orig-method url-fetch) (boot url-fetch)) =2D (else orig-method)))))) + (else orig-method))))))) =20 (define (package-from-tarball name* source* program-to-test description*) "Return a package that correspond to the extraction of SOURCE*. @@ -170,7 +171,10 @@ check whether everything is alright." (xz (->store "xz")) (mkdir (->store "mkdir")) (bash (->store "bash")) =2D (guile (->store "guile-2.0.7.tar.xz")) + (guile (->store + (if (string=3D? (%current-system) "m= ips64el-linux") + "guile-2.0.9.tar.xz" + "guile-2.0.7.tar.xz"))) (builder (add-text-to-store store "build-bootstrap-guile.s= h" @@ -206,38 +210,18 @@ $out/bin/guile --version~%" (define %bootstrap-coreutils&co (package-from-tarball "bootstrap-binaries" (lambda (system) =2D (origin =2D (method url-fetch) =2D (uri (map (cut string-append <> "/" system =2D "/20130105/static-binaries.tar= .xz") =2D %bootstrap-base-urls)) =2D (sha256 =2D (match system =2D ("x86_64-linux" =2D (base32 =2D "0md23alzy6nc5f16pric7mkagczdzr8xbh074sb= 3rjzrls06j1ls")) =2D ("i686-linux" =2D (base32 =2D "0nzj1lmm9b94g7k737cr4w1dv282w5nmhb53238= ikax9r6pkc0yb")))))) + (string-append "/home/nikita/gnuabi64-tarballs/" + "m7vf579yxmif4fdp2qn1gcilfddp2m37= -bootstrap-tarballs-0/" + "static-binaries-0-mips64el-linux= -gnuabi64.tar.xz")) "true" ; the program to test "Bootstrap binaries of Coreutils, Awk, etc.")) =20 (define %bootstrap-binutils (package-from-tarball "binutils-bootstrap" (lambda (system) =2D (origin =2D (method url-fetch) =2D (uri (map (cut string-append <> "/" system =2D "/20130105/binutils-2.22.tar.x= z") =2D %bootstrap-base-urls)) =2D (sha256 =2D (match system =2D ("x86_64-linux" =2D (base32 =2D "1ffmk2yy2pxvkqgzrkzp3s4jpn4qaaksyk3b5ns= c5cjwfm7qkgzh")) =2D ("i686-linux" =2D (base32 =2D "1rafk6aq4sayvv3r3d2khn93nkyzf002xzh0xad= lyci4mznr6b0a")))))) + (string-append "/home/nikita/gnuabi64-tarballs/" + "m7vf579yxmif4fdp2qn1gcilfddp2m37= -bootstrap-tarballs-0/" + "binutils-static-stripped-2.23.2-= mips64el-linux-gnuabi64.tar.xz")) "ld" ; the program to test "Bootstrap binaries of the GNU Binutils")) =20 @@ -275,20 +259,9 @@ $out/bin/guile --version~%" (inputs `(("tar" ,(search-bootstrap-binary "tar" (%current-system))) ("xz" ,(search-bootstrap-binary "xz" (%current-system))) =2D ("tarball" ,(bootstrap-origin =2D (origin =2D (method url-fetch) =2D (uri (map (cut string-append <> "/" (%current-syste= m) =2D "/20130105/glibc-2.17.tar.xz") =2D %bootstrap-base-urls)) =2D (sha256 =2D (match (%current-system) =2D ("x86_64-linux" =2D (base32 =2D "18kv1z9d8dr1j3hm9w7663kchqw9p6rsx11n1m143jgba= 2jz6jy3")) =2D ("i686-linux" =2D (base32 =2D "08hv8i0axwnihrcgbz19x0a7s6zyv3yx38x8r29liwl8h= 82x9g88"))))))))) + ("tarball" ,(string-append "/home/nikita/gnuabi64-tarballs/" + "m7vf579yxmif4fdp2qn1gcilfddp2m37-bootst= rap-tarballs-0/" + "glibc-stripped-2.17-mips64el-linux-gnua= bi64.tar.xz")))) (synopsis "Bootstrap binaries and headers of the GNU C Library") (description #f) (home-page #f) @@ -343,20 +316,9 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \ ("xz" ,(search-bootstrap-binary "xz" (%current-system))) ("bash" ,(search-bootstrap-binary "bash" (%current-system))) ("libc" ,%bootstrap-glibc) =2D ("tarball" ,(bootstrap-origin =2D (origin =2D (method url-fetch) =2D (uri (map (cut string-append <> "/" (%current-syste= m) =2D "/20130105/gcc-4.7.2.tar.xz") =2D %bootstrap-base-urls)) =2D (sha256 =2D (match (%current-system) =2D ("x86_64-linux" =2D (base32 =2D "1x1p7han5crnbw906iwdifykr6grzm0w27dy9gz75j0q1= b32i4px")) =2D ("i686-linux" =2D (base32 =2D "06wqs0xxnpw3hn0xjb4c9cs0899p1xwkcysa2rvzhvpra= 0c5vsg2"))))))))) + ("tarball" ,(string-append "/home/nikita/gnuabi64-tarballs/" + "m7vf579yxmif4fdp2qn1gcilfddp2m37-bootst= rap-tarballs-0/" + "gcc-stripped-4.7.3-mips64el-linux-gnuab= i64.tar.xz")))) (native-search-paths (list (search-path-specification (variable "CPATH") --=-=-= Content-Disposition: attachment; filename=bzip-error.txt @ build-started /nix/store/pl2prx6qj1cbcf8rxs874s6r5w0zhzhs-make-boot0-3.82.drv - mips64el-linux /nix/var/log/nix/drvs/pl//2prx6qj1cbcf8rxs874s6r5w0zhzhs-make-boot0-3.82.drv.bz2 starting phase `set-paths' environment variable `PATH' set to `/nix/store/7dqvgffz0vdpgpn0sbf35ybik51gjv8s-gcc-bootstrap-0/bin:/nix/store/8pkxhjsa7cwm79czls3g4n7p37dfgzg7-binutils-bootstrap-0/bin:/nix/store/g4rfxczhx2lcb40g0yyjnv5lwsg76y11-bootstrap-binaries-0/bin:/nix/store/g4rfxczhx2lcb40g0yyjnv5lwsg76y11-bootstrap-binaries-0/bin' environment variable `CPATH' set to `/nix/store/gq5zyr455yci4sjl4pyzk3wmsg9bf6rz-glibc-bootstrap-0/include' environment variable `LIBRARY_PATH' set to `/nix/store/gq5zyr455yci4sjl4pyzk3wmsg9bf6rz-glibc-bootstrap-0/lib:/nix/store/7dqvgffz0vdpgpn0sbf35ybik51gjv8s-gcc-bootstrap-0/lib' phase `set-paths' succeeded after 0 seconds starting phase `unpack' tar (child): cannot run bzip2: No such file or directory tar (child): trying lbzip2 tar (child): lbzip2: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now phase `unpack' failed after 2 seconds note: keeping build directory `/tmp/nix-build-make-boot0-3.82.drv-0' builder for `/nix/store/pl2prx6qj1cbcf8rxs874s6r5w0zhzhs-make-boot0-3.82.drv' failed with exit code 1 @ build-failed /nix/store/pl2prx6qj1cbcf8rxs874s6r5w0zhzhs-make-boot0-3.82.drv - 1 builder for `/nix/store/pl2prx6qj1cbcf8rxs874s6r5w0zhzhs-make-boot0-3.82.drv' failed with exit code 1 cannot build derivation `/nix/store/0dhfg4jhan1w7d0qzdy7vz4l1a1lmzdi-gawk-4.1.0.drv': 1 dependencies couldn't be built cannot build derivation `/nix/store/k8xd7wi9224phnlr9q0pn30iqnkvai36-hello-2.8.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/nix/store/k8xd7wi9224phnlr9q0pn30iqnkvai36-hello-2.8.drv' failed --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJSSCq1AAoJEM+IQzI9IQ38JwEP/32VM4YBVPSdzN/RAsA94/Lw WR/zLAJ1/C5gUBY34i2T0PRBTmuXLhNl3v+NSyXy1nmxQqkUP8cWkkULUJ+xOLLH ClKN0zCJhKnbXFb3ji51XWxzARUoJtfa6VRdr+xQ7hk62jIZ/IYrRkfJcnyk3z/+ lUWvG+EwvAjywTC5EHy+ZnbnBGCsBHkKP2vncHf8mL3c30cxOqGatDr/rlwT1IF9 AT316oErC+Be4DkY96LwA1lokddxrdd8iD/2ZRMRdbZljSKW9gW/Bpwjn3WrBtBF 5a3qx2RsZNheDr+GQr0qwiDQUfWzFXyrlBE1ZTkPhwgw6Lko3xDz7cXhAUCy88q6 NyaLjjKfv8BSkrlmry3t4kJNFLyePWPz0OOxWAxREn43PpxQDA/OkSed+g08pq6o wRMHfCv9M++YwzRwJWcWB42HB6hhhRyAohcCVnrdtxbTLC68Q8s/b6ygzYzvV9DT pfhD3dRiHvoXyuiZ72putLoF8zENiaw+UckGEsg7MXNGE79dW+l1BflJBlYhMez+ iwkRZDc8qu7hrzbXlJGOmQhfIH3mar6E/021eOiSKZHgrEokArMFZmFKKK0nQGx2 sh0JYzS4JilJiEAcQhiBgU+PG+FyWUGxwjddrdqSYbyIXixjIw3dm0vyWBn0wt0J PcsmsaAySP3Ms7jB7V51 =DKhg -----END PGP SIGNATURE----- --==-=-=--