Bug 2160

Summary: Waf Fails to recognize pygccxml version 1.6.2
Product: dce Reporter: Matías Richart <matis18>
Component: otherAssignee: Hajime Tazaki <tazaki>
Severity: major CC: ns-bugs
Priority: P5    
Version: unspecified   
Hardware: PC   
OS: Linux   

Description Matías Richart 2015-07-21 15:33:57 EDT
The same bug reported here for ns-3 is happening in dce https://www.nsnam.org/bugzilla/show_bug.cgi?id=2013.

A simple patch:
--- a/bindings/python/wscript
+++ b/bindings/python/wscript
@@ -269,6 +269,7 @@ int main ()
                             "import pygccxml; print pygccxml.__version__"],
     pygccxml_version_str = out.strip()
+    pygccxml_version_str = pygccxml_version_str.lstrip('v')
     pygccxml_version = tuple([int(x) for x in pygccxml_version_str.split('.')])
     conf.msg('Checking for pygccxml version', pygccxml_version_str)
     if not (pygccxml_version >= REQUIRED_PYGCCXML_VERSION):
Comment 1 Hajime Tazaki 2015-08-05 20:12:33 EDT
thanks for the report. applied a fix in 94504bca3547.