From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: Porting to mips64el Date: Thu, 31 Jan 2013 14:32:45 -0500 Message-ID: <87halxxj4a.fsf@karetnikov.org> References: <8738yvnslh.fsf@karetnikov.org> <87bocjvs8m.fsf@gnu.org> <87libkygp3.fsf@karetnikov.org> <87libktruu.fsf@karetnikov.org> <877gn3zzcy.fsf@gnu.org> <87fw1rblhh.fsf@karetnikov.org> <87ham6o9rb.fsf@gnu.org> <87zjzwv9z9.fsf@karetnikov.org> <87fw1nd3s8.fsf@gnu.org> <87libf41oo.fsf@karetnikov.org> <877gmy2uqc.fsf@gnu.org> <87zjztdfdr.fsf@karetnikov.org> <87boc9ea4a.fsf@gnu.org> <87mwvr3m94.fsf@karetnikov.org> <87vcafk8ln.fsf@gnu.org> <878v7b8xc0.fsf@karetnikov.org> <87boc7k5qj.fsf@gnu.org> <87fw1jo9es.fsf@karetnikov.org> <87fw1iie1c.fsf@gnu.org> <87mwvqclyw.fsf@karetnikov.org> <87a9rppldy.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 ([208.118.235.92]:40819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0zsL-0002w0-Mw for bug-guix@gnu.org; Thu, 31 Jan 2013 14:32:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0zsI-0002cu-HC for bug-guix@gnu.org; Thu, 31 Jan 2013 14:32:45 -0500 In-Reply-To: <87a9rppldy.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "(unknown date)") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > You should actually build a statically-linked Bash, and edit > %bootstrap-inputs to use that instead of Nixpkgs=E2=80=99s dynamically-li= nked > Bash. Here's what I did: (define %bootstrap-inputs `(("libc" ,(nixpkgs-derivation "glibc" "mips64el-linux")) ("bash" "/bin/sh") ,@(map (lambda (name) (list name (nixpkgs-derivation name "mips64el-linux"))) '("gnutar" "gzip" "bzip2" "xz" "patch" "coreutils" "gnused" "gnugrep" "gawk" ; used by `config.status' "gcc" "binutils")))) (I used the same [1] '/bin/sh'. Should I build another one using different flags?) Build failed: (Why was it trying to use the one from the store?) starting phase `configure' source directory: "/tmp/nix-build-f60xp1qw77kkyg9pmxx7wz6pp8ndy396-make-boo= t0-3.82.drv-0/make-3.82" (relative from build: ".") build directory: "/tmp/nix-build-f60xp1qw77kkyg9pmxx7wz6pp8ndy396-make-boot= 0-3.82.drv-0/make-3.82" configure flags: ("CONFIG_SHELL=3D/nix/store/n6nrnh7lm39qk2v9b3ij6420nlqznh= i5-sh/bin/bash" "SHELL=3D/nix/store/n6nrnh7lm39qk2v9b3ij6420nlqznhi5-sh/bin= /bash" "--prefix=3D/nix/store/kw0g24rxmvxzyysx8sv5v56322n3vnym-make-boot0-3= .82" "--enable-fast-install") Backtrace: In ice-9/boot-9.scm: 157: 13 [catch #t # ...] In unknown file: ?: 12 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 11 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 414: 10 [eval # #] In ice-9/boot-9.scm: 2131: 9 [save-module-excursion #] 3665: 8 [#] 1456: 7 [%start-stack load-stack ...] 1461: 6 [#] In unknown file: ?: 5 [primitive-load "/nix/store/a9kjzd71ipfzcd9f536p62p7gf2bpfhd-make-b= oot0-3.82-guile-builder"] In ice-9/eval.scm: 375: 4 [eval # ()] In srfi/srfi-1.scm: 830: 3 [every1 # ...] In /nix/store/sghsw1gqw9vb89py0h0nh4vjbarz3caa-module-import/guix/build/gnu= -build-system.scm: 301: 2 [# #] 183: 1 [configure #:inputs (# # # # ...) #:outputs ...] In unknown file: ?: 0 [system* "/nix/store/n6nrnh7lm39qk2v9b3ij6420nlqznhi5-sh/bin/bash" = ...] ERROR: In procedure system*: ERROR: In procedure system*: Not a directory phase `configure' failed after 1 seconds builder for `/nix/store/f60xp1qw77kkyg9pmxx7wz6pp8ndy396-make-boot0-3.82.dr= v' failed; keeping build directory `/tmp/nix-build-f60xp1qw77kkyg9pmxx7wz6p= p8ndy396-make-boot0-3.82.drv-0' builder for `/nix/store/f60xp1qw77kkyg9pmxx7wz6pp8ndy396-make-boot0-3.82.dr= v' failed with exit code 1 @ build-failed /nix/store/f60xp1qw77kkyg9pmxx7wz6pp8ndy396-make-boot0-3.82.= drv /nix/store/kw0g24rxmvxzyysx8sv5v56322n3vnym-make-boot0-3.82 1 builder f= or `/nix/store/f60xp1qw77kkyg9pmxx7wz6pp8ndy396-make-boot0-3.82.drv' failed= with exit code 1 cannot build derivation `/nix/store/4shd2mi6axq07v8gfbs28ma981mnzzws-glibc-= 2.17.drv': 1 dependencies couldn't be built cannot build derivation `/nix/store/dbsy0hq0fcjhz06gcb6bf7sx9am2dwqj-grep-2= .14.drv': 1 dependencies couldn't be built cannot build derivation `/nix/store/1a1hl5q4w9z06hxrk8aqxgxk9nkn2rff-linux-= libre-headers-3.3.8.drv': 1 dependencies couldn't be built cannot build derivation `/nix/store/0yxsgqf4llsgnxzis2vcfy7np7q8hqdr-bootst= rap-tarballs-0.drv': 1 dependencies couldn't be built error: build failed: build of `/nix/store/0yxsgqf4llsgnxzis2vcfy7np7q8hqdr-= bootstrap-tarballs-0.drv' failed Nikita [1] https://lists.gnu.org/archive/html/bug-guix/2013-01/msg00350.html --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRCsH5AAoJEM+IQzI9IQ388D0P/3NxbtsyMBp/vJmJcAas6UUI Mtx37RBEqCpQ14k5shgpKEVAlPrYppJj6O6mYUrTtGRu1LxWZwvEWAhnCjxq+07V obMZdPOjQ+WcE01U7lmi3gEdwfNHJKwRVx9KR993Ptx5dIoF+fJSS67zUkqldl5w wWsiNmIB+m/1a3l0tTs4jhyWw4GYCVAnH51ZTl14Owy5W2JhCJ8YtSlD6Be1OyYH j+W9lLt3YDXTe6hekpFYt63IEW60Ld9qengKvP6X10OSsBLR/aJi1917n7YDkOp4 iSxr2eSeAtkhE+02nYbufXBSIgxr9QuRVIJxkAJMNFNjMF87r6UgOrnDHvYaMipo g5oWOhGe/di10xCqSzYT9054S7sLRrna0qNeu/Qs5SHFkJQ6gdgO4CXG15YpLyc+ dctl+iIb59FgHiZam4qAnv7OWZYc6bgAWmqDzrmqhXZs+yPL8GE9J2nMkR0nSnyK cvxz81wbE7xDRqLUTXdXgD4eTF23p5ScSuzu/bfUU4VHLDudx2i2pH8feSExsro2 TPosdnfndI13sgMPaNLs6Qz6HoqsKQrn1mLZ1gB0I/WVf7i9tmBvTO4JejYyGaTJ D7tBkhaQ+5oCRg1PTe6B86kM3oZpd8GBlegApnGAdW9oCvdYo9gmKp08rgjPp7ab ALn5AETDdgFieHTgsb7y =Q2at -----END PGP SIGNATURE----- --=-=-=--