all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nikita Karetnikov <nikita@karetnikov.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guix@gnu.org
Subject: Re: Cross bootstrap!
Date: Fri, 28 Jun 2013 13:08:08 +0400	[thread overview]
Message-ID: <8761wymwlj.fsf@karetnikov.org> (raw)
In-Reply-To: 87ppv88tiz.fsf@gnu.org

[-- Attachment #1: Type: text/plain, Size: 9324 bytes --]

> 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 #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2013-06-28  9:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 15:33 Cross bootstrap! Ludovic Courtès
2013-06-26 21:13 ` Ludovic Courtès
2013-06-28  9:08   ` Nikita Karetnikov [this message]
2013-06-28 12:30     ` Ludovic Courtès
2013-06-30 22:45     ` Ludovic Courtès
2013-07-01  8:21       ` Nikita Karetnikov
2013-07-03 23:10         ` Cyril Roelandt
2013-07-09 19:11           ` Nikita Karetnikov
2013-07-03 12:41   ` Ludovic Courtès
2013-07-03 16:16     ` Nikita Karetnikov
2013-07-03 20:49       ` Ludovic Courtès
2013-07-06 19:46         ` Nikita Karetnikov
2013-07-06 21:12           ` Ludovic Courtès
2013-07-10 21:13             ` bug#14837: " Nikita Karetnikov
2013-07-10 21:59               ` Ludovic Courtès
2013-07-10 22:26                 ` Nikita Karetnikov
2013-12-10 21:34               ` Ludovic Courtès
2013-08-21 15:12     ` Ludovic Courtès
2013-08-23 11:22       ` Nikita Karetnikov
2013-08-23 11:57         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761wymwlj.fsf@karetnikov.org \
    --to=nikita@karetnikov.org \
    --cc=bug-guix@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.