Project

General

Profile

Bug #851

Problem with Scons

Added by Verguilov, Vassil over 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Tunnell, Christopher
Category:
Code Management
Target version:
Start date:
30 December 2011
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

When there is file called '1' or '2' in the root of MAUS distribution SCons issues the following error:

scons: Reading SConscript files ...
TypeError: File /opt/MAUS/devel/2 found where directory expected.:
File "/opt/MAUS/devel/SConstruct", line 494:
env.Tool('swig', '%s/third_party/swig-2.0.1' % maus_root_dir)
File "/opt/MAUS/devel/third_party/install/lib/python2.7/site-packages/scons-2.1.0.alpha.20110323-py2.7.egg/scons-2.1.0.alpha.20110323/SCons/Environment.py", line 1781:
toolpath = list(map(self._find_toolpath_dir, toolpath))
File "/opt/MAUS/devel/third_party/install/lib/python2.7/site-packages/scons-2.1.0.alpha.20110323-py2.7.egg/scons-2.1.0.alpha.20110323/SCons/Environment.py", line 1774:
return self.fs.Dir(self.subst(tp)).srcnode().abspath
File "/opt/MAUS/devel/third_party/install/lib/python2.7/site-packages/scons-2.1.0.alpha.20110323-py2.7.egg/scons-2.1.0.alpha.20110323/SCons/Node/FS.py", line 1347:
return self._lookup(name, directory, Dir, create)
File "/opt/MAUS/devel/third_party/install/lib/python2.7/site-packages/scons-2.1.0.alpha.20110323-py2.7.egg/scons-2.1.0.alpha.20110323/SCons/Node/FS.py", line 1314:
return root._lookup_abs(p, fsclass, create)
File "/opt/MAUS/devel/third_party/install/lib/python2.7/site-packages/scons-2.1.0.alpha.20110323-py2.7.egg/scons-2.1.0.alpha.20110323/SCons/Node/FS.py", line 2211:
result.diskcheck_match()
File "/opt/MAUS/devel/third_party/install/lib/python2.7/site-packages/scons-2.1.0.alpha.20110323-py2.7.egg/scons-2.1.0.alpha.20110323/SCons/Node/FS.py", line 1500:
"File %s found where directory expected.")
File "/opt/MAUS/devel/third_party/install/lib/python2.7/site-packages/scons-2.1.0.alpha.20110323-py2.7.egg/scons-2.1.0.alpha.20110323/SCons/Node/FS.py", line 384:
return self.func(*args, **kw)
File "/opt/MAUS/devel/third_party/install/lib/python2.7/site-packages/scons-2.1.0.alpha.20110323-py2.7.egg/scons-2.1.0.alpha.20110323/SCons/Node/FS.py", line 405:
raise TypeError(errorfmt % node.abspath)

Reproduce:
cd $MAUS_ROOT_DIR
touch 1 (or touch 2)
scons build

#1

Updated by Rogers, Chris over 9 years ago

  • Assignee changed from Rogers, Chris to Tunnell, Christopher
  • Target version set to Future MAUS release
#2

Updated by Rogers, Chris almost 9 years ago

  • Status changed from Open to Rejected

Wont fix.

Also available in: Atom PDF