Project

General

Profile

Actions

Bug #1956

closed

waf build traceback

Added by Davide Pesavento over 10 years ago. Updated about 10 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

Also available in: Atom PDF