#15548: Do not always rebuild sage/csage
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_work
Priority: critical | Milestone: sage-6.1
Component: build | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers: R. Andrew Ohana
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/15548 | 7d0dcfa2c2e38548b619b4fa9ac91806df7e838c
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
This apparently fails on older shells, e.g. redhawk (full log:
http://build.sagemath.org/sage/builders/%20%20fast%20UW%20redhawk%20%28Ubuntu%2010.04%20x86_64%29%20full/builds/8/steps/compile_1/logs/stdio).
Here I restarted the failed build. There was no csage log created, for the
record:
{{{
buildbot@redhawk build$ make
cd build && \
"../build/pipestatus" \
"env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \
"tee -a ../logs/install.log"
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
CPATH=/home/buildbot/local/redhawk/include
HOME=/home/buildbot
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/home/buildbot/local/redhawk/lib
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSHISTFILE=-
LESS=iMqR
LESSOPEN=| /usr/bin/lesspipe %s
LIBRARY_PATH=/home/buildbot/local/redhawk/lib
LOGNAME=buildbot
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MAIL=/var/mail/buildbot
MAKEFLAGS=
MAKELEVEL=1
MAKE=make
MFLAGS=
PAGER=less
PATH=/scratch/buildbot/sage/redhawk-1/sage_git/build/src/bin:/scratch/buildbot/sage/redhawk-1/sage_git/build/local/bin:/home/buildbot/local/redhawk/bin:/home/buildbot/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/home/buildbot/build/sage/redhawk/sage_git/build/build
PYTHONHOME=/home/buildbot/local/redhawk
PYTHONPATH=/scratch/buildbot/sage/redhawk-1/sage_git/build/local
SAGE_EXTCODE=/scratch/buildbot/sage/redhawk-1/sage_git/build/local/share/sage/ext
SAGE_LOCAL=/scratch/buildbot/sage/redhawk-1/sage_git/build/local
SAGE_LOGS=/scratch/buildbot/sage/redhawk-1/sage_git/build/logs/pkgs
SAGE_PARALLEL_SPKG_BUILD=
SAGE_ROOT=/scratch/buildbot/sage/redhawk-1/sage_git/build
SAGE_SPKG_INST=/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed
SAGE_SRC=/scratch/buildbot/sage/redhawk-1/sage_git/build/src
SAGE_VERSION=6.1.beta0
SHELL=/bin/bash
SHLVL=3
SSH_CLIENT=128.208.160.197 52351 22
SSH_CONNECTION=128.208.160.197 52351 128.208.160.203 22
SSH_TTY=/dev/pts/0
TERM=xterm-256color
USER=buildbot
_=/usr/bin/env
XDG_SESSION_COOKIE=76a94a017120dca0d9a185f04bf17eba-1387588098.556410-1913488482
***********************************************
make[1]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make base
make[2]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make[2]: Nothing to be done for `base'.
make[2]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
env SAGE_BUILD_TOOLCHAIN=yes make toolchain
make[2]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make[2]: Nothing to be done for `toolchain'.
make[2]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make toolchain-deps
make[2]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make
/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/zlib-1.2.8.p0
make[3]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make[3]:
`/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/zlib-1.2.8.p0'
is up to date.
make[3]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make
/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/mpir-2.6.0.p3
make[3]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make[3]:
`/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/mpir-2.6.0.p3'
is up to date.
make[3]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make
/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/mpfr-3.1.2.p0
make[3]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make[3]:
`/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/mpfr-3.1.2.p0'
is up to date.
make[3]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make
/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/mpc-1.0.p0
make[3]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make[3]:
`/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/mpc-1.0.p0'
is up to date.
make[3]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make
/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/ppl-1.1pre9.p0
make[3]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make[3]:
`/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/ppl-1.1pre9.p0'
is up to date.
make[3]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make[2]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make all-sage
make[2]: Entering directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
if [ -z "$SAGE_INSTALL_FETCH_ONLY" ]; then \
cd /scratch/buildbot/sage/redhawk-1/sage_git/build/src &&
. bin/sage-env && cd c_lib && \
/scratch/buildbot/sage/redhawk-1/sage_git/build/build/pipestatus 'time
scons -Q install 2>&1' 'tee -a
/scratch/buildbot/sage/redhawk-1/sage_git/build/logs/pkgs/csage-6.1.beta0.log'
&& \
touch
/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/csage;
\
fi
bin/sage-env: 354: Bad substitution
bin/sage-env: 616: Syntax error: "(" unexpected
make[2]: ***
[/scratch/buildbot/sage/redhawk-1/sage_git/build/local/var/lib/sage/installed/csage]
Error 2
make[2]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/scratch/buildbot/sage/redhawk-1/sage_git/build/build'
real 0m0.227s
user 0m0.270s
sys 0m0.080s
***************************************************************
Error building Sage.
The following package(s) may have failed to build:
The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
make: *** [build] Error 1
buildbot@redhawk build$ ./sage -sh
Starting subshell with Sage environment variables set. Don't forget
to exit when you are done. Beware:
* Do not do anything with other copies of Sage on your system.
* Do not use this for installing Sage packages using "sage -i" or for
running "make" at Sage's root directory. These should be done
outside the Sage shell.
Bypassing shell configuration files...
Note: SAGE_ROOT=/scratch/buildbot/sage/redhawk-1/sage_git/build
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15548#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.