Bug 1121

Summary: Build failed: Missing node signature
Product: ns-3 Reporter: Nicola Baldo <nicola>
Component: build systemAssignee: Mitch Watrous <watrous>
Status: RESOLVED INVALID    
Severity: normal CC: nicola, tomh
Priority: P1    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: workaround

Description Nicola Baldo 2011-05-03 05:03:20 UTC
./waf distclean
./waf configure --enable-tests --enable-modules=spectrum
./waf

[snip]
Waf: Leaving directory `/home/nicola/locale/ns-3-dev/build'
Build failed: Missing node signature for [bld:///home/nicola/locale/ns-3-dev/ns3/point-to-point-module.h] (for implicit dependencies 
	{task: cxx config-store-file-bug.cc -> config-store-file-bug_2.o})

I guess this is a dependency problem, trying to sort it out
Comment 1 Nicola Baldo 2011-05-03 05:12:30 UTC
I checked the Spectrum code but I could not find any dependency on neither the point-to-point module nor the ConfigStore (both are mentioned in the error message). 

Maybe a bug in the modular build system?
Comment 2 Nicola Baldo 2011-05-03 05:25:38 UTC
works with the following:
./waf configure --enable-tests --enable-modules=spectrum,point-to-point

but I really can't find why spectrum should depend on the point-to-point module...
Comment 3 Nicola Baldo 2011-05-03 06:39:11 UTC
Created attachment 1103 [details]
workaround

this patch adds to the spectrum module a dependency on the point-to-point module.
Comment 4 Nicola Baldo 2011-05-03 06:41:48 UTC
raising to P1 since I think we should really fix it before the release.

Somebody please tell me if the workaround shall be pushed or something else should be done.
Comment 5 Tom Henderson 2011-05-03 11:07:54 UTC
(In reply to comment #4)
> raising to P1 since I think we should really fix it before the release.
> 
> Somebody please tell me if the workaround shall be pushed or something else
> should be done.

I can't reproduce this.  I just tried this on the tip of ns-3-dev 058f6ecace0c
./waf configure --enable-modules=spectrum --enable-tests

and I got:

Modules built:
applications              bridge                    config-store             
core                      internet                  mobility                 
mpi                       network                   propagation              
spectrum                  tools

but no point-to-point.

spectrum pulls in internet, propagation, applications

internet pulls in bridge, mpi, network, core

applications pulls in config-store and tools             

propagation pulls in mobility, so I think they are all accounted for.

I just repeated after a distclean.
Comment 6 Nicola Baldo 2011-05-03 13:00:40 UTC
sorry, my fault... I didn't realize I had a bogus file in scratch/
I confirm that it works correctly with 7124:058f6ecace0c
my apologies for the noise