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 #1

Updated by Junxiao Shi over 7 years ago

  • Related to Bug #4186: Travis-CI Linux builds broken due to Python version mismatch added
Actions #2

Updated by Davide Pesavento over 7 years ago

  • Related to deleted (Bug #4186: Travis-CI Linux builds broken due to Python version mismatch)
Actions #3

Updated by Junxiao Shi over 7 years ago

  • Related to Bug #4186: Travis-CI Linux builds broken due to Python version mismatch added
Actions #4

Updated by Davide Pesavento over 7 years ago

  • Related to deleted (Bug #4186: Travis-CI Linux builds broken due to Python version mismatch)
Actions #5

Updated by Davide Pesavento over 3 years ago

  • Start date deleted (01/23/2015)

I think I'm seeing a similar bug in NFD's build system when building only the documentation without a prior full build of the project, i.e., when doing ./waf configure && ./waf docs.

Traceback (most recent call last):
  File "/home/runner/work/NFD/NFD/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Runner.py", line 255, in task_status
    return tsk.runnable_status()
  File "/home/runner/work/NFD/NFD/.waf-tools/doxygen.py", line 101, in runnable_status
    self.generator.bld.fatal('Could not find the doxygen input %r' % i)
  File "/home/runner/work/NFD/NFD/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Context.py", line 261, in fatal
    raise self.errors.ConfigurationError(msg,ex=ex)
waflib.Errors.ConfigurationError: Could not find the doxygen input 'build/core/version.hpp'
Actions #6

Updated by Davide Pesavento 12 months ago

  • Tags set to waf
Actions

Also available in: Atom PDF