Bug 2908 - waf configure fails if pybindgen_version not found
waf configure fails if pybindgen_version not found
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
ns-3.28
All All
: P3 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-11 16:39 UTC by Tom Henderson
Modified: 2018-04-11 16:46 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2018-04-11 16:39:11 UTC
If pybindgen is not successfully installed and version.py is not created, but pybindgen directory is found by ns-3, './waf configure' will fail with 

ValueError: invalid literal for int() with base 10: ''

The solution is to check for an empty string before trying to use it.
Comment 1 Tom Henderson 2018-04-11 16:46:50 UTC
fixed in 13479:0bad0de9e42a