Details
-
Type:
Technical task
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:None
-
Team:SQuaRE
Description
After manually removing the product dependencies, sconsUtils still attempts to import eups.
$ AFW_DIR=. scons
|
scons: Reading SConscript files ...
|
Unable to import eups; guessing flavor
|
Checking who built the CC compiler...error: no result
|
CC is gcc version 4.8.3
|
Checking for C++11 support
|
Checking whether the C++ compiler worksyes
|
C++11 supported with '-std=c++11'
|
Checking for C++ header file tr1/unordered_map... yes
|
Setting up environment to build package 'afw'.
|
Unable to import eups; guessing flavor
|
Could not find EUPS product dir for 'afw'; using /home/vagrant/afw.
|
Doxygen is not setup; skipping documentation build.
|
ImportError: No module named eups:
|
File "/home/vagrant/afw/SConstruct", line 3:
|
scripts.BasicSConstruct("afw")
|
File "/home/vagrant/foo/python/lsst/sconsUtils/scripts.py", line 56:
|
versionModuleName, noCfgFile=noCfgFile)
|
File "/home/vagrant/foo/python/lsst/sconsUtils/scripts.py", line 106:
|
SCons.Script.SConscript(os.path.join(root, "SConscript"))
|
File "/usr/lib/scons/SCons/Script/SConscript.py", line 609:
|
return method(*args, **kw)
|
File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
|
return _SConscript(self.fs, *files, **subst_kw)
|
File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
|
exec _file_ in call_stack[-1].globals
|
File "/home/vagrant/afw/lib/SConscript", line 6:
|
import eups
|
Attachments
Issue Links
- blocks
-
DM-2768 investigate decomposition of stack build into independent packages
- Done
That was a poor description, the offender is `lib/SConscript`.
https://github.com/lsst/afw/blob/master/lib/SConscript#L6-L9
eups is also imported by `src/math/detail/SConscript`
https://github.com/lsst/afw/blob/master/src/math/detail/SConscript#L4-L16