unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Error: guix build xonsh ; guix pull --commit=572ee05c31
@ 2019-01-07 20:36 zimoun
  2019-01-08 22:52 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2019-01-07 20:36 UTC (permalink / raw)
  To: help-guix

Dear,

I naively try from the Build section in the manual:

guix build \
    --cores=0 --max-jobs=10 \
    --quiet --keep-going         \
    `guix package -A | cut -f1,2 --output-delimiter=@`

and it does not seem "keep-going" because it quickly fails on xonsh
with the message:

guix build: error: build failed: build of
`/gnu/store/06m5xywkfwza30ngh9lazzaq0vrmwyzr-xonsh-0.6.2.drv' failed


Hum? why not. :-)
I was expecting it works all the night---even more---because the keep-going.


So I `git blame gnu/packages/shells.scm` to see what was the
modification of the file.

Then, I simply try: `git pull --commit=572ee05c31`.
It also fails with the backtrace below. Is it expected?

And `guix descrbibe` tells:
Generation 2 Jan 07 2019 21:10:35 (current)
  guix 912f054
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 912f0541a3b2ae52f3f2d81391f5fbb3161e5625


Well what do I miss?
Is it because I have some export variables twisted?

Last, I am able to find with http://ci.guix.info if it builds
correctly or if the commit 9822835fc8 breaks xonsh.
Is it possible to easily track the build of the commit 9822835fc8 on
http://ci.guix.info?


Thank you in advance for any insights.

All the best,
simon


--

Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...

Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git 572ee05

Backtrace:
          15 (primitive-load "/home/simon/.config/guix/current/bin/g?")
In guix/ui.scm:
  1644:12 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9 13 (catch _ _ #<procedure 7f98d08919b0 at guix/ui.scm:622?> ?)
    829:9 12 (catch _ _ #<procedure 7f98d08919c8 at guix/ui.scm:740?> ?)
    829:9 11 (catch _ _ #<procedure 7f98ce6a84b0 at guix/scripts/pu?> ?)
In guix/scripts/pull.scm:
   511:16 10 (_)
In guix/status.scm:
    648:4  9 (call-with-status-report _ _)
In guix/scripts/pull.scm:
   541:26  8 (_)
   179:32  7 (build-and-install _ "/var/guix/profiles/per-user/simo?" ?)
In guix/channels.scm:
   394:36  6 (channel-instances->manifest (#<<channel-instance> cha?>))
   310:28  5 (channel-instance-derivations (#<<channel-instance> ch?>))
In ice-9/eval.scm:
    619:8  4 (_ #(#(#(#<directory (build-self) 1834d20>) "/gnu?" ?) ?))
   626:19  3 (_ #(#(#(#<directory (build-self) 1834d20>) "/gnu?" ?) ?))
    155:9  2 (_ #(#(#(#<directory (build-self) 1834d20>) "/gnu?" ?) ?))
   223:20  1 (proc #(#(#(#<directory (build-self) 1834d20>) "/?" ?) ?))
In unknown file:
           0 (%resolve-variable (7 . %guix-register-program) #<direc?>)
ERROR: In procedure %resolve-variable:
error: %guix-register-program: unbound variable

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error: guix build xonsh ; guix pull --commit=572ee05c31
  2019-01-07 20:36 Error: guix build xonsh ; guix pull --commit=572ee05c31 zimoun
@ 2019-01-08 22:52 ` Ludovic Courtès
  2019-01-15 16:38   ` zimoun
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-01-08 22:52 UTC (permalink / raw)
  To: zimoun; +Cc: help-guix

Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

> I naively try from the Build section in the manual:
>
> guix build \
>     --cores=0 --max-jobs=10 \
>     --quiet --keep-going         \
>     `guix package -A | cut -f1,2 --output-delimiter=@`
>
> and it does not seem "keep-going" because it quickly fails on xonsh
> with the message:
>
> guix build: error: build failed: build of
> `/gnu/store/06m5xywkfwza30ngh9lazzaq0vrmwyzr-xonsh-0.6.2.drv' failed

