From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Porting to mips64el (was: mips64el: No such file or directory: "/nix/store/*-glibc-2.13.drv") Date: Tue, 08 Jan 2013 08:26:45 -0500 Message-ID: <87lic3vm8s.fsf@karetnikov.org> References: <8738yvnslh.fsf@karetnikov.org> <87y5gfa7t9.fsf@gnu.org> <87vcbjldp5.fsf@karetnikov.org> <87zk0v4e29.fsf@gnu.org> <87wqvzclyj.fsf@karetnikov.org> <87ehi71bl6.fsf@gnu.org> <87pq1rma9g.fsf@karetnikov.org> <87wqvyxvhv.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]:47938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsZCX-000440-4c for bug-guix@gnu.org; Tue, 08 Jan 2013 08:26:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsZCS-0005QR-2u for bug-guix@gnu.org; Tue, 08 Jan 2013 08:26:45 -0500 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 > Then I=E2=80=99m pretty clueless here. /nix/store/*-glibc-2.13.drv is > definitely the result of =E2=80=9Cnix-instantiate -A glibc /path/to/nixpk= gs=E2=80=9D. > It should be valid here. I haven't found a workaround. But I decided to try again in a new chroot. Now 'make' fails with an error. # ./bootstrap # ./configure # make Backtrace: In system/base/compile.scm: 177: 19 [lp (#) (define-module # # .= ..) ...] In ice-9/boot-9.scm: 2131: 18 [save-module-excursion #] In language/scheme/compile-tree-il.scm: 31: 17 [#] In ice-9/psyntax.scm: 1091: 16 [expand-top-sequence ((define-module # # # ...)) () ((top)) ...] 976: 15 [scan ((define-module (distro packages base) #:use-module ...)) ()= ...] 270: 14 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...] In ice-9/eval.scm: 400: 13 [eval # ()] In ice-9/boot-9.scm: 2681: 12 [define-module* (distro packages base) #:filename ...] 2656: 11 [resolve-imports ((#) (#) (#) (#) ...)] 2594: 10 [resolve-interface (distro packages bootstrap) #:select ...] 2519: 9 [# # ...] 2786: 8 [try-module-autoload (distro packages bootstrap) #f] 2131: 7 [save-module-excursion #] 2797: 6 [#] In unknown file: ?: 5 [primitive-load-path "distro/packages/bootstrap" #f] In ice-9/eval.scm: 442: 4 [eval # ()] In guix/utils.scm: 171: 3 [nixpkgs-derivation "guile" "mips64el-linux"] In ice-9/popen.scm: 52: 2 [open-pipe* "r" "/usr/local/bin/nix-instantiate" ...] In unknown file: ?: 1 [open-process "r" "/usr/local/bin/nix-instantiate" ...] In ice-9/boot-9.scm: 106: 0 [# w= rong-type-arg ...] ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: Wrong type (expecting string): #f make[2]: *** [distro/packages/base.go] Error 1 make[2]: Leaving directory `/home/guix-savannah' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/guix-savannah' make: *** [all] Error 2 Here is a more descriptive error message: scheme@(guile-user)> ,use (distro packages base) [...] While executing meta-command: ERROR: Unbound variable: %bootstrap-guile More tests: scheme@(guile-user)> ,use (distro packages bootstrap) While executing meta-command: ERROR: Wrong type (expecting string): #f This error won't appear if I run ',use' again: scheme@(guile-user)> ,use (distro packages bootstrap) scheme@(guile-user)> But I'll get the 'Unbound variable' error anyway: scheme@(guile-user)> %bootstrap-guile ;;; : warning: possibly unbound variable `%bootstrap-guil= e' ERROR: In procedure #: ERROR: In procedure module-lookup: Unbound variable: %bootstrap-guile Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]>=20 By the way, here is a definition of '%bootstrap-guile': (define %bootstrap-guile (nixpkgs-derivation "guile" "mips64el-linux")) I also tried to call the above procedure from the REPL, but it didn't work out: scheme@(guile-user)> ,use (guix utils) scheme@(guile-user)> (nixpkgs-derivation "guile" "mips64el-linux") ERROR: In procedure open-process: ERROR: Wrong type (expecting string): #f Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]>=20 scheme@(guile-user)> (nixpkgs-derivation "hello" "mips64el-linux") ERROR: In procedure open-process: ERROR: Wrong type (expecting string): #f Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]>=20 scheme@(guile-user)> (nixpkgs-derivation "hello") ERROR: In procedure open-process: ERROR: Wrong type (expecting string): #f Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]>=20 It's possible that I've forgotten to install something. I ran 'nix-env -i guile' to check that Nix-related things work fine, but I interrupted the process when it decided to fetch the Linux kernel from . (Actually, it's a bit disappointing because I thought that 'export HYDRA_DISALLOW_UNFREE=3D1' can handle this. But it's a different issue.) So, do you have any ideas? Nikita --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJQ7B6xAAoJEM+IQzI9IQ38LOYP/j8qD1UrjI/BVuv9+A3KyPQ5 7l7+3+Ftt2kkh7VWFI+8nAGkidM4Ddv1QwTF2oiFngS8MM49Xvl/Cdkx5zRFzjQx sgLIVYDpnABz1lSm0CLQ8TCQgJEBuNQ3g5Ew8KqV4Alk9jLFlS3bGC6PiOcwiFiw uwB/zeJQ3nMdIEc/nhxg/RhHxlwMGOD2b5kMVAjm5IXQ6yHI0SutiXfavXg4VinY pAJHO3GZjw7V0rhRZN9JSTbUBb4lhLzRSrpZack3+K4q7zvel1XMtd0Yxh5WzK5F 68rTciuskdjZcfneVGEGG6Wsn/FqLE2NhV/mP/BuKgPBwsvh4tQYzbY2tDjjKc8L dghlb4ZcxbkovmLQe2ZUkJI+kZGziI9jlJ78m4r5en5yxccKLw81VY8hIIbh6FhB V+83q2jgoxN2ZGwo0UnUuijpV0Cqs5YSZxdN/ZFuSOXxX3e8ZvzPLgNLnb0QalxB pGuHWgaPAS/C7uPlkiBVhKkorST2V1tNzwrFeqwbcxoZnhdkyCCXO7A04dB+9kRz sA991ckem6y1kTmTgsvY+J6TRs0P81RvJp94xFNsmG9zeluns04UcFAiCO0QzKtH XaB54bfNxbNdYb25R7iGcCT9NJbqy+yPnTNOquCYYMvLOF0B2bjpABHmrPsZD8wG x2wCSldLdTAJACeyuU0B =XclM -----END PGP SIGNATURE----- --=-=-=--