Bug 1266

Summary: gdb cannot be loaded
Product: ns-3 Reporter: John Abraham <john.abraham.in>
Component: build systemAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   

Description John Abraham 2011-09-22 19:36:27 UTC
:ns-3-dev john$ ./waf --run "first" --command-template="gdb %s"
Waf: Entering directory `/Users/john/ns-3/ns-3-dev/build'
Traceback (most recent call last):
  File "/Users/john/ns-3/ns-3-dev/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Scripting.py", line 96, in waf_entry_point
    run_commands()
  File "/Users/john/ns-3/ns-3-dev/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Scripting.py", line 148, in run_commands
    run_command(cmd_name)
  File "/Users/john/ns-3/ns-3-dev/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Scripting.py", line 141, in run_command
    ctx.execute()
  File "/Users/john/ns-3/ns-3-dev/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Scripting.py", line 336, in execute
    return execute_method(self)
  File "/Users/john/ns-3/ns-3-dev/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Build.py", line 102, in execute
    self.execute_build()
  File "/Users/john/ns-3/ns-3-dev/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Build.py", line 105, in execute_build
    self.recurse([self.run_dir])
  File "/Users/john/ns-3/ns-3-dev/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Context.py", line 127, in recurse
    user_function(self)
  File "/Users/john/ns-3/ns-3-dev/wscript", line 768, in build
    program_name, dummy_program_argv = wutils.get_run_program(Options.options.run, wutils.get_command_template(env))
  File "/Users/john/ns-3/ns-3-dev/wutils.py", line 199, in get_run_program
    tmpl = command_template % (program_node.abspath(env),)
TypeError: abspath() takes exactly 1 argument (2 given)
Comment 1 Gustavo J. A. M. Carneiro 2011-09-23 06:59:28 UTC
changeset:   7535:2024597e0ad8
tag:         tip
user:        Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>
date:        Fri Sep 23 11:58:59 2011 +0100
summary:     Bug 1266 - gdb cannot be loaded