
21 Nov
2016
21 Nov
'16
2:02 p.m.
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 >