Project

General

Profile

Actions

Bug #1956

closed

waf build traceback

Added by Davide Pesavento over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:

Description

NLSR build fails immediately with a python traceback.

Steps to reproduce:

  • ./waf configure
  • ./waf

Output:

$ ./waf
Waf: Entering directory `/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/build'
Traceback (most recent call last):
  File "/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/.waf3-1.8.0-63991188ba64d5fe88022d16cf5b733b/waflib/Scripting.py", line 98, in waf_entry_point
    run_commands()
  File "/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/.waf3-1.8.0-63991188ba64d5fe88022d16cf5b733b/waflib/Scripting.py", line 159, in run_commands
    ctx=run_command(cmd_name)
  File "/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/.waf3-1.8.0-63991188ba64d5fe88022d16cf5b733b/waflib/Scripting.py", line 150, in run_command
    ctx.execute()
  File "/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/.waf3-1.8.0-63991188ba64d5fe88022d16cf5b733b/waflib/Scripting.py", line 361, in execute
    return execute_method(self)
  File "/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/.waf3-1.8.0-63991188ba64d5fe88022d16cf5b733b/waflib/Build.py", line 106, in execute
    self.execute_build()
  File "/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/.waf3-1.8.0-63991188ba64d5fe88022d16cf5b733b/waflib/Build.py", line 109, in execute_build
    self.recurse([self.run_dir])
  File "/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/.waf3-1.8.0-63991188ba64d5fe88022d16cf5b733b/waflib/Context.py", line 133, in recurse
    user_function(self)
  File "/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/wscript", line 79, in build
    version(bld)
  File "/tmp/portage/net-misc/nlsr-9999/work/nlsr-9999/wscript", line 177, in version
    if out.startswith(GIT_TAG_PREFIX):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Actions #1

Updated by Davide Pesavento over 9 years ago

Probably related to python3:

$ python --version
Python 3.3.5
Actions #2

Updated by Alex Afanasyev over 9 years ago

Exactly the same problem also exists in the latest NFD

Actions #3

Updated by Alex Afanasyev over 9 years ago

  • Status changed from New to Code review
  • Assignee set to Alex Afanasyev
  • % Done changed from 0 to 100
Actions #4

Updated by Vince Lehman over 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF