Build clean objs option generates scons: *** No SConstruct file found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS SDK |
New
|
Undecided
|
Unassigned |
Bug Description
Immediately after a successful download & build of the openwns simulator: using ./playground.py install --flavour=dbg, and before applying any changes to its files, the build process to clean object files generates the message: "scons: *** No SConstruct file found" for each of the project directories and the clean operation fails to remove the object files from the project subdirectories subordinate to the .build parent directory.
A single "SConstruct" file exists in the current ~/myOpenWNS directory. Since the install worked, there must be something about this process' setting of file paths to locate the SConstruct file that's correctly performed during the install but absent/improperly performed by the clean.
Thanks for any insight into the cause of this problem!
Here's the terminal output of the failed clean process:
openwns@
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
Cleaning objects for 'dbg' of /home/openwns/
scons: *** No SConstruct file found.
File "/usr/lib/
A request to rebuild after this failed clean indicates that everything is "up to date" which shouldn't be the case if the clean worked:
openwns@
Executing: scons dbg --warn=
scons: Reading SConscript files ...
-I/usr/
-lpthread -ldl -lutil -lm -lpython2.6
scons: warning: The env.SourceSigna
convert your build to use the env.Decider() method instead.
File "/home/
scons: warning: The env.TargetSigna
convert your build to use the env.Decider() method instead.
File "/home/
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/
scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/home/
File "/home/
Checking for icecc compiler...(cached) no
Checking for C library cppunit... (cached) yes
Checking for C library boost_program_
Checking for C library boost_signals-mt... (cached) yes
Checking for C library boost_date_
Checking for C library boost_filesyste
scons: done reading SConscript files.
scons: Building targets ...
scons: `dbg' is up to date.
scons: `default' is up to date.
scons: done building targets
After running a debugging session to figure out the format of the scons command: "scons -c flavor=dbg static=0", I ran this command in the simulator's root directory, in my case: "~/myOpenWNS", as suggested by the SDK documentation and it successfully removed the"dbg" object/binary files. Although the process warned about not finding a SConstruct in each of the project directories with the message "scons: warning: Ignoring missing SConstruct", it found the SConstruct file located in the root directory. I plan to examine how the "install" command works, as it also reads the SConstruct file from the root director in order to compile the source project files and place them into the object directories.