bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross bootstrap!


From: Nikita Karetnikov
Subject: Re: Cross bootstrap!
Date: Fri, 28 Jun 2013 13:08:08 +0400

> So commit beda99e adds the N64 cross tool chain.

That's great, thanks!

I guess I've already asked this, but will it be necessary to adjust the
packages somehow?

> Hydra is now building it, so you MIPS people ;-) can (within a few
> hours) go ahead and run the following from an x86_64-linux machine:

>   guix build bootstrap-tarballs

> If everything goes well, that will download (using the substituter) the
> 5 tarballs, you can then be copied to a MIPS machine, unpacked, and run
> (or debugged).

I've created a clean environment for that purpose (no everything-as-root
craziness anymore), and I can't do anything because "the server is
unresponsive":

$ ./pre-inst-env guix build --no-substitutes -K 
--target=mips64el-linux-gnuabi64 bootstrap-tarballs 

[...]

@ substituter-started 
/nix/store/mmv5q5wfgs2kc5cm74ygb9zhsz2hzinh-perl-5.16.1.tar.gz 
/home/tester/guix-savannah/nix/scripts/substitute-binary
@ substituter-started 
/nix/store/cblwzpj3ygh1sw5dqp20883ixs5j6hrq-m4-1.4.16.tar.bz2 
/home/tester/guix-savannah/nix/scripts/substitute-binary
@ substituter-started 
/nix/store/zl07prik694izsscpcw2wib18rhsqi1b-tar-1.26.tar.bz2 
/home/tester/guix-savannah/nix/scripts/substitute-binary
@ substituter-started 
/nix/store/wc3171lyvk5hlppg4ph5i07w0mswsan0-xz-5.0.4.tar.gz 
/home/tester/guix-savannah/nix/scripts/substitute-binary
substitute-binary: guix substitute-binary: warning: while fetching 
http://hydra.gnu.org/z9fndy09rcmcnzzaminnvbczl63yv4m9.narinfo: server is 
unresponsive
substitute-binary: guix substitute-binary: warning: try `--no-substitutes' if 
the problem persists

[...]

AFAICT, it just hangs after that.  How can I check?  And why is it
trying to download binaries?  I'm on i686, and '--no-substitutes' was
used.

'make check' returns 'FAIL: tests/store.scm'.  'tests/store.log':

[...]

@ build-started 
/home/tester/guix-savannah/test-tmp/store/bs8dbvh4ykgyscigm0s2mkkczivcxfdq-the-thing.drv
 - i686-linux 
/home/tester/guix-savannah/test-tmp/var/log/nix/drvs/bs//8dbvh4ykgyscigm0s2mkkczivcxfdq-the-thing.drv.bz2
@ build-succeeded 
/home/tester/guix-savannah/test-tmp/store/bs8dbvh4ykgyscigm0s2mkkczivcxfdq-the-thing.drv
 -
@ substituter-started 
/home/tester/guix-savannah/test-tmp/store/58qraad0gdsn9c9flxiiz56xph531nd6-substitute-me
 /home/tester/guix-savannah/nix/scripts/substitute-binary
downloading 
`/home/tester/guix-savannah/test-tmp/store/58qraad0gdsn9c9flxiiz56xph531nd6-substitute-me'
 from 
