[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Porting to mips64el (was: mips64el: No such file or directory: "/nix/sto
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 |
> Then I’m pretty clueless here. /nix/store/*-glibc-2.13.drv is
> definitely the result of “nix-instantiate -A glibc /path/to/nixpkgs”.
> 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 (#<procedure compile-tree-il (x e opts)>) (define-module # # ...)
...]
In ice-9/boot-9.scm:
2131: 18 [save-module-excursion #<procedure 103cb480 at
language/scheme/compile-tree-il.scm:29:3 ()>]
In language/scheme/compile-tree-il.scm:
31: 17 [#<procedure 103cb480 at language/scheme/compile-tree-il.scm:29:3 ()>]
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 [#<procedure 1017ea70 at ice-9/boot-9.scm:2507:4 (name #:optional
autoload version #:key ensure)> # ...]
2786: 8 [try-module-autoload (distro packages bootstrap) #f]
2131: 7 [save-module-excursion #<procedure 106c3e40 at ice-9/boot-9.scm:2787:17
()>]
2797: 6 [#<procedure 106c3e40 at ice-9/boot-9.scm:2787:17 ()>]
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 [#<procedure 102b68e0 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
wrong-type-arg ...]
ice-9/boot-9.scm:106:20: In procedure #<procedure 102b68e0 at
ice-9/boot-9.scm:97:6 (thrown-k . args)>:
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
;;; <unknown-location>: warning: possibly unbound variable `%bootstrap-guile'
ERROR: In procedure #<procedure 10505270 ()>:
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]>
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]>
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]>
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]>
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
<kernel.org>.
(Actually, it's a bit disappointing because I thought that
'export HYDRA_DISALLOW_UNFREE=1' can handle this. But it's a different
issue.)
So, do you have any ideas?
Nikita
pgpOBCf1xeR7k.pgp
Description: PGP signature
- Porting to mips64el (was: mips64el: No such file or directory: "/nix/store/*-glibc-2.13.drv"),
Nikita Karetnikov <=
- Re: Porting to mips64el, Ludovic Courtès, 2013/01/08
- Re: Porting to mips64el, Nikita Karetnikov, 2013/01/08
- Re: Porting to mips64el, Ludovic Courtès, 2013/01/08
- Re: Porting to mips64el, Nikita Karetnikov, 2013/01/08
- Re: Porting to mips64el, Ludovic Courtès, 2013/01/08
- Re: Porting to mips64el, Nikita Karetnikov, 2013/01/09
- Re: Porting to mips64el, Ludovic Courtès, 2013/01/09
- Re: Porting to mips64el, Nikita Karetnikov, 2013/01/10
- Re: Porting to mips64el, Ludovic Courtès, 2013/01/11
- Re: Porting to mips64el, Nikita Karetnikov, 2013/01/11