[Pkg-netsim-devel] Bug#643671: ns3: FTBFS on kfreebsd-amd64: error: "NS_TEST_SOURCEDIR" redefined [-Werror]

Jakub Wilk jwilk at debian.org
Wed Sep 28 14:50:14 UTC 2011


Source: ns3
Version: 3.12.1+dfsg1-4
Severity: serious
Justification: fails to build from source

ns3 failed to build from source on kfreebsd-amd64:
| [ 628/1196] cxx: src/network/model/address.cc -> build/debug/src/network/model/address_59.o
| <command-line>:0:0: error: "NS_TEST_SOURCEDIR" redefined [-Werror]
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: error: "NS_TEST_SOURCEDIR" redefined [-Werror]
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: error: "NS_TEST_SOURCEDIR" redefined [-Werror]
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: error: "NS_TEST_SOURCEDIR" redefined [-Werror]
| <command-line>:0:0: note: this is the location of the previous definition
| [ 629/1196] cxx: src/network/model/application.cc -> build/debug/src/network/model/application_60.o
| <command-line>:0:0: error: "NS_TEST_SOURCEDIR" redefined [-Werror]
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: error: "NS_TEST_SOURCEDIR" redefined [-Werror]
| <command-line>:0:0: note: this is the location of the previous definition
| [ 630/1196] cxx: src/network/model/buffer.cc -> build/debug/src/network/model/buffer_61.o
| <command-line>:0:0: error: "NS_TEST_SOURCEDIR" redefined [-Werror]
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: error: "NS_TEST_SOURCEDIR" redefined [-Werror]
| <command-line>:0:0: note: this is the location of the previous definition
| cc1plus: all warnings being treated as errors
|
| cc1plus: all warnings being treated as errors
|
| cc1plus: all warnings being treated as errors
|
| cc1plus: all warnings being treated as errors
|
| Waf: Leaving directory `/build/buildd-ns3_3.12.1+dfsg1-4-kfreebsd-amd64-IzWf43/ns3-3.12.1+dfsg1/ns-3.12.1/build'
| Build failed:
|  -> task failed (err #1):
| 	{task: cxx address.cc -> address_59.o}
|  -> task failed (err #1):
| 	{task: cxx buffer.cc -> buffer_61.o}
|  -> task failed (err #1):
| 	{task: cxx trace-helper.cc -> trace-helper_58.o}
|  -> task failed (err #1):
| 	{task: cxx application.cc -> application_60.o}
| Traceback (most recent call last):
|   File "./build.py", line 147, in <module>
| # Build NSC
| Entering directory `nsc-0.5.2'
|  =>  /usr/bin/python scons.py
| # Build NSC: failure (ignoring NSC)
| Leaving directory `nsc-0.5.2'
| # Build NS-3
| Entering directory `./ns-3.12.1'
| Note: configuring ns-3 without NSC
|     sys.exit(main(sys.argv))
|  =>  /usr/bin/python waf configure --prefix=/usr --enable-static --enable-mpi --with-pybindgen ../pybindgen-0.15.0.795
|  =>  /usr/bin/python waf build
|   File "./build.py", line 138, in main
|     build_ns3(config, build_examples, build_tests, args, build_options)
|   File "./build.py", line 61, in build_ns3
|     run_command([sys.executable, "waf", "build"] + build_options)
|   File "/build/buildd-ns3_3.12.1+dfsg1-4-kfreebsd-amd64-IzWf43/ns3-3.12.1+dfsg1/util.py", line 24, in run_command
|     raise CommandError("Command %r exited with code %i" % (argv, retval))
| util.CommandError: Command ['/usr/bin/python', 'waf', 'build'] exited with code 1
| make[1]: *** [override_dh_auto_build] Error 1

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=ns3&arch=kfreebsd-amd64&ver=3.12.1%2Bdfsg1-4&stamp=1317163419

-- 
Jakub Wilk





More information about the Pkg-netsim-devel mailing list