help-guix
[Top][All Lists]
Advanced

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

Re: Error: guix build xonsh ; guix pull --commit=572ee05c31


From: zimoun
Subject: Re: Error: guix build xonsh ; guix pull --commit=572ee05c31
Date: Tue, 15 Jan 2019 17:38:28 +0100

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



reply via email to

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