Project

General

Profile

Actions

Bug #2406

open

Incorrect dependency calculation for version.hpp

Added by Junxiao Shi almost 10 years ago. Updated 12 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Build
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Tags:

Description

Steps to reproduce:

  1. ./waf distclean
  2. ./waf configure --with-tests --debug --without-pch --prefix=$HOME/local
  3. (./waf is not executed)
  4. ./waf install

Expected: ndn-cxx is compiled then installed, or a meaningful error message appears that reminds the operator to run ./waf first

Actual: a Python exception message is displayed

shijunxiao@pc2core11:~/ndn-cxx$ ./waf install
Waf: Entering directory `/users/shijunxiao/ndn-cxx/build'
Traceback (most recent call last):
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Scripting.py", line 98, in waf_entry_point
    run_commands()
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Scripting.py", line 159, in run_commands
    ctx=run_command(cmd_name)
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Scripting.py", line 150, in run_command
    ctx.execute()
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Scripting.py", line 361, in execute
    return execute_method(self)
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Build.py", line 106, in execute
    self.execute_build()
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Build.py", line 109, in execute_build
    self.recurse([self.run_dir])
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Context.py", line 133, in recurse
    user_function(self)
  File "/users/shijunxiao/ndn-cxx/wscript", line 195, in build
    bld.path.find_resource('src/version.hpp'))
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Build.py", line 577, in install_files
    self.run_task_now(tsk,postpone)
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Build.py", line 558, in run_task_now
    tsk.post()
  File "/users/shijunxiao/ndn-cxx/.waf-1.8.2-a01aa13963437a19e5d8748cf2afd71b/waflib/Build.py", line 436, in post
    for x in self.source:
TypeError: 'NoneType' object is not iterable
Actions

Also available in: Atom PDF