Build status

From Apertium
Revision as of 20:03, 26 October 2011 by Unhammer (talk | contribs)
Jump to navigation Jump to search

Current build status:

2011-10-26 16:10:53 
At revision 34604. 
apertium-br-fr configured, compiled and installed. 
apertium-ca-it configured, compiled and installed. 
apertium-cy-en configured, compiled and installed. 
apertium-en-ca configured, compiled and installed. 
apertium-en-es configured, compiled and installed. 
apertium-en-gl configured, compiled and installed. 
apertium-eo-ca configured, compiled and installed. 
apertium-eo-en configured, compiled and installed. 
apertium-eo-es configured, compiled and installed. 
apertium-eo-fr configured, compiled and installed. 
apertium-es-an configured, compiled and installed. 
apertium-es-ca configured, compiled and installed. 
apertium-es-gl configured, compiled and installed. 
apertium-es-it configured, compiled and installed. 
apertium-es-pt configured, compiled and installed. 
apertium-es-ro configured, compiled and installed. 
apertium-eu-es configured, compiled and installed. 
apertium-fr-ca configured, compiled and installed. 
apertium-fr-es configured, compiled and installed. 
apertium-is-en configured, compiled and installed. 
apertium-mk-bg configured, compiled and installed. 
apertium-mk-en configured, compiled and installed. 
apertium-nn-nb configured, compiled and installed. 
apertium-oc-ca configured, compiled and installed. 
apertium-oc-es configured, compiled and installed. 
apertium-pt-ca configured, compiled and installed. 
apertium-pt-gl configured, compiled and installed. 
apertium-sh-mk configured, compiled and installed. 
apertium-sv-da configured, but did NOT compile. 
make  all-am
make[1]: Entering directory `/home/kiwibird/src/apertium/trunk/apertium-sv-da'
apertium-validate-dictionary apertium-sv-da.sv-da.dix
apertium-validate-dictionary apertium-sv-da.sv-da.dix
lt-comp lr apertium-sv-da.sv-da.dix sv-da.autobil.bin
lt-comp rl apertium-sv-da.sv-da.dix da-sv.autobil.bin
Error: Invalid section main@standard (hint: the left side of an entry is empty)Error: Invalid section main@standard (hint: the left side of an entry is empty)

make[1]: *** [da-sv.autobil.bin] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [sv-da.autobil.bin] Error 1
make[1]: Leaving directory `/home/kiwibird/src/apertium/trunk/apertium-sv-da'
make: *** [all] Error 2
apertium-tr-az configured, compiled and installed. 
apertium-tr-ky configured, compiled and installed. 
apertium-es-ast configured, compiled and installed. 


Script to build pairs:

#!/bin/bash

LOG=/tmp/apertium-build.log

[ "$1" = "-v" ] && VERBOSE=true || VERBOSE=false
vcho () { $VERBOSE && echo $@ ""; true; }
vcho-log () { vcho $@; echo $@ "" >> "$LOG"; true; }
cat-log () { cat $@; cat $@ >> "$LOG"; true; }

vcho-log `date '+%Y-%m-%d %H:%m:%S'`

OUT=$(mktemp -t apertium-compilation.output.XXXXXX)

pushd ~/src/apertium/trunk >/dev/null

vcho "- svn up"
REV=$(svn up)
vcho-log "$REV"

for d in apertium-??-?? apertium-es-ast; do
    pushd "$d" >/dev/null
    ( sh autogen.sh &> "$OUT" && vcho -n "$d configured" || ( cat "$OUT"; false ) ) &&
    ( make -j3 &> "$OUT" && vcho "and compiled." || ( cat "$OUT"; false ) ) ||
    ( echo "in $d" && echo "" )
    vcho ""
    popd >/dev/null
done

# Install after everything is made; sudo is required and it remembers
# password for N seconds. So if everything is made already, it's less
# likely I have to keep typing it in:
for d in apertium-??-?? apertium-es-ast; do
    pushd "$d" >/dev/null
    ( sh autogen.sh &> "$OUT" && vcho-log -n "$d configured,"  || ( vcho-log "$d did NOT configure."; cat-log "$OUT"; false ) ) &&
    ( make -j3 &> "$OUT" && vcho-log -n "compiled"   || ( vcho-log "but did NOT compile."; cat-log "$OUT"; false ) ) &&
    ( sudo make install &> "$OUT" && vcho-log "and installed." || ( vcho-log "but did NOT install."; cat-log "$OUT"; false ) ) ||
    ( echo "in $d" && echo "" )
    vcho ""
    popd >/dev/null
done

rm -f "$OUT"

popd >/dev/null