Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Continuous Integration, stack release
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Team:SQuaRE
Description
We are unable to build on el6/py3 as the scons product's eupspkg.cfg.sh references python2.7. The system python interpreter on el6 is python2.6. If scons is still compatible with 2.6, and we want to support the combination of el6/py3 (???), this could be fixed by changing the interpreter to be python2.
[el6] ***** error: from /build/EupsBuildDir/Linux64/scons-2.5.0.lsst2+1/build.log: |
[el6] ++ debug 'CC='\''cc'\''' |
[el6] ++ [[ 3 -ge 2 ]] |
[el6] ++ echo 'eupspkg.dumpvar (debug): CC='\''cc'\''' |
[el6] eupspkg.dumpvar (debug): CC='cc' |
[el6] + for _VAR in '"$@"' |
[el6] + eval 'debug "CXX='\''$CXX'\''"' |
[el6] ++ debug 'CXX='\''c++'\''' |
[el6] ++ [[ 3 -ge 2 ]] |
[el6] ++ echo 'eupspkg.dumpvar (debug): CXX='\''c++'\''' |
[el6] eupspkg.dumpvar (debug): CXX='c++' |
[el6] + for _VAR in '"$@"' |
[el6] + eval 'debug "SCONSFLAGS='\''$SCONSFLAGS'\''"' |
[el6] ++ debug 'SCONSFLAGS='\''opt=3'\''' |
[el6] ++ [[ 3 -ge 2 ]] |
[el6] ++ echo 'eupspkg.dumpvar (debug): SCONSFLAGS='\''opt=3'\''' |
[el6] eupspkg.dumpvar (debug): SCONSFLAGS='opt=3' |
[el6] + build
|
[el6] + python2.7 setup.py build |
[el6] /build/EupsBuildDir/Linux64/scons-2.5.0.lsst2+1/scons-2.5.0.lsst2+1/ups/eupspkg.cfg.sh: line 5: python2.7: command not found |
[el6] + exit -4 |
[el6] eups distrib: Failed to build scons-2.5.0.lsst2+1.eupspkg: Command: |
[el6] source "/build/eups/bin/setups.sh"; export EUPS_PATH="/build"; (/build/EupsBuildDir/Linux64/scons-2.5.0.lsst2+1/build.sh) >> /build/EupsBuildDir/Linux64/scons-2.5.0.lsst2+1/build.log 2>&1 4>/build/EupsBuildDir/Linux64/scons-2.5.0.lsst2+1/build.msg |
[el6] exited with code 252 |
[el6] Removing lockfile /build/.lockDir/exclusive-root.631 |
Attachments
Issue Links
- is blocked by
-
DM-8560 Update Scons package to v3.0
- Done
I endorse replacing the -6.py2 Jenkins build with a -6.py3 one. No point having two py2 builds. Only need one on centos7 to ensure we aren't breaking things.