`file:/home/tester/guix-savannah/test-tmp/var/7794/substituter-data/example.nar'...
Backtrace:
In ice-9/boot-9.scm:
 157: 11 [catch #t #<catch-closure 882def0> ...]
In unknown file:
   ?: 10 [apply-smob/1 #<catch-closure 882def0>]
In ice-9/boot-9.scm:
  63: 9 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 8 [eval # #]
In ice-9/boot-9.scm:
2320: 7 [save-module-excursion #<procedure 8758e80 at ice-9/boot-9.scm:3961:3 
()>]
3966: 6 [#<procedure 8758e80 at ice-9/boot-9.scm:3961:3 ()>]
In unknown file:
   ?: 5 [load-compiled/vm 
"/home/tester/guix-savannah/test-tmp/var/7794/cache-7794/guile/ccache/2.0-LE-4-2.0/home/tester/guix-savannah/scripts/guix.go"]
In guix/ui.scm:
 462: 4 [run-guix-command substitute-binary "--substitute" ...]
In ice-9/boot-9.scm:
 157: 3 [catch getaddrinfo-error ...]
In guix/scripts/substitute-binary.scm:
 524: 2 [#<procedure 8bce040 at guix/scripts/substitute-binary.scm:457:2 ()>]
In guix/build/download.scm:
  68: 1 [uri-abbreviation # 42]
In unknown file:
   ?: 0 [string-append "file" "://" #f "/.../example.nar"]

ERROR: In procedure string-append:
ERROR: In procedure string-append: Wrong type (expecting string): #f
@ substituter-failed 
/home/tester/guix-savannah/test-tmp/store/58qraad0gdsn9c9flxiiz56xph531nd6-substitute-me
 256 fetching path 
`/home/tester/guix-savannah/test-tmp/store/58qraad0gdsn9c9flxiiz56xph531nd6-substitute-me'
 failed with exit code 1
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 94bacb0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 94bacb0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2320: 12 [save-module-excursion #<procedure 942dde0 at ice-9/boot-9.scm:3961:3 
()>]
3968: 11 [#<procedure 942dde0 at ice-9/boot-9.scm:3961:3 ()>]
1645: 10 [%start-stack load-stack ...]
1650: 9 [#<procedure 94bb810 ()>]
In unknown file:
   ?: 8 [primitive-load "/home/tester/guix-savannah/./tests/store.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 9c49870 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 399: 4 [eval # #]
In guix/store.scm:
 476: 3 [build-derivations # #]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 9c45900 at ice-9/boot-9.scm:97:6 (thrown-k . args)> 
srfi-34 #]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
@ substituter-started 
/home/tester/guix-savannah/test-tmp/store/997lk0rf58hzplx72dxva9jqcandxv5n-substitute-me-not
 /home/tester/guix-savannah/nix/scripts/substitute-binary
downloading 
`/home/tester/guix-savannah/test-tmp/store/997lk0rf58hzplx72dxva9jqcandxv5n-substitute-me-not'
 from 
`file:/home/tester/guix-savannah/test-tmp/var/7794/substituter-data/does-not-exist.nar'...
Backtrace:
In ice-9/boot-9.scm:
 157: 11 [catch #t #<catch-closure 8d59180> ...]
In unknown file:
   ?: %%%% Starting test store  (Writing full log to "store.log")

;;; (spi (#<<substitutable> path: 
"/home/tester/guix-savannah/test-tmp/store/dahirq82zh6342mw1ji2w464fmx6rws5-guile-bootstrap-2.0"
 deriver: 
"/home/tester/guix-savannah/test-tmp/store/hx48lw3rlqbgidw67w53w0app72mj3d5-guile-bootstrap-2.0.drv"
 refs: () dl-size: 0 nar-size: 1234>))
FAIL substitute
# of expected passes      10
# of unexpected failures  1
10 [apply-smob/1 #<catch-closure 8d59180>]
In ice-9/boot-9.scm:
  63: 9 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 8 [eval # #]
In ice-9/boot-9.scm:
2320: 7 [save-module-excursion #<procedure 8c85e80 at ice-9/boot-9.scm:3961:3 
()>]
3966: 6 [#<procedure 8c85e80 at ice-9/boot-9.scm:3961:3 ()>]
In unknown file:
   ?: 5 [load-compiled/vm 
"/home/tester/guix-savannah/test-tmp/var/7794/cache-7794/guile/ccache/2.0-LE-4-2.0/home/tester/guix-savannah/scripts/guix.go"]
In guix/ui.scm:
 462: 4 [run-guix-command substitute-binary "--substitute" ...]
In ice-9/boot-9.scm:
 157: 3 [catch getaddrinfo-error ...]
In guix/scripts/substitute-binary.scm:
 518: 2 [#<procedure 90f8440 at guix/scripts/substitute-binary.scm:457:2 ()>]
 159: 1 [fetch # # #f ...]
In unknown file:
   ?: 0 [open-file 
"/home/tester/guix-savannah/test-tmp/var/7794/substituter-data/does-not-exist.nar"
 ...]

ERROR: In procedure open-file:
ERROR: In procedure open-file: No such file or directory: 
"/home/tester/guix-savannah/test-tmp/var/7794/substituter-data/does-not-exist.nar"
@ substituter-failed 
/home/tester/guix-savannah/test-tmp/store/997lk0rf58hzplx72dxva9jqcandxv5n-substitute-me-not
 256 fetching path 
`/home/tester/guix-savannah/test-tmp/store/997lk0rf58hzplx72dxva9jqcandxv5n-substitute-me-not'
 failed with exit code 1
@ substituter-started 
/home/tester/guix-savannah/test-tmp/store/997lk0rf58hzplx72dxva9jqcandxv5n-substitute-me-not
 /home/tester/guix-savannah/nix/scripts/substitute-binary
downloading 
`/home/tester/guix-savannah/test-tmp/store/997lk0rf58hzplx72dxva9jqcandxv5n-substitute-me-not'
 from 
`file:/home/tester/guix-savannah/test-tmp/var/7794/substituter-data/does-not-exist.nar'...
Backtrace:
In ice-9/boot-9.scm:
 157: 11 [catch #t #<catch-closure 9be0cb0> ...]
In unknown file:
   ?: 10 [apply-smob/1 #<catch-closure 9be0cb0>]
In ice-9/boot-9.scm:
  63: 9 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 8 [eval # #]
In ice-9/boot-9.scm:
2320: 7 [save-module-excursion #<procedure 9b09e80 at ice-9/boot-9.scm:3961:3 
()>]
3966: 6 [#<procedure 9b09e80 at ice-9/boot-9.scm:3961:3 ()>]
In unknown file:
   ?: 5 [load-compiled/vm 
"/home/tester/guix-savannah/test-tmp/var/7794/cache-7794/guile/ccache/2.0-LE-4-2.0/home/tester/guix-savannah/scripts/guix.go"]
In guix/ui.scm:
 462: 4 [run-guix-command substitute-binary "--substitute" ...]
In ice-9/boot-9.scm:
 157: 3 [catch getaddrinfo-error ...]
In guix/scripts/substitute-binary.scm:
 518: 2 [#<procedure 9f7e5d0 at guix/scripts/substitute-binary.scm:457:2 ()>]
 159: 1 [fetch # # #f ...]
In unknown file:
   ?: 0 [open-file 
"/home/tester/guix-savannah/test-tmp/var/7794/substituter-data/does-not-exist.nar"
 ...]

ERROR: In procedure open-file:
ERROR: In procedure open-file: No such file or directory: 
"/home/tester/guix-savannah/test-tmp/var/7794/substituter-data/does-not-exist.nar"
@ substituter-failed 
/home/tester/guix-savannah/test-tmp/store/997lk0rf58hzplx72dxva9jqcandxv5n-substitute-me-not
 256 fetching path 
`/home/tester/guix-savannah/test-tmp/store/997lk0rf58hzplx72dxva9jqcandxv5n-substitute-me-not'
 failed with exit code 1
@ build-started 
/home/tester/guix-savannah/test-tmp/store/da3dm8bv3hn1apbc61p93zd1765il1vw-substitute-me-not.drv
 - i686-linux 
/home/tester/guix-savannah/test-tmp/var/log/nix/drvs/da//3dm8bv3hn1apbc61p93zd1765il1vw-substitute-me-not.drv.bz2
@ build-succeeded 
/home/tester/guix-savannah/test-tmp/store/da3dm8bv3hn1apbc61p93zd1765il1vw-substitute-me-not.drv
 -

Attachment: pgpyjeGYtIsAl.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]