Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Included waf has trouble with certain Python versions #39

Closed
kropelka opened this issue Sep 14, 2014 · 0 comments
Closed

Included waf has trouble with certain Python versions #39

kropelka opened this issue Sep 14, 2014 · 0 comments

Comments

@kropelka
Copy link
Contributor

Included waf version has issues with Python 3.4, trying to do waf configure gives us:

Waf: Entering directory `/home/karoru/dev/termbox/build'
[ 1/11] c: src/termbox.c -> build/src/termbox.c.1.o

[...] 

[11/11] vnum: build/src/libtermbox.so -> build/src/libtermbox.so.1 build/src/libtermbox.so.1.0.0
Waf: Leaving directory `/home/karoru/dev/termbox/build'
Traceback (most recent call last):
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Scripting.py", line 97, in waf_entry_point
    run_commands()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Scripting.py", line 153, in run_commands
    ctx=run_command(cmd_name)
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Scripting.py", line 146, in run_command
    ctx.execute()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Scripting.py", line 351, in execute
    return execute_method(self)
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Build.py", line 106, in execute
    self.execute_build()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Build.py", line 115, in execute_build
    self.compile()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Build.py", line 196, in compile
    self.store()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Utils.py", line 386, in f
    ret=fun(*k,**kw)
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Build.py", line 170, in store
    cPickle.dump(data,f,-1)
_pickle.PicklingError: Can't pickle <class 'waflib.Node.Context.__init__.<locals>.node_class'>: attribute lookup Context.__init__.<locals>.node_class on waflib.Node failed

Build process on the same machine works very well using python2.

@nsf nsf closed this as completed in 3e6ffd3 Sep 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant