[tei-council] Build failed in Jenkins: TEIP5-Documentation #411

Martin Holmes mholmes at uvic.ca
Tue Jun 19 00:29:20 EDT 2012


I put Lou's new readme profile into the Makefile, and the Documentation 
build broke.

This reveals that the readme part of the Documentation job, at least, 
not been using the XSL from the Stylesheets build:

 > ERROR: No support for profile readme: 
/usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.

This is presumably because the script calls teitohtml, which doesn't 
know anything about the Jenkins job stylesheets at all; it defaults to 
APPHOME=/usr/share/xml/tei/stylesheet.

So the Makefile needs to pass the XSL dir into the teitohtml script 
which operates on the readmes. I've tried to implement that, and we'll 
see if it works.

I wonder if the teitohtml that gets called should be the one from SVN, 
rather than from the installed packages?

cheers,
Martin

On 12-06-18 06:41 PM, mholmes at uvic.ca wrote:
> See <http://teijenkins.hcmc.uvic.ca:8080/job/TEIP5-Documentation/411/changes>
>
> Changes:
>
> [martindholmes] Adding --profile=readme to the Makefile so that HTML readmes will be built with Lou's new profile.
>
> ------------------------------------------
> Started by upstream project "TEIP5-Test" build number 578
> Building in workspace <http://teijenkins.hcmc.uvic.ca:8080/job/TEIP5-Documentation/ws/>
> Updating https://tei.svn.sourceforge.net/svnroot/tei/trunk/P5
> U         Makefile
> At revision 10550
> [workspace] $ /bin/sh -xe /tmp/hudson980990287084911559.sh
> + pwd
> + make XSL=<http://teijenkins.hcmc.uvic.ca:8080/job/TEIP5-Documentation/ws/../../Stylesheets/lastSuccessful/archive/dist/xml/tei/stylesheet> clean dist-doc validate-html
> rm -rf release Guidelines Guidelines-web Schema DTD dtd Split RomaResults *~
> rm -rf Guidelines.??? Guidelines-* \
> 	p5odds-examples.rng  p5odds-examples.rnc \
> 	p5odds.rng p5odds.rnc \
> 	*.xsd \
> 	p5.sch p5.isosch \
> 	*.isosch.xsl \
> 	tei-*.zip \
> 	Test/*.isosch \
> 	p5subset.xml \
> 	Utilities/guidelines.xsl Utilities-1/guidelines.xsl
> find . -name "semantic.cache" | xargs rm -f
> (cd Test; make clean)
> make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca:8080/job/TEIP5-Documentation/ws/Test'>
> rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.teix.xsd 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:8080/job/TEIP5-Documentation/ws/Test'>
> (cd Exemplars; make clean)
> make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca:8080/job/TEIP5-Documentation/ws/Exemplars'>
> rm -f *.xsd *.dtd *.doc.* *.rnc tei*.rng *.compiled.* *~ *.xi
> rm -f exnames.xml
> rm -f enrich.rng isofs.rng
> rm -f names.xml
> make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca:8080/job/TEIP5-Documentation/ws/Exemplars'>
> rm -rf FASC-*
> rm -rf catalogue.* modList
> rm -f       p5.xml
> rm -f       Guidelines.epub
> rm -f       Guidelines.mobi
> rm -f       Test/detest.rnc
> rm -f       Test/detest.rng
> rm -f       Test/detest.dtd
> rm -rf valid v.xml
> rm -f v.body v.header missfont.log
> rm -f *.stamp
> rm -f tei-p5-*_*deb
> rm -f tei-p5-*_*changes
> rm -f tei-p5-*_*build
> rm -f teiwebsiteguidelines.zip
> BUILD: Make distribution directory for doc
> rm -rf release/tei-p5-doc*
> mkdir -p release/tei-p5-doc/share/doc/tei-p5-doc
> cp VERSION release/tei-p5-doc/share/doc/tei-p5-doc
> BUILD: Make web pages for release notes
> for i in ReleaseNotes/readme*xml; \
> 	do  teitohtml --css=en/html/guidelines.css --profile=readme $i  \
> 		./release/tei-p5-doc/share/doc/tei-p5-doc/`basename $i .xml`.html; \
> 	done
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:25
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:26
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:26
> ERROR: No support for profile readme: /usr/share/xml/tei/stylesheet/profiles/readme/html/to.xsl does not exist.
> This was a fatal error. 2012-06-18 18:41:26
> make: *** [dist-doc.stamp] Error 1
> Build step 'Execute shell' marked build as failure
> Archiving artifacts
>



More information about the tei-council mailing list