[Ns-developers] Fwd: [Ns-commits] Output of run-tests script: failure
Gustavo Carneiro
gjcarneiro at gmail.com
Wed May 20 06:44:23 PDT 2009
---------- Forwarded message ----------
From: Gustavo Carneiro <gjcarneiro at gmail.com>
Date: 2009/5/20
Subject: Re: [Ns-commits] Output of run-tests script: failure
To: tomhend at u.washington.edu
Cc: ns-commits at isi.edu
2009/5/20 <tomhend at u.washington.edu>
Wed May 20 02:50:10 PDT 2009
>
> download.py success
> Regression testing for machine: ns-regression
> Linux 2.6.24-19-server x86_64
> g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
> -----------------------------
> FAILURE: waf -d debug configure; building failed on ns-3-dev
>
> Configure stderr:
> Checking for program g++ : ok /usr/bin/g++
> Checking for program cpp : ok /usr/bin/cpp
> Checking for program ar : ok /usr/bin/ar
> Checking for program ranlib : ok /usr/bin/ranlib
> Checking for g++ : ok
> Checking for program pkg-config : ok /usr/bin/pkg-config
> Checking for regression traces location : ok ../ns-3-dev-ref-traces
> (given)
> Checking for -Wno-error=deprecated-declarations support : yes
> Checking for -Wl,--soname=foo support : yes
> Checking for header stdlib.h : ok
> Checking for header signal.h : ok
> Checking for header pthread.h : ok
> Checking for high precision time implementation : 128-bit integer
> Checking for header stdint.h : ok
> Checking for header inttypes.h : ok
> Checking for header sys/inttypes.h : not found
> Checking for library rt : ok
> Checking for header netpacket/packet.h : ok
> Checking for header linux/if_tun.h : ok
> Checking for pkg-config flags for GTK_CONFIG_STORE : ok
> Checking for pkg-config flags for LIBXML2 : ok
> Checking for library sqlite3 : ok
> Checking for NSC location : ok ../nsc (given)
> Checking for library dl : ok
> Checking for NSC supported architecture x86_64 : ok
> Package goocanvas was not found in the pkg-config search path.
> Perhaps you should add the directory containing `goocanvas.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'goocanvas' found
> Checking for pkg-config flags for MOBILITY_VISUALIZER : not found
> Checking for program python : ok
> /usr/bin/python
> Checking for Python version >= 2.3 : ok 2.5.2
> Checking for library python2.5 : ok
> Checking for program python2.5-config : ok
> /usr/bin/python2.5-config
> Checking for header Python.h : ok
> Checking for -fvisibility=hidden support : yes
> Checking for pybindgen location : ok ../pybindgen
> (given)
> Checking for Python module pybindgen : ok
> Checking for pybindgen version : ok 0.10.0.630
> Checking for Python module pygccxml : ok
> Checking for pygccxml version : ok 0.9.5
> Checking for program gccxml : ok
> /usr/bin/gccxml
> Checking for gccxml version : ok 0.7.0
> gccxml too old, need version >= 0.9; automatic scanning of API definitions
> will not be possible
> Checking for program sudo : ok /usr/bin/sudo
> Checking for program hg : ok /usr/bin/hg
> Checking for program valgrind : ok
> /usr/bin/valgrind
> 'configure' finished successfully (2.617s)
>
> Build stderr:
> Waf: Entering directory
> `/tmp/ns-commits/tests/tmp/ns-3-allinone/ns-3-dev/build'
> [233/677] command (${PYTHON}): bindings/python/ns3modulegen.py
> bindings/python/ns3modulegen_generated.py
> bindings/python/ns3modulegen_core_customizations.py
> bindings/python/ns3_module_mobility.py
> bindings/python/ns3_module_point_to_point.py
> bindings/python/ns3_module_packet_sink.py
> bindings/python/ns3_module_v4ping.py bindings/python/ns3_module_csma.py
> bindings/python/ns3_module_stats.py bindings/python/ns3_module_node.py
> bindings/python/ns3_module_bridge.py bindings/python/ns3_module_core.py
> bindings/python/ns3_module_emu.py bindings/python/ns3_module_helper.py
> bindings/python/ns3_module_common.py bindings/python/ns3_module_simulator.py
> bindings/python/ns3_module_tap_bridge.py
> bindings/python/ns3_module_udp_echo.py
> bindings/python/ns3_module_global_routing.py
> bindings/python/ns3_module_contrib.py
> bindings/python/ns3_module_internet_stack.py
> bindings/python/ns3_module_olsr.py bindings/python/ns3_module_wifi.py
> bindings/python/ns3_module_onoff.py -> build/debug/bindings/pytho!
> n/ns3module.cc build/debug/bindings/python/ns3module.h
> build/debug/bindings/python/ns3modulegen.log
> build/debug/bindings/python/ns3_module_mobility.cc
> build/debug/bindings/python/ns3_module_point_to_point.cc
> build/debug/bindings/python/ns3_module_packet_sink.cc
> build/debug/bindings/python/ns3_module_v4ping.cc
> build/debug/bindings/python/ns3_module_csma.cc
> build/debug/bindings/python/ns3_module_stats.cc
> build/debug/bindings/python/ns3_module_node.cc
> build/debug/bindings/python/ns3_module_bridge.cc
> build/debug/bindings/python/ns3_module_core.cc
> build/debug/bindings/python/ns3_module_emu.cc
> build/debug/bindings/python/ns3_module_helper.cc
> build/debug/bindings/python/ns3_module_common.cc
> build/debug/bindings/python/ns3_module_simulator.cc
> build/debug/bindings/python/ns3_module_tap_bridge.cc
> build/debug/bindings/python/ns3_module_udp_echo.cc
> build/debug/bindings/python/ns3_module_global_routing.cc
> build/debug/bindings/python/ns3_module_contrib.cc
> build/debug/bindings/python/ns3_!
> module_internet_stack.cc build/debug/bindings/python/ns3_modul!
> e_olsr.cc build/debug/bindings/python/ns3_module_wifi.cc
> build/debug/bindings/python/ns3_module_onoff.cc
> Waf: Leaving directory
> `/tmp/ns-commits/tests/tmp/ns-3-allinone/ns-3-dev/build'
> Build failed
> -> task failed (err #1):
> {task: command_task
> ns3modulegen.py,ns3modulegen_generated.py,ns3modulegen_core_customizations.py,ns3_module_mobility.py,ns3_module_point_to_point.py,ns3_module_packet_sink.py,ns3_module_v4ping.py,ns3_module_csma.py,ns3_module_stats.py,ns3_module_node.py,ns3_module_bridge.py,ns3_module_core.py,ns3_module_emu.py,ns3_module_helper.py,ns3_module_common.py,ns3_module_simulator.py,ns3_module_tap_bridge.py,ns3_module_udp_echo.py,ns3_module_global_routing.py,ns3_module_contrib.py,ns3_module_internet_stack.py,ns3_module_olsr.py,ns3_module_wifi.py,ns3_module_onoff.py
> ->
> ns3module.cc,ns3module.h,ns3modulegen.log,ns3_module_mobility.cc,ns3_module_point_to_point.cc,ns3_module_packet_sink.cc,ns3_module_v4ping.cc,ns3_module_csma.cc,ns3_module_stats.cc,ns3_module_node.cc,ns3_module_bridge.cc,ns3_module_core.cc,ns3_module_emu.cc,ns3_module_helper.cc,ns3_module_common.cc,ns3_module_simulator.cc,ns3_module_tap_bridge.cc,ns3_module_udp_echo.cc,ns3_module_global_routing.cc,ns3_module_contrib.c!
>
> c,ns3_module_internet_stack.cc,ns3_module_olsr.cc,ns3_module_wifi.cc,ns3_module_onoff.cc}
>
> ns3modulegen.log:
> /tmp/ns-commits/tests/tmp/ns-3-allinone/ns-3-dev/bindings/python/ns3modulegen_core_customizations.py:69:
> DeprecationWarning: Typo: set_tranformation -> set_transformation
> handler.set_tranformation(self, orig_ctype)
> Traceback (most recent call last):
> File "../bindings/python/ns3modulegen.py", line 164, in <module>
> main()
> File "../bindings/python/ns3modulegen.py", line 84, in main
> register_types(root_module)
> File
> "/tmp/ns-commits/tests/tmp/ns-3-allinone/ns-3-dev/bindings/python/ns3modulegen_generated.py",
> line 56, in register_types
> ns3_module_simulator.register_types(module)
> File
> "/tmp/ns-commits/tests/tmp/ns-3-allinone/ns-3-dev/bindings/python/ns3_module_simulator.py",
> line 64, in register_types
> typehandlers.add_type_alias('ns3::TimeUnit< 2 >', 'ns3::TimeSquare')
> AttributeError: 'module' object has no attribute 'add_type_alias'
>
> Stopping regression tests
> _______________________________________________
>
OK, I think I know what is wrong. Someone scanned Python bindings using a
more recent version of PyBindGen, but ns-3 downloads an older version of
PyBindGen that does not have the 'add_type_alias' function that the scanning
process generated.
So, whoever scanned this, either downgrade PyBindGen to the version that the
allinone/download.py script downloads, or else increase the ns-3 required
pybindgen version (see bindings/python/wscript, variable
REQUIRED_PYBINDGEN_VERSION). I am fine either way.
--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers
mailing list