Build failed in Jenkins: TEIP5-Documentation-dev #2320
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes:
[raffaeleviglianti] Added dataFacet to allow the full range of datatype facets from XML
[raffaeleviglianti] Added schematron rule to prevent using `@restriction` and dataFacet at
[noreply] Update dataFacet.xml
[raffaeleviglianti] Added explanation for the use of new element dataFacet. Fixes #1473
[philomousos] Making content optional for content.
[philomousos] Fixed dataFacet examples.
------------------------------------------
Started by upstream project "TEIP5-Test-dev" build number 3078
originally caused by:
Started by upstream project "Stylesheets-dev" build number 2063
originally caused by:
Started by an SCM change
Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/TEIC/TEI.git # timeout=10
Fetching upstream changes from https://github.com/TEIC/TEI.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/TEIC/TEI.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10
Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c
> git rev-list ee5c6b8b2879b4d6c51c6c594dddeb3a347b3e68 # timeout=10
[workspace] $ /bin/bash -xe /tmp/hudson3901816794325478252.sh
+ svn update
Skipped '.'
Summary of conflicts:
Skipped paths: 1
[workspace] $ /bin/bash -xe /tmp/hudson8787157599210932966.sh
+ cd P5
++ pwd
+ make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> clean html-web epub3 Guidelines.pdf
(cd Exemplars; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak
rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix*
mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl
rm -f exnames.xml
rm -f enrich.rng isofs.rng
rm -f names.xml *properties
rm -f [A-Z]*xml
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
(cd Test; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch
rm -rf LOG *~ *.xsd Schema RomaResults DTD
rm -rf *.doc.*
rm -f detest.log detest.log.all
rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd
rm -f detest.rnc detest.rng detest.dtd detest.isosch
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
rm -rf release Guidelines Guidelines-web Schema DTD dtd Split
rm -rf Guidelines.??? Guidelines-*
rm -f *.isosch.xsl
rm -f *.stamp
rm -f *.xsd
rm -f Exemplars/stdout
rm -f Test/*.isosch
rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl
rm -f Test/stdout
rm -f Utilities/guidelines.xsl
rm -f anything buildweb.xml
rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js
rm -f p5attlist.txt
rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch
rm -f pdfbuild.log
rm -f stripspace.xsl.model
rm -f tei-*.zip
rm -f tei-p5-*_*build
rm -f tei-p5-*_*changes
rm -f tei-p5-*_*deb
rm -f teiwebsiteguidelines.zip
rm -rf FASC-*
rm -rf catalogue.* modList
rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml
Checking you have running XML tools and Perl before trying to run transform...
Ant:/usr/bin/ant
Perl:/usr/bin/perl
Java:/usr/bin/java
xmllint:/usr/bin/xmllint
touch check.stamp
get latest date:
VCS is git
if [ "git" = "svn" ] ; \
then \
if [ true = "true" ] ; \
then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 ; \
else svn info --xml ; \
fi > repodate.xml ; \
fi
if [ git = "git" ] ; \
then \
git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \
fi
BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> -DDRIVER=Source/guidelines-en.xml base subset outputs
[echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files
[echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> for XSL stylesheets
[echo] Do ODD processing for p5odds.odd
[echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL
Total time: 43 seconds
BUILD: Generate modular RELAX NG (compact) schemas using trang
(cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done)
touch schemas.stamp
BUILD: Making HTML Guidelines for language en
rm -rf Guidelines-web
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
Utilities/guidelines.xsl.model > Utilities/guidelines.xsl
if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi
for i in en ;do \
mkdir -p Guidelines-web/$i/html; \
cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \
(cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\
(cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \
done
echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \
> buildweb.xml
for i in en ;do \
echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \
done
echo '</target></project>' >> buildweb.xml
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics=
[echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL
Total time: 55 seconds
# commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml
touch html-web.stamp
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/epub3/build-to.xml> -lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL
Total time: 57 seconds
java -jar Utilities/epubcheck3.jar Guidelines.epub
Epubcheck Version 3.0.1
Validating against EPUB version 3.0
No errors or warnings detected.
check if XeLaTeX exist
/usr/bin/xelatex
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl
BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX
Make sure you have Junicode, Arphic and Mincho fonts installed
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> -DXELATEX=xelatex pdfonce
[echo] make LaTeX and PDF
BUILD FAILED
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>:158: exec returned: 1
Total time: 1 minute 26 seconds
make: *** [Guidelines.pdf] Error 1
Build step 'Execute shell' marked build as failure
Does anyone know why the pdf generation is complaining? I made a change in
the guidelines (TD) that I thought was innocuous. Indeed, I reverted and
ran `make pdf` locally and it still broke. 😥
Could it have anything to do with the fact that I added a new element? I
also added a reference to it at the top of TD that's essential to get the
element in the compiled P5 odd:
<include xmlns="http://www.w3.org/2001/XInclude"
href="../../Specs/dataFacet.xml"/>
Thoughts?
On Mon, Nov 21, 2016 at 1:45 PM, Victoria TEI Jenkins <council@tei-c.org>
wrote:
> http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes:
>
> [raffaeleviglianti] Added dataFacet to allow the full range of datatype
> facets from XML
>
> [raffaeleviglianti] Added schematron rule to prevent using `@restriction`
> and dataFacet at
>
> [noreply] Update dataFacet.xml
>
> [raffaeleviglianti] Added explanation for the use of new element
> dataFacet. Fixes #1473
>
> [philomousos] Making content optional for content.
>
> [philomousos] Fixed dataFacet examples.
>
> ------------------------------------------
> Started by upstream project "TEIP5-Test-dev" build number 3078
> originally caused by:
> Started by upstream project "Stylesheets-dev" build number 2063
> originally caused by:
> Started by an SCM change
> Building in workspace <http://teijenkins.hcmc.uvic.c
> a/job/TEIP5-Documentation-dev/ws/>
> > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
> > git config remote.origin.url https://github.com/TEIC/TEI.git #
> timeout=10
> Fetching upstream changes from https://github.com/TEIC/TEI.git
> > git --version # timeout=10
> > git fetch --tags --progress https://github.com/TEIC/TEI.git
> +refs/heads/*:refs/remotes/origin/*
> > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
> > git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10
> Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c
> (refs/remotes/origin/dev)
> > git config core.sparsecheckout # timeout=10
> > git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c
> > git rev-list ee5c6b8b2879b4d6c51c6c594dddeb3a347b3e68 # timeout=10
> [workspace] $ /bin/bash -xe /tmp/hudson3901816794325478252.sh
> + svn update
> Skipped '.'
> Summary of conflicts:
> Skipped paths: 1
> [workspace] $ /bin/bash -xe /tmp/hudson8787157599210932966.sh
> + cd P5
> ++ pwd
> + make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uv
> ic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../
> Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> clean
> html-web epub3 Guidelines.pdf
> (cd Exemplars; make clean)
> make[1]: Entering directory `<http://teijenkins.hcmc.uvic.
> ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
> mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak
> rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled*
> *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix*
> mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl
> rm -f exnames.xml
> rm -f enrich.rng isofs.rng
> rm -f names.xml *properties
> rm -f [A-Z]*xml
> make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.
> ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
> (cd Test; make clean)
> make[1]: Entering directory `<http://teijenkins.hcmc.uvic.
> ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
> rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd
> test*.rnc test*.rng test*.xsl test*.isosch
> rm -rf LOG *~ *.xsd Schema RomaResults DTD
> rm -rf *.doc.*
> rm -f detest.log detest.log.all
> rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd
> rm -f detest.rnc detest.rng detest.dtd detest.isosch
> make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.
> ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
> rm -rf release Guidelines Guidelines-web Schema DTD dtd Split
> rm -rf Guidelines.??? Guidelines-*
> rm -f *.isosch.xsl
> rm -f *.stamp
> rm -f *.xsd
> rm -f Exemplars/stdout
> rm -f Test/*.isosch
> rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl
> rm -f Test/stdout
> rm -f Utilities/guidelines.xsl
> rm -f anything buildweb.xml
> rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js
> rm -f p5attlist.txt
> rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc
> p5odds.isosch
> rm -f pdfbuild.log
> rm -f stripspace.xsl.model
> rm -f tei-*.zip
> rm -f tei-p5-*_*build
> rm -f tei-p5-*_*changes
> rm -f tei-p5-*_*deb
> rm -f teiwebsiteguidelines.zip
> rm -rf FASC-*
> rm -rf catalogue.* modList
> rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl
> graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml
> Checking you have running XML tools and Perl before trying to run
> transform...
> Ant:/usr/bin/ant
> Perl:/usr/bin/perl
> Java:/usr/bin/java
> xmllint:/usr/bin/xmllint
> touch check.stamp
> get latest date:
> VCS is git
> if [ "git" = "svn" ] ; \
> then \
> if [ true = "true" ] ; \
> then svn info --xml svn://svn.code.sf.net/p/tei/co
> de/trunk/P5 ; \
> else svn info --xml ; \
> fi > repodate.xml ; \
> fi
> if [ git = "git" ] ; \
> then \
> git log --max-count=1 --pretty=format:"<info
> type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>"
> > repodate.xml ; \
> fi
> BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs
> ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib
> Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml
> -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentatio
> n-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/
> stylesheet> -DDRIVER=Source/guidelines-en.xml base subset outputs
> [echo] make modular DTDs, RELAXNG schemas, json, odd schemas,
> schematron files
> [echo] Using <http://teijenkins.hcmc.uvic.c
> a/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-
> dev/lastSuccessful/archive/dist/xml/tei/stylesheet> for XSL stylesheets
> [echo] Do ODD processing for p5odds.odd
> [echo] Do ODD processing for p5odds-examples.odd
>
> BUILD SUCCESSFUL
> Total time: 43 seconds
> BUILD: Generate modular RELAX NG (compact) schemas using trang
> (cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i
> `basename $i .rng`.rnc;done)
> touch schemas.stamp
> BUILD: Making HTML Guidelines for language en
> rm -rf Guidelines-web
> perl -p -e \
> "s+http://www.tei-c.org/release/xml/tei/stylesheet+<
> http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/
> ../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;>
> \
> s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.
> uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../
> Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
> Utilities/guidelines.xsl.model > Utilities/guidelines.xsl
> if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed
> 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint
> --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi
> for i in en ;do \
> mkdir -p Guidelines-web/$i/html; \
> cp odd.css guidelines.css guidelines-print.css
> Guidelines-web/$i/html; \
> (cd Source/Guidelines/en; tar --exclude .svn -c -f -
> Images) | (cd Guidelines-web/$i/html; tar xf - );\
> (cd webnav; tar --exclude .svn -c -f - .) | (cd
> Guidelines-web/$i/html; tar xf - ); \
> done
> echo '<project basedir="." default="html" name="buildweb"><import
> file="antbuildweb.xml"/><target name="html">' \
> > buildweb.xml
> for i in en ;do \
> echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \
> done
> echo '</target></project>' >> buildweb.xml
> ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib
> Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml
> -DgoogleAnalytics=
> [echo] Make Guidelines web pages for language en
>
> BUILD SUCCESSFUL
> Total time: 55 seconds
> # commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml
> touch html-web.stamp
> ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <
> http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/
> ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/
> dist/xml/tei/stylesheet/epub3/build-to.xml> -lib
> Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkin
> s.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../
> ../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles>
> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub
> -Dcoverimage=`pwd`/Utilities/cover.jpg
>
> BUILD SUCCESSFUL
> Total time: 57 seconds
> java -jar Utilities/epubcheck3.jar Guidelines.epub
> Epubcheck Version 3.0.1
>
> Validating against EPUB version 3.0
> No errors or warnings detected.
> check if XeLaTeX exist
> /usr/bin/xelatex
> perl -p -e \
> "s+http://www.tei-c.org/release/xml/tei/stylesheet+<
> http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/
> ../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;>
> \
> s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.
> uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../
> Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
> Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl
> BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines
> from Lite, then run to PDF using XeLaTeX
> Make sure you have Junicode, Arphic and Mincho fonts installed
> ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib
> Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<
> http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../
> Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>
> -DXELATEX=xelatex pdfonce
> [echo] make LaTeX and PDF
>
> BUILD FAILED
> <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/
> ws/P5/antbuilder.xml>:158: exec returned: 1
>
> Total time: 1 minute 26 seconds
> make: *** [Guidelines.pdf] Error 1
> Build step 'Execute shell' marked build as failure
>
I'm seeing this error when I try to build P5-dev with Stylesheets-dev: p5.xml:108513:6: error: attribute ^require not allowed I'm looking into it now... On 2016-11-21 11:02 AM, Raffaele Viglianti wrote:
Does anyone know why the pdf generation is complaining? I made a change in the guidelines (TD) that I thought was innocuous. Indeed, I reverted and ran `make pdf` locally and it still broke. 😥
Could it have anything to do with the fact that I added a new element? I also added a reference to it at the top of TD that's essential to get the element in the compiled P5 odd:
<include xmlns="http://www.w3.org/2001/XInclude" href="../../Specs/dataFacet.xml"/>
Thoughts?
On Mon, Nov 21, 2016 at 1:45 PM, Victoria TEI Jenkins <council@tei-c.org <mailto:council@tei-c.org>> wrote:
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes>:
[raffaeleviglianti] Added dataFacet to allow the full range of datatype facets from XML
[raffaeleviglianti] Added schematron rule to prevent using `@restriction` and dataFacet at
[noreply] Update dataFacet.xml
[raffaeleviglianti] Added explanation for the use of new element dataFacet. Fixes #1473
[philomousos] Making content optional for content.
[philomousos] Fixed dataFacet examples.
------------------------------------------ Started by upstream project "TEIP5-Test-dev" build number 3078 originally caused by: Started by upstream project "Stylesheets-dev" build number 2063 originally caused by: Started by an SCM change Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> # timeout=10 Fetching upstream changes from https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> > git --version # timeout=10 > git fetch --tags --progress https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10 Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev) > git config core.sparsecheckout # timeout=10 > git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c > git rev-list ee5c6b8b2879b4d6c51c6c594dddeb3a347b3e68 # timeout=10 [workspace] $ /bin/bash -xe /tmp/hudson3901816794325478252.sh + svn update Skipped '.' Summary of conflicts: Skipped paths: 1 [workspace] $ /bin/bash -xe /tmp/hudson8787157599210932966.sh + cd P5 ++ pwd + make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> clean html-web epub3 Guidelines.pdf (cd Exemplars; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'> mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix* mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl rm -f exnames.xml rm -f enrich.rng isofs.rng rm -f names.xml *properties rm -f [A-Z]*xml make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'> (cd Test; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'> rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch rm -rf LOG *~ *.xsd Schema RomaResults DTD rm -rf *.doc.* rm -f detest.log detest.log.all rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd rm -f detest.rnc detest.rng detest.dtd detest.isosch make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'> rm -rf release Guidelines Guidelines-web Schema DTD dtd Split rm -rf Guidelines.??? Guidelines-* rm -f *.isosch.xsl rm -f *.stamp rm -f *.xsd rm -f Exemplars/stdout rm -f Test/*.isosch rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl rm -f Test/stdout rm -f Utilities/guidelines.xsl rm -f anything buildweb.xml rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js rm -f p5attlist.txt rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch rm -f pdfbuild.log rm -f stripspace.xsl.model rm -f tei-*.zip rm -f tei-p5-*_*build rm -f tei-p5-*_*changes rm -f tei-p5-*_*deb rm -f teiwebsiteguidelines.zip rm -rf FASC-* rm -rf catalogue.* modList rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml Checking you have running XML tools and Perl before trying to run transform... Ant:/usr/bin/ant Perl:/usr/bin/perl Java:/usr/bin/java xmllint:/usr/bin/xmllint touch check.stamp get latest date: VCS is git if [ "git" = "svn" ] ; \ then \ if [ true = "true" ] ; \ then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 <http://svn.code.sf.net/p/tei/code/trunk/P5> ; \ else svn info --xml ; \ fi > repodate.xml ; \ fi if [ git = "git" ] ; \ then \ git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \ fi BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> -DDRIVER=Source/guidelines-en.xml base subset outputs [echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files [echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> for XSL stylesheets [echo] Do ODD processing for p5odds.odd [echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL Total time: 43 seconds BUILD: Generate modular RELAX NG (compact) schemas using trang (cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done) touch schemas.stamp BUILD: Making HTML Guidelines for language en rm -rf Guidelines-web perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;"> \ Utilities/guidelines.xsl.model > Utilities/guidelines.xsl if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi for i in en ;do \ mkdir -p Guidelines-web/$i/html; \ cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \ (cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\ (cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \ done echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \ > buildweb.xml for i in en ;do \ echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \ done echo '</target></project>' >> buildweb.xml ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics= [echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL Total time: 55 seconds # commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml touch html-web.stamp ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/epub3/build-to.xml>> -lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles>> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL Total time: 57 seconds java -jar Utilities/epubcheck3.jar Guidelines.epub Epubcheck Version 3.0.1
Validating against EPUB version 3.0 No errors or warnings detected. check if XeLaTeX exist /usr/bin/xelatex perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;"> \ Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX Make sure you have Junicode, Arphic and Mincho fonts installed ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> -DXELATEX=xelatex pdfonce [echo] make LaTeX and PDF
BUILD FAILED <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>>:158: exec returned: 1
Total time: 1 minute 26 seconds make: *** [Guidelines.pdf] Error 1 Build step 'Execute shell' marked build as failure
I checked out latest versions of Stylesheets and installed it, and also latest version of P5. Running "make" in the P5 directory completes apparently successfully; in particular I am not seeing the error Martin reports here. If I run "make pdf" however I do see the error Raf is complaining about, i.e. the inscrutable grumble from the pdf generation process. But I think we already suspected PDF generation was a problem, didn't we? On 21/11/16 20:53, Martin Holmes wrote:
I'm seeing this error when I try to build P5-dev with Stylesheets-dev:
p5.xml:108513:6: error: attribute ^require not allowed
I'm looking into it now...
On 2016-11-21 11:02 AM, Raffaele Viglianti wrote:
Does anyone know why the pdf generation is complaining? I made a change in the guidelines (TD) that I thought was innocuous. Indeed, I reverted and ran `make pdf` locally and it still broke. 😥
Could it have anything to do with the fact that I added a new element? I also added a reference to it at the top of TD that's essential to get the element in the compiled P5 odd:
<include xmlns="http://www.w3.org/2001/XInclude" href="../../Specs/dataFacet.xml"/>
Thoughts?
On Mon, Nov 21, 2016 at 1:45 PM, Victoria TEI Jenkins <council@tei-c.org <mailto:council@tei-c.org>> wrote:
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes>:
[raffaeleviglianti] Added dataFacet to allow the full range of datatype facets from XML
[raffaeleviglianti] Added schematron rule to prevent using `@restriction` and dataFacet at
[noreply] Update dataFacet.xml
[raffaeleviglianti] Added explanation for the use of new element dataFacet. Fixes #1473
[philomousos] Making content optional for content.
[philomousos] Fixed dataFacet examples.
------------------------------------------ Started by upstream project "TEIP5-Test-dev" build number 3078 originally caused by: Started by upstream project "Stylesheets-dev" build number 2063 originally caused by: Started by an SCM change Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> # timeout=10 Fetching upstream changes from https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> > git --version # timeout=10 > git fetch --tags --progress https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10 Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev) > git config core.sparsecheckout # timeout=10 > git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c > git rev-list ee5c6b8b2879b4d6c51c6c594dddeb3a347b3e68 # timeout=10 [workspace] $ /bin/bash -xe /tmp/hudson3901816794325478252.sh + svn update Skipped '.' Summary of conflicts: Skipped paths: 1 [workspace] $ /bin/bash -xe /tmp/hudson8787157599210932966.sh + cd P5 ++ pwd + make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> clean html-web epub3 Guidelines.pdf (cd Exemplars; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'> mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix* mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl rm -f exnames.xml rm -f enrich.rng isofs.rng rm -f names.xml *properties rm -f [A-Z]*xml make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'> (cd Test; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'> rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch rm -rf LOG *~ *.xsd Schema RomaResults DTD rm -rf *.doc.* rm -f detest.log detest.log.all rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd rm -f detest.rnc detest.rng detest.dtd detest.isosch make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'> rm -rf release Guidelines Guidelines-web Schema DTD dtd Split rm -rf Guidelines.??? Guidelines-* rm -f *.isosch.xsl rm -f *.stamp rm -f *.xsd rm -f Exemplars/stdout rm -f Test/*.isosch rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl rm -f Test/stdout rm -f Utilities/guidelines.xsl rm -f anything buildweb.xml rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js rm -f p5attlist.txt rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch rm -f pdfbuild.log rm -f stripspace.xsl.model rm -f tei-*.zip rm -f tei-p5-*_*build rm -f tei-p5-*_*changes rm -f tei-p5-*_*deb rm -f teiwebsiteguidelines.zip rm -rf FASC-* rm -rf catalogue.* modList rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml Checking you have running XML tools and Perl before trying to run transform... Ant:/usr/bin/ant Perl:/usr/bin/perl Java:/usr/bin/java xmllint:/usr/bin/xmllint touch check.stamp get latest date: VCS is git if [ "git" = "svn" ] ; \ then \ if [ true = "true" ] ; \ then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 <http://svn.code.sf.net/p/tei/code/trunk/P5> ; \ else svn info --xml ; \ fi > repodate.xml ; \ fi if [ git = "git" ] ; \ then \ git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \ fi BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> -DDRIVER=Source/guidelines-en.xml base subset outputs [echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files [echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> for XSL stylesheets [echo] Do ODD processing for p5odds.odd [echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL Total time: 43 seconds BUILD: Generate modular RELAX NG (compact) schemas using trang (cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done) touch schemas.stamp BUILD: Making HTML Guidelines for language en rm -rf Guidelines-web perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;"> \ Utilities/guidelines.xsl.model > Utilities/guidelines.xsl if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi for i in en ;do \ mkdir -p Guidelines-web/$i/html; \ cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \ (cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\ (cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \ done echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \ > buildweb.xml for i in en ;do \ echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \ done echo '</target></project>' >> buildweb.xml ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics= [echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL Total time: 55 seconds # commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml touch html-web.stamp ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/epub3/build-to.xml>> -lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles>> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL Total time: 57 seconds java -jar Utilities/epubcheck3.jar Guidelines.epub Epubcheck Version 3.0.1
Validating against EPUB version 3.0 No errors or warnings detected. check if XeLaTeX exist /usr/bin/xelatex perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;"> \ Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX Make sure you have Junicode, Arphic and Mincho fonts installed ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> -DXELATEX=xelatex pdfonce [echo] make LaTeX and PDF
BUILD FAILED <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>>:158: exec returned: 1
Total time: 1 minute 26 seconds make: *** [Guidelines.pdf] Error 1 Build step 'Execute shell' marked build as failure
p.s. the file Guidelines.log, generated by running "make pdf" has several font-related errors. Raff: do you have that file, and does it include for example !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "IPAMincho" cannot be found. ? On 21/11/16 21:33, Lou Burnard wrote:
I checked out latest versions of Stylesheets and installed it, and also latest version of P5. Running "make" in the P5 directory completes apparently successfully; in particular I am not seeing the error Martin reports here.
If I run "make pdf" however I do see the error Raf is complaining about, i.e. the inscrutable grumble from the pdf generation process. But I think we already suspected PDF generation was a problem, didn't we?
On 21/11/16 20:53, Martin Holmes wrote:
I'm seeing this error when I try to build P5-dev with Stylesheets-dev:
p5.xml:108513:6: error: attribute ^require not allowed
I'm looking into it now...
On 2016-11-21 11:02 AM, Raffaele Viglianti wrote:
Does anyone know why the pdf generation is complaining? I made a change in the guidelines (TD) that I thought was innocuous. Indeed, I reverted and ran `make pdf` locally and it still broke. 😥
Could it have anything to do with the fact that I added a new element? I also added a reference to it at the top of TD that's essential to get the element in the compiled P5 odd:
<include xmlns="http://www.w3.org/2001/XInclude" href="../../Specs/dataFacet.xml"/>
Thoughts?
On Mon, Nov 21, 2016 at 1:45 PM, Victoria TEI Jenkins <council@tei-c.org <mailto:council@tei-c.org>> wrote:
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes>:
[raffaeleviglianti] Added dataFacet to allow the full range of datatype facets from XML
[raffaeleviglianti] Added schematron rule to prevent using `@restriction` and dataFacet at
[noreply] Update dataFacet.xml
[raffaeleviglianti] Added explanation for the use of new element dataFacet. Fixes #1473
[philomousos] Making content optional for content.
[philomousos] Fixed dataFacet examples.
------------------------------------------ Started by upstream project "TEIP5-Test-dev" build number 3078 originally caused by: Started by upstream project "Stylesheets-dev" build number 2063 originally caused by: Started by an SCM change Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> # timeout=10 Fetching upstream changes from https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> > git --version # timeout=10 > git fetch --tags --progress https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10 Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev) > git config core.sparsecheckout # timeout=10 > git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c > git rev-list ee5c6b8b2879b4d6c51c6c594dddeb3a347b3e68 # timeout=10 [workspace] $ /bin/bash -xe /tmp/hudson3901816794325478252.sh + svn update Skipped '.' Summary of conflicts: Skipped paths: 1 [workspace] $ /bin/bash -xe /tmp/hudson8787157599210932966.sh + cd P5 ++ pwd + make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
clean html-web epub3 Guidelines.pdf (cd Exemplars; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'>
mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix* mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl rm -f exnames.xml rm -f enrich.rng isofs.rng rm -f names.xml *properties rm -f [A-Z]*xml make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'>
(cd Test; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'>
rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch rm -rf LOG *~ *.xsd Schema RomaResults DTD rm -rf *.doc.* rm -f detest.log detest.log.all rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd rm -f detest.rnc detest.rng detest.dtd detest.isosch make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'>
rm -rf release Guidelines Guidelines-web Schema DTD dtd Split rm -rf Guidelines.??? Guidelines-* rm -f *.isosch.xsl rm -f *.stamp rm -f *.xsd rm -f Exemplars/stdout rm -f Test/*.isosch rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl rm -f Test/stdout rm -f Utilities/guidelines.xsl rm -f anything buildweb.xml rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js rm -f p5attlist.txt rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch rm -f pdfbuild.log rm -f stripspace.xsl.model rm -f tei-*.zip rm -f tei-p5-*_*build rm -f tei-p5-*_*changes rm -f tei-p5-*_*deb rm -f teiwebsiteguidelines.zip rm -rf FASC-* rm -rf catalogue.* modList rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml Checking you have running XML tools and Perl before trying to run transform... Ant:/usr/bin/ant Perl:/usr/bin/perl Java:/usr/bin/java xmllint:/usr/bin/xmllint touch check.stamp get latest date: VCS is git if [ "git" = "svn" ] ; \ then \ if [ true = "true" ] ; \ then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 <http://svn.code.sf.net/p/tei/code/trunk/P5> ; \ else svn info --xml ; \ fi > repodate.xml ; \ fi if [ git = "git" ] ; \ then \ git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \ fi BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
-DDRIVER=Source/guidelines-en.xml base subset outputs [echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files [echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
for XSL stylesheets [echo] Do ODD processing for p5odds.odd [echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL Total time: 43 seconds BUILD: Generate modular RELAX NG (compact) schemas using trang (cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done) touch schemas.stamp BUILD: Making HTML Guidelines for language en rm -rf Guidelines-web perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+
\
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
\ Utilities/guidelines.xsl.model > Utilities/guidelines.xsl if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi for i in en ;do \ mkdir -p Guidelines-web/$i/html; \ cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \ (cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\ (cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \ done echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \ > buildweb.xml for i in en ;do \ echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \ done echo '</target></project>' >> buildweb.xml ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics= [echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL Total time: 55 seconds # commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml touch html-web.stamp ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
-lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
-Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL Total time: 57 seconds java -jar Utilities/epubcheck3.jar Guidelines.epub Epubcheck Version 3.0.1
Validating against EPUB version 3.0 No errors or warnings detected. check if XeLaTeX exist /usr/bin/xelatex perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+
\
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
\ Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX Make sure you have Junicode, Arphic and Mincho fonts installed ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
-DXELATEX=xelatex pdfonce [echo] make LaTeX and PDF
BUILD FAILED <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder....
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>>:158:
exec returned: 1
Total time: 1 minute 26 seconds make: *** [Guidelines.pdf] Error 1 Build step 'Execute shell' marked build as failure
I just fixed a typo in odd2relax.xsl. Not sure if that was all there was. Cheers, Martin On 2016-11-21 01:33 PM, Lou Burnard wrote:
I checked out latest versions of Stylesheets and installed it, and also latest version of P5. Running "make" in the P5 directory completes apparently successfully; in particular I am not seeing the error Martin reports here.
If I run "make pdf" however I do see the error Raf is complaining about, i.e. the inscrutable grumble from the pdf generation process. But I think we already suspected PDF generation was a problem, didn't we?
On 21/11/16 20:53, Martin Holmes wrote:
I'm seeing this error when I try to build P5-dev with Stylesheets-dev:
p5.xml:108513:6: error: attribute ^require not allowed
I'm looking into it now...
On 2016-11-21 11:02 AM, Raffaele Viglianti wrote:
Does anyone know why the pdf generation is complaining? I made a change in the guidelines (TD) that I thought was innocuous. Indeed, I reverted and ran `make pdf` locally and it still broke. 😥
Could it have anything to do with the fact that I added a new element? I also added a reference to it at the top of TD that's essential to get the element in the compiled P5 odd:
<include xmlns="http://www.w3.org/2001/XInclude" href="../../Specs/dataFacet.xml"/>
Thoughts?
On Mon, Nov 21, 2016 at 1:45 PM, Victoria TEI Jenkins <council@tei-c.org <mailto:council@tei-c.org>> wrote:
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes>:
[raffaeleviglianti] Added dataFacet to allow the full range of datatype facets from XML
[raffaeleviglianti] Added schematron rule to prevent using `@restriction` and dataFacet at
[noreply] Update dataFacet.xml
[raffaeleviglianti] Added explanation for the use of new element dataFacet. Fixes #1473
[philomousos] Making content optional for content.
[philomousos] Fixed dataFacet examples.
------------------------------------------ Started by upstream project "TEIP5-Test-dev" build number 3078 originally caused by: Started by upstream project "Stylesheets-dev" build number 2063 originally caused by: Started by an SCM change Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> # timeout=10 Fetching upstream changes from https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> > git --version # timeout=10 > git fetch --tags --progress https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10 Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev) > git config core.sparsecheckout # timeout=10 > git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c > git rev-list ee5c6b8b2879b4d6c51c6c594dddeb3a347b3e68 # timeout=10 [workspace] $ /bin/bash -xe /tmp/hudson3901816794325478252.sh + svn update Skipped '.' Summary of conflicts: Skipped paths: 1 [workspace] $ /bin/bash -xe /tmp/hudson8787157599210932966.sh + cd P5 ++ pwd + make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
clean html-web epub3 Guidelines.pdf (cd Exemplars; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'>
mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix* mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl rm -f exnames.xml rm -f enrich.rng isofs.rng rm -f names.xml *properties rm -f [A-Z]*xml make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'>
(cd Test; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'>
rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch rm -rf LOG *~ *.xsd Schema RomaResults DTD rm -rf *.doc.* rm -f detest.log detest.log.all rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd rm -f detest.rnc detest.rng detest.dtd detest.isosch make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'>
rm -rf release Guidelines Guidelines-web Schema DTD dtd Split rm -rf Guidelines.??? Guidelines-* rm -f *.isosch.xsl rm -f *.stamp rm -f *.xsd rm -f Exemplars/stdout rm -f Test/*.isosch rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl rm -f Test/stdout rm -f Utilities/guidelines.xsl rm -f anything buildweb.xml rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js rm -f p5attlist.txt rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch rm -f pdfbuild.log rm -f stripspace.xsl.model rm -f tei-*.zip rm -f tei-p5-*_*build rm -f tei-p5-*_*changes rm -f tei-p5-*_*deb rm -f teiwebsiteguidelines.zip rm -rf FASC-* rm -rf catalogue.* modList rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml Checking you have running XML tools and Perl before trying to run transform... Ant:/usr/bin/ant Perl:/usr/bin/perl Java:/usr/bin/java xmllint:/usr/bin/xmllint touch check.stamp get latest date: VCS is git if [ "git" = "svn" ] ; \ then \ if [ true = "true" ] ; \ then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 <http://svn.code.sf.net/p/tei/code/trunk/P5> ; \ else svn info --xml ; \ fi > repodate.xml ; \ fi if [ git = "git" ] ; \ then \ git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \ fi BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
-DDRIVER=Source/guidelines-en.xml base subset outputs [echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files [echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
for XSL stylesheets [echo] Do ODD processing for p5odds.odd [echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL Total time: 43 seconds BUILD: Generate modular RELAX NG (compact) schemas using trang (cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done) touch schemas.stamp BUILD: Making HTML Guidelines for language en rm -rf Guidelines-web perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+
\
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
\ Utilities/guidelines.xsl.model > Utilities/guidelines.xsl if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi for i in en ;do \ mkdir -p Guidelines-web/$i/html; \ cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \ (cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\ (cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \ done echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \ > buildweb.xml for i in en ;do \ echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \ done echo '</target></project>' >> buildweb.xml ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics= [echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL Total time: 55 seconds # commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml touch html-web.stamp ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
-lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
-Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL Total time: 57 seconds java -jar Utilities/epubcheck3.jar Guidelines.epub Epubcheck Version 3.0.1
Validating against EPUB version 3.0 No errors or warnings detected. check if XeLaTeX exist /usr/bin/xelatex perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+
\
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
\ Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX Make sure you have Junicode, Arphic and Mincho fonts installed ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St...
-DXELATEX=xelatex pdfonce [echo] make LaTeX and PDF
BUILD FAILED <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder....
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>>:158:
exec returned: 1
Total time: 1 minute 26 seconds make: *** [Guidelines.pdf] Error 1 Build step 'Execute shell' marked build as failure
Could it be this: <report test="descendent::*[not(namespace-uri(.) = ('http://relaxng.org/ns/structure/1.0'))]">datatype content must be in the namespace ''</report> "descendent" should be "descendant". Cheers, Martin On 2016-11-21 11:02 AM, Raffaele Viglianti wrote:
Does anyone know why the pdf generation is complaining? I made a change in the guidelines (TD) that I thought was innocuous. Indeed, I reverted and ran `make pdf` locally and it still broke. 😥
Could it have anything to do with the fact that I added a new element? I also added a reference to it at the top of TD that's essential to get the element in the compiled P5 odd:
<include xmlns="http://www.w3.org/2001/XInclude" href="../../Specs/dataFacet.xml"/>
Thoughts?
On Mon, Nov 21, 2016 at 1:45 PM, Victoria TEI Jenkins <council@tei-c.org <mailto:council@tei-c.org>> wrote:
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes>:
[raffaeleviglianti] Added dataFacet to allow the full range of datatype facets from XML
[raffaeleviglianti] Added schematron rule to prevent using `@restriction` and dataFacet at
[noreply] Update dataFacet.xml
[raffaeleviglianti] Added explanation for the use of new element dataFacet. Fixes #1473
[philomousos] Making content optional for content.
[philomousos] Fixed dataFacet examples.
------------------------------------------ Started by upstream project "TEIP5-Test-dev" build number 3078 originally caused by: Started by upstream project "Stylesheets-dev" build number 2063 originally caused by: Started by an SCM change Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> # timeout=10 Fetching upstream changes from https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> > git --version # timeout=10 > git fetch --tags --progress https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10 Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev) > git config core.sparsecheckout # timeout=10 > git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c > git rev-list ee5c6b8b2879b4d6c51c6c594dddeb3a347b3e68 # timeout=10 [workspace] $ /bin/bash -xe /tmp/hudson3901816794325478252.sh + svn update Skipped '.' Summary of conflicts: Skipped paths: 1 [workspace] $ /bin/bash -xe /tmp/hudson8787157599210932966.sh + cd P5 ++ pwd + make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> clean html-web epub3 Guidelines.pdf (cd Exemplars; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'> mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix* mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl rm -f exnames.xml rm -f enrich.rng isofs.rng rm -f names.xml *properties rm -f [A-Z]*xml make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'> (cd Test; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'> rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch rm -rf LOG *~ *.xsd Schema RomaResults DTD rm -rf *.doc.* rm -f detest.log detest.log.all rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd rm -f detest.rnc detest.rng detest.dtd detest.isosch make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'> rm -rf release Guidelines Guidelines-web Schema DTD dtd Split rm -rf Guidelines.??? Guidelines-* rm -f *.isosch.xsl rm -f *.stamp rm -f *.xsd rm -f Exemplars/stdout rm -f Test/*.isosch rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl rm -f Test/stdout rm -f Utilities/guidelines.xsl rm -f anything buildweb.xml rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js rm -f p5attlist.txt rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch rm -f pdfbuild.log rm -f stripspace.xsl.model rm -f tei-*.zip rm -f tei-p5-*_*build rm -f tei-p5-*_*changes rm -f tei-p5-*_*deb rm -f teiwebsiteguidelines.zip rm -rf FASC-* rm -rf catalogue.* modList rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml Checking you have running XML tools and Perl before trying to run transform... Ant:/usr/bin/ant Perl:/usr/bin/perl Java:/usr/bin/java xmllint:/usr/bin/xmllint touch check.stamp get latest date: VCS is git if [ "git" = "svn" ] ; \ then \ if [ true = "true" ] ; \ then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 <http://svn.code.sf.net/p/tei/code/trunk/P5> ; \ else svn info --xml ; \ fi > repodate.xml ; \ fi if [ git = "git" ] ; \ then \ git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \ fi BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> -DDRIVER=Source/guidelines-en.xml base subset outputs [echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files [echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> for XSL stylesheets [echo] Do ODD processing for p5odds.odd [echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL Total time: 43 seconds BUILD: Generate modular RELAX NG (compact) schemas using trang (cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done) touch schemas.stamp BUILD: Making HTML Guidelines for language en rm -rf Guidelines-web perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;"> \ Utilities/guidelines.xsl.model > Utilities/guidelines.xsl if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi for i in en ;do \ mkdir -p Guidelines-web/$i/html; \ cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \ (cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\ (cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \ done echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \ > buildweb.xml for i in en ;do \ echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \ done echo '</target></project>' >> buildweb.xml ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics= [echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL Total time: 55 seconds # commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml touch html-web.stamp ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/epub3/build-to.xml>> -lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles>> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL Total time: 57 seconds java -jar Utilities/epubcheck3.jar Guidelines.epub Epubcheck Version 3.0.1
Validating against EPUB version 3.0 No errors or warnings detected. check if XeLaTeX exist /usr/bin/xelatex perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;"> \ Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX Make sure you have Junicode, Arphic and Mincho fonts installed ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> -DXELATEX=xelatex pdfonce [echo] make LaTeX and PDF
BUILD FAILED <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>>:158: exec returned: 1
Total time: 1 minute 26 seconds make: *** [Guidelines.pdf] Error 1 Build step 'Execute shell' marked build as failure
Also this: <rule context="tei:constraint"> <report test="descendent::*[not(namespace-uri(.) = ('http://purl.oclc.org/dsdl/schematron'))]">constraint content must be in the namespace ''</report> On 2016-11-21 11:02 AM, Raffaele Viglianti wrote:
Does anyone know why the pdf generation is complaining? I made a change in the guidelines (TD) that I thought was innocuous. Indeed, I reverted and ran `make pdf` locally and it still broke. 😥
Could it have anything to do with the fact that I added a new element? I also added a reference to it at the top of TD that's essential to get the element in the compiled P5 odd:
<include xmlns="http://www.w3.org/2001/XInclude" href="../../Specs/dataFacet.xml"/>
Thoughts?
On Mon, Nov 21, 2016 at 1:45 PM, Victoria TEI Jenkins <council@tei-c.org <mailto:council@tei-c.org>> wrote:
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2320/Changes>:
[raffaeleviglianti] Added dataFacet to allow the full range of datatype facets from XML
[raffaeleviglianti] Added schematron rule to prevent using `@restriction` and dataFacet at
[noreply] Update dataFacet.xml
[raffaeleviglianti] Added explanation for the use of new element dataFacet. Fixes #1473
[philomousos] Making content optional for content.
[philomousos] Fixed dataFacet examples.
------------------------------------------ Started by upstream project "TEIP5-Test-dev" build number 3078 originally caused by: Started by upstream project "Stylesheets-dev" build number 2063 originally caused by: Started by an SCM change Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> # timeout=10 Fetching upstream changes from https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> > git --version # timeout=10 > git fetch --tags --progress https://github.com/TEIC/TEI.git <https://github.com/TEIC/TEI.git> +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10 Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev) > git config core.sparsecheckout # timeout=10 > git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c > git rev-list ee5c6b8b2879b4d6c51c6c594dddeb3a347b3e68 # timeout=10 [workspace] $ /bin/bash -xe /tmp/hudson3901816794325478252.sh + svn update Skipped '.' Summary of conflicts: Skipped paths: 1 [workspace] $ /bin/bash -xe /tmp/hudson8787157599210932966.sh + cd P5 ++ pwd + make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> clean html-web epub3 Guidelines.pdf (cd Exemplars; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'> mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix* mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl rm -f exnames.xml rm -f enrich.rng isofs.rng rm -f names.xml *properties rm -f [A-Z]*xml make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars>'> (cd Test; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'> rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch rm -rf LOG *~ *.xsd Schema RomaResults DTD rm -rf *.doc.* rm -f detest.log detest.log.all rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd rm -f detest.rnc detest.rng detest.dtd detest.isosch make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test>'> rm -rf release Guidelines Guidelines-web Schema DTD dtd Split rm -rf Guidelines.??? Guidelines-* rm -f *.isosch.xsl rm -f *.stamp rm -f *.xsd rm -f Exemplars/stdout rm -f Test/*.isosch rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl rm -f Test/stdout rm -f Utilities/guidelines.xsl rm -f anything buildweb.xml rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js rm -f p5attlist.txt rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch rm -f pdfbuild.log rm -f stripspace.xsl.model rm -f tei-*.zip rm -f tei-p5-*_*build rm -f tei-p5-*_*changes rm -f tei-p5-*_*deb rm -f teiwebsiteguidelines.zip rm -rf FASC-* rm -rf catalogue.* modList rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml Checking you have running XML tools and Perl before trying to run transform... Ant:/usr/bin/ant Perl:/usr/bin/perl Java:/usr/bin/java xmllint:/usr/bin/xmllint touch check.stamp get latest date: VCS is git if [ "git" = "svn" ] ; \ then \ if [ true = "true" ] ; \ then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 <http://svn.code.sf.net/p/tei/code/trunk/P5> ; \ else svn info --xml ; \ fi > repodate.xml ; \ fi if [ git = "git" ] ; \ then \ git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \ fi BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> -DDRIVER=Source/guidelines-en.xml base subset outputs [echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files [echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> for XSL stylesheets [echo] Do ODD processing for p5odds.odd [echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL Total time: 43 seconds BUILD: Generate modular RELAX NG (compact) schemas using trang (cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done) touch schemas.stamp BUILD: Making HTML Guidelines for language en rm -rf Guidelines-web perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;"> \ Utilities/guidelines.xsl.model > Utilities/guidelines.xsl if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi for i in en ;do \ mkdir -p Guidelines-web/$i/html; \ cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \ (cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\ (cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \ done echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \ > buildweb.xml for i in en ;do \ echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \ done echo '</target></project>' >> buildweb.xml ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics= [echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL Total time: 55 seconds # commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml touch html-web.stamp ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/epub3/build-to.xml>> -lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles>> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL Total time: 57 seconds java -jar Utilities/epubcheck3.jar Guidelines.epub Epubcheck Version 3.0.1
Validating against EPUB version 3.0 No errors or warnings detected. check if XeLaTeX exist /usr/bin/xelatex perl -p -e \ "s+http://www.tei-c.org/release/xml/tei/stylesheet+ <http://www.tei-c.org/release/xml/tei/stylesheet+><http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+ <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+>;"> \ Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX Make sure you have Junicode, Arphic and Mincho fonts installed ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../St... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet>> -DXELATEX=xelatex pdfonce [echo] make LaTeX and PDF
BUILD FAILED <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.... <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>>:158: exec returned: 1
Total time: 1 minute 26 seconds make: *** [Guidelines.pdf] Error 1 Build step 'Execute shell' marked build as failure
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2321/------------------------------------------
Started by upstream project "TEIP5-Test-dev" build number 3079
originally caused by:
Started by upstream project "Stylesheets-dev" build number 2064
originally caused by:
Started by an SCM change
Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/TEIC/TEI.git # timeout=10
Fetching upstream changes from https://github.com/TEIC/TEI.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/TEIC/TEI.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10
Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c
> git rev-list 4ed0f0f1122aea377b4c473f55937af56e55b00c # timeout=10
[workspace] $ /bin/bash -xe /tmp/hudson5264470087665905910.sh
+ svn update
Skipped '.'
Summary of conflicts:
Skipped paths: 1
[workspace] $ /bin/bash -xe /tmp/hudson6888960035310246910.sh
+ cd P5
++ pwd
+ make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> clean html-web epub3 Guidelines.pdf
(cd Exemplars; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak
rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix*
mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl
rm -f exnames.xml
rm -f enrich.rng isofs.rng
rm -f names.xml *properties
rm -f [A-Z]*xml
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
(cd Test; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch
rm -rf LOG *~ *.xsd Schema RomaResults DTD
rm -rf *.doc.*
rm -f detest.log detest.log.all
rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd
rm -f detest.rnc detest.rng detest.dtd detest.isosch
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
rm -rf release Guidelines Guidelines-web Schema DTD dtd Split
rm -rf Guidelines.??? Guidelines-*
rm -f *.isosch.xsl
rm -f *.stamp
rm -f *.xsd
rm -f Exemplars/stdout
rm -f Test/*.isosch
rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl
rm -f Test/stdout
rm -f Utilities/guidelines.xsl
rm -f anything buildweb.xml
rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js
rm -f p5attlist.txt
rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch
rm -f pdfbuild.log
rm -f stripspace.xsl.model
rm -f tei-*.zip
rm -f tei-p5-*_*build
rm -f tei-p5-*_*changes
rm -f tei-p5-*_*deb
rm -f teiwebsiteguidelines.zip
rm -rf FASC-*
rm -rf catalogue.* modList
rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml
Checking you have running XML tools and Perl before trying to run transform...
Ant:/usr/bin/ant
Perl:/usr/bin/perl
Java:/usr/bin/java
xmllint:/usr/bin/xmllint
touch check.stamp
get latest date:
VCS is git
if [ "git" = "svn" ] ; \
then \
if [ true = "true" ] ; \
then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 ; \
else svn info --xml ; \
fi > repodate.xml ; \
fi
if [ git = "git" ] ; \
then \
git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \
fi
BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> -DDRIVER=Source/guidelines-en.xml base subset outputs
[echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files
[echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> for XSL stylesheets
[echo] Do ODD processing for p5odds.odd
[echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL
Total time: 41 seconds
BUILD: Generate modular RELAX NG (compact) schemas using trang
(cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done)
touch schemas.stamp
BUILD: Making HTML Guidelines for language en
rm -rf Guidelines-web
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
Utilities/guidelines.xsl.model > Utilities/guidelines.xsl
if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi
for i in en ;do \
mkdir -p Guidelines-web/$i/html; \
cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \
(cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\
(cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \
done
echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \
> buildweb.xml
for i in en ;do \
echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \
done
echo '</target></project>' >> buildweb.xml
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics=
[echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL
Total time: 53 seconds
# commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml
touch html-web.stamp
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/epub3/build-to.xml> -lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL
Total time: 55 seconds
java -jar Utilities/epubcheck3.jar Guidelines.epub
Epubcheck Version 3.0.1
Validating against EPUB version 3.0
No errors or warnings detected.
check if XeLaTeX exist
/usr/bin/xelatex
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl
BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX
Make sure you have Junicode, Arphic and Mincho fonts installed
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> -DXELATEX=xelatex pdfonce
[echo] make LaTeX and PDF
BUILD FAILED
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>:158: exec returned: 1
Total time: 1 minute 14 seconds
make: *** [Guidelines.pdf] Error 1
Build step 'Execute shell' marked build as failure
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2322/------------------------------------------
Started by user Martin Holmes
Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>
Cloning the remote Git repository
Cloning repository https://github.com/TEIC/TEI.git
> git init <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/> # timeout=10
Fetching upstream changes from https://github.com/TEIC/TEI.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/TEIC/TEI.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url https://github.com/TEIC/TEI.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/TEIC/TEI.git # timeout=10
Fetching upstream changes from https://github.com/TEIC/TEI.git
> git fetch --tags --progress https://github.com/TEIC/TEI.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10
Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c
> git rev-list 4ed0f0f1122aea377b4c473f55937af56e55b00c # timeout=10
[workspace] $ /bin/bash -xe /tmp/hudson3794430391780111695.sh
+ svn update
Skipped '.'
Summary of conflicts:
Skipped paths: 1
[workspace] $ /bin/bash -xe /tmp/hudson7063184993844971210.sh
+ cd P5
++ pwd
+ make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> clean html-web epub3 Guidelines.pdf
(cd Exemplars; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak
rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix*
mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl
rm -f exnames.xml
rm -f enrich.rng isofs.rng
rm -f names.xml *properties
rm -f [A-Z]*xml
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
(cd Test; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch
rm -rf LOG *~ *.xsd Schema RomaResults DTD
rm -rf *.doc.*
rm -f detest.log detest.log.all
rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd
rm -f detest.rnc detest.rng detest.dtd detest.isosch
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
rm -rf release Guidelines Guidelines-web Schema DTD dtd Split
rm -rf Guidelines.??? Guidelines-*
rm -f *.isosch.xsl
rm -f *.stamp
rm -f *.xsd
rm -f Exemplars/stdout
rm -f Test/*.isosch
rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl
rm -f Test/stdout
rm -f Utilities/guidelines.xsl
rm -f anything buildweb.xml
rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js
rm -f p5attlist.txt
rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch
rm -f pdfbuild.log
rm -f stripspace.xsl.model
rm -f tei-*.zip
rm -f tei-p5-*_*build
rm -f tei-p5-*_*changes
rm -f tei-p5-*_*deb
rm -f teiwebsiteguidelines.zip
rm -rf FASC-*
rm -rf catalogue.* modList
rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml
Checking you have running XML tools and Perl before trying to run transform...
Ant:/usr/bin/ant
Perl:/usr/bin/perl
Java:/usr/bin/java
xmllint:/usr/bin/xmllint
touch check.stamp
get latest date:
VCS is git
if [ "git" = "svn" ] ; \
then \
if [ true = "true" ] ; \
then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 ; \
else svn info --xml ; \
fi > repodate.xml ; \
fi
if [ git = "git" ] ; \
then \
git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \
fi
BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> -DDRIVER=Source/guidelines-en.xml base subset outputs
[echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files
[echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> for XSL stylesheets
[echo] Do ODD processing for p5odds.odd
[echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL
Total time: 40 seconds
BUILD: Generate modular RELAX NG (compact) schemas using trang
(cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done)
touch schemas.stamp
BUILD: Making HTML Guidelines for language en
rm -rf Guidelines-web
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
Utilities/guidelines.xsl.model > Utilities/guidelines.xsl
if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi
for i in en ;do \
mkdir -p Guidelines-web/$i/html; \
cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \
(cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\
(cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \
done
echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \
> buildweb.xml
for i in en ;do \
echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \
done
echo '</target></project>' >> buildweb.xml
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics=
[echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL
Total time: 53 seconds
# commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml
touch html-web.stamp
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/epub3/build-to.xml> -lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL
Total time: 56 seconds
java -jar Utilities/epubcheck3.jar Guidelines.epub
Epubcheck Version 3.0.1
Validating against EPUB version 3.0
No errors or warnings detected.
check if XeLaTeX exist
/usr/bin/xelatex
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl
BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX
Make sure you have Junicode, Arphic and Mincho fonts installed
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> -DXELATEX=xelatex pdfonce
[echo] make LaTeX and PDF
BUILD FAILED
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>:158: exec returned: 1
Total time: 1 minute 15 seconds
make: *** [Guidelines.pdf] Error 1
Build step 'Execute shell' marked build as failure
http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/2323/------------------------------------------
Started by user Martin Holmes
Building in workspace <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/TEIC/TEI.git # timeout=10
Fetching upstream changes from https://github.com/TEIC/TEI.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/TEIC/TEI.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10
Checking out Revision 4ed0f0f1122aea377b4c473f55937af56e55b00c (refs/remotes/origin/dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 4ed0f0f1122aea377b4c473f55937af56e55b00c
> git rev-list 4ed0f0f1122aea377b4c473f55937af56e55b00c # timeout=10
[workspace] $ /bin/bash -xe /tmp/hudson9039884966644445506.sh
+ svn update
Skipped '.'
Summary of conflicts:
Skipped paths: 1
[workspace] $ /bin/bash -xe /tmp/hudson169138903408120519.sh
+ cd P5
++ pwd
+ make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> clean html-web epub3 Guidelines.pdf
(cd Exemplars; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak
rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix*
mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl
rm -f exnames.xml
rm -f enrich.rng isofs.rng
rm -f names.xml *properties
rm -f [A-Z]*xml
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Exemplars'>
(cd Test; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch
rm -rf LOG *~ *.xsd Schema RomaResults DTD
rm -rf *.doc.*
rm -f detest.log detest.log.all
rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd
rm -f detest.rnc detest.rng detest.dtd detest.isosch
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/Test'>
rm -rf release Guidelines Guidelines-web Schema DTD dtd Split
rm -rf Guidelines.??? Guidelines-*
rm -f *.isosch.xsl
rm -f *.stamp
rm -f *.xsd
rm -f Exemplars/stdout
rm -f Test/*.isosch
rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl
rm -f Test/stdout
rm -f Utilities/guidelines.xsl
rm -f anything buildweb.xml
rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js
rm -f p5attlist.txt
rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch
rm -f pdfbuild.log
rm -f stripspace.xsl.model
rm -f tei-*.zip
rm -f tei-p5-*_*build
rm -f tei-p5-*_*changes
rm -f tei-p5-*_*deb
rm -f teiwebsiteguidelines.zip
rm -rf FASC-*
rm -rf catalogue.* modList
rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml
Checking you have running XML tools and Perl before trying to run transform...
Ant:/usr/bin/ant
Perl:/usr/bin/perl
Java:/usr/bin/java
xmllint:/usr/bin/xmllint
touch check.stamp
get latest date:
VCS is git
if [ "git" = "svn" ] ; \
then \
if [ true = "true" ] ; \
then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 ; \
else svn info --xml ; \
fi > repodate.xml ; \
fi
if [ git = "git" ] ; \
then \
git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \
fi
BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> -DDRIVER=Source/guidelines-en.xml base subset outputs
[echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files
[echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> for XSL stylesheets
[echo] Do ODD processing for p5odds.odd
[echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL
Total time: 41 seconds
BUILD: Generate modular RELAX NG (compact) schemas using trang
(cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done)
touch schemas.stamp
BUILD: Making HTML Guidelines for language en
rm -rf Guidelines-web
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
Utilities/guidelines.xsl.model > Utilities/guidelines.xsl
if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi
for i in en ;do \
mkdir -p Guidelines-web/$i/html; \
cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \
(cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\
(cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \
done
echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \
> buildweb.xml
for i in en ;do \
echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \
done
echo '</target></project>' >> buildweb.xml
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics=
[echo] Make Guidelines web pages for language en
BUILD SUCCESSFUL
Total time: 53 seconds
# commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml
touch html-web.stamp
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/epub3/build-to.xml> -lib Utilities/lib/saxon9he.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD SUCCESSFUL
Total time: 56 seconds
java -jar Utilities/epubcheck3.jar Guidelines.epub
Epubcheck Version 3.0.1
Validating against EPUB version 3.0
No errors or warnings detected.
check if XeLaTeX exist
/usr/bin/xelatex
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet+;"> \
Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl
BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX
Make sure you have Junicode, Arphic and Mincho fonts installed
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/../../../Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet> -DXELATEX=xelatex pdfonce
[echo] make LaTeX and PDF
BUILD FAILED
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Documentation-dev/ws/P5/antbuilder.xml>:158: exec returned: 1
Total time: 1 minute 13 seconds
make: *** [Guidelines.pdf] Error 1
Build step 'Execute shell' marked build as failure
participants (4)
-
Lou Burnard -
Martin Holmes -
Raffaele Viglianti -
Victoria TEI Jenkins