What makes you think it did not keep going?  When using --keep-going
you’ll still get an error at the end if one or more builds failed.

> Then, I simply try: `git pull --commit=572ee05c31`.
> It also fails with the backtrace below. Is it expected?

[...]

> In guix/channels.scm:
>    394:36  6 (channel-instances->manifest (#<<channel-instance> cha?>))
>    310:28  5 (channel-instance-derivations (#<<channel-instance> ch?>))
> In ice-9/eval.scm:
>     619:8  4 (_ #(#(#(#<directory (build-self) 1834d20>) "/gnu?" ?) ?))
>    626:19  3 (_ #(#(#(#<directory (build-self) 1834d20>) "/gnu?" ?) ?))
>     155:9  2 (_ #(#(#(#<directory (build-self) 1834d20>) "/gnu?" ?) ?))
>    223:20  1 (proc #(#(#(#<directory (build-self) 1834d20>) "/?" ?) ?))
> In unknown file:
>            0 (%resolve-variable (7 . %guix-register-program) #<direc?>)
> ERROR: In procedure %resolve-variable:
> error: %guix-register-program: unbound variable

This is simply because commit 572ee05c3134cf9408ba463c97fdbacb9a98f714
dates back to 2016 at a time where ‘guix pull’ and related files where
not “future-proof”, so we just cannot roll back this far I’m afraid.

Again the changes to ‘guix pull’ made shortly before 0.15 should fix the
issue and allow us to go back further in future history, if you see what
I mean.  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error: guix build xonsh ; guix pull --commit=572ee05c31
  2019-01-08 22:52 ` Ludovic Courtès
@ 2019-01-15 16:38   ` zimoun
  0 siblings, 0 replies; 3+ messages in thread
From: zimoun @ 2019-01-15 16:38 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

Hi,


> What makes you think it did not keep going?  When using --keep-going
> you’ll still get an error at the end if one or more builds failed.

Hum? it should build the world, isn't?
And it ends after less than half hour.

If I try:
  guix build \
  --cores=0 --max-jobs=10  \
  --quiet
   gnome
then it starts to build, which means that gnome has not been built yet, right?

Not sure the backtrace below is informative.


> This is simply because commit 572ee05c3134cf9408ba463c97fdbacb9a98f714
> dates back to 2016 at a time where ‘guix pull’ and related files where
> not “future-proof”, so we just cannot roll back this far I’m afraid.
>
> Again the changes to ‘guix pull’ made shortly before 0.15 should fix the
> issue and allow us to go back further in future history, if you see what
> I mean.  :-)

Yes, I see what you mean. :-)
Thank you for the explanations.

All the best,
simon


--

running install
Removed xonsh/parser_table.py
Removed xonsh/__amalgam__.py
Removed xonsh/completers/__amalgam__.py
Removed xonsh/history/__amalgam__.py
Removed xonsh/prompt/__amalgam__.py
Building lexer and parser tables.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 344, in <module>
    main()
  File "setup.py", line 340, in main
    setup(**skw)
  File "/gnu/store/b7fqhszxl02g6pfm3vw6b3cjz472qrly-python-3.7.0/lib/python3.7/site-packages/setuptools/__init__.py",
line 129, in setup
    return distutils.core.setup(**attrs)
  File "/gnu/store/b7fqhszxl02g6pfm3vw6b3cjz472qrly-python-3.7.0/lib/python3.7/distutils/core.py",
line 148, in setup
    dist.run_commands()
  File "/gnu/store/b7fqhszxl02g6pfm3vw6b3cjz472qrly-python-3.7.0/lib/python3.7/distutils/dist.py",
line 966, in run_commands
    self.run_command(cmd)
  File "/gnu/store/b7fqhszxl02g6pfm3vw6b3cjz472qrly-python-3.7.0/lib/python3.7/distutils/dist.py",
line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 186, in run
    build_tables()
  File "setup.py", line 76, in build_tables
    outputdir='xonsh', yacc_debug=True)
  File "/tmp/guix-build-xonsh-0.6.2.drv-0/xonsh-0.6.2/xonsh/lazyasd.py",
line 84, in __call__
    obj = self._lazy_obj()
  File "/tmp/guix-build-xonsh-0.6.2.drv-0/xonsh-0.6.2/xonsh/lazyasd.py",
line 52, in _lazy_obj
    obj = d['load']()
  File "/tmp/guix-build-xonsh-0.6.2.drv-0/xonsh-0.6.2/xonsh/parser.py",
line 10, in Parser
    from xonsh.parsers.v36 import Parser as p
  File "/tmp/guix-build-xonsh-0.6.2.drv-0/xonsh-0.6.2/xonsh/parsers/v36.py",
line 4, in <module>
    from xonsh.parsers.v35 import Parser as ThreeFiveParser
  File "/tmp/guix-build-xonsh-0.6.2.drv-0/xonsh-0.6.2/xonsh/parsers/v35.py",
line 4, in <module>
    from xonsh.parsers.base import BaseParser
  File "/tmp/guix-build-xonsh-0.6.2.drv-0/xonsh-0.6.2/xonsh/parsers/base.py",
line 18, in <module>
    from xonsh.lexer import Lexer, LexToken
  File "/tmp/guix-build-xonsh-0.6.2.drv-0/xonsh-0.6.2/xonsh/lexer.py",
line 16, in <module>
    from xonsh.tokenize import (OP, IOREDIRECT, STRING, DOLLARNAME, NUMBER,
  File "/tmp/guix-build-xonsh-0.6.2.drv-0/xonsh-0.6.2/xonsh/tokenize.py",
line 57, in <module>
    ASYNC = token.ASYNC
AttributeError: module 'token' has no attribute 'ASYNC'
Backtrace:
           5 (primitive-load "/gnu/store/rplsp6mldlbxbbnlk6css1xmd9y…")
In ice-9/eval.scm:
   191:35  4 (_ _)
In srfi/srfi-1.scm:
   863:16  3 (every1 #<procedure 73e1a0 at /gnu/store/4r04fsfcryy5h…> …)
In /gnu/store/4r04fsfcryy5h4v2h3g6lzlibafmmdjm-module-import/guix/build/gnu-build-system.scm:
   799:28  2 (_ _)
In /gnu/store/4r04fsfcryy5h4v2h3g6lzlibafmmdjm-module-import/guix/build/python-build-system.scm:
    184:4  1 (install #:outputs _ #:configure-flags _ # _)
In /gnu/store/4r04fsfcryy5h4v2h3g6lzlibafmmdjm-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/4r04fsfcryy5h4v2h3g6lzlibafmmdjm-module-import/guix/build/utils.scm:616:6:
In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
"python" arguments: ("-c" "import setuptools,
tokenize;__file__='setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\\r\\n',
'\\n');f.close();exec(compile(code, __file__, 'exec'))" "install"
"--prefix=/gnu/store/bhx5dzaswqwpxh2sq7jah3dxx91pafd7-xonsh-0.6.2"
"--single-version-externally-managed" "--root=/") exit-status: 1
term-signal: #f stop-signal: #f] 491d40>)'.
builder for `/gnu/store/06m5xywkfwza30ngh9lazzaq0vrmwyzr-xonsh-0.6.2.drv'
failed with exit code 1
build of /gnu/store/06m5xywkfwza30ngh9lazzaq0vrmwyzr-xonsh-0.6.2.drv failed
View build log at
'/var/log/guix/drvs/06/m5xywkfwza30ngh9lazzaq0vrmwyzr-xonsh-0.6.2.drv.bz2'.
guix build: error: build failed: build of
`/gnu/store/06m5xywkfwza30ngh9lazzaq0vrmwyzr-xonsh-0.6.2.drv' failed

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-15 16:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-07 20:36 Error: guix build xonsh ; guix pull --commit=572ee05c31 zimoun
2019-01-08 22:52 ` Ludovic Courtès
2019-01-15 16:38   ` zimoun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).