Bug#458879: debian-edu-doc FTBFS but only in sid not in etch
Hi Andreas, On Saturday 09 February 2008 22:00, Andreas Hoenen wrote: In order to improve the error messages of dblatex (dblatex bug report #451267), I have patched dblatex (beginning with 0.2.8-1) to postvalidate the DocBook input in case of transformation failures and to pass through the validation error messages to the caller [1]. Thus for invalid DocBook input the user will receive a meaningful error message in addition to the sometimes strange technical error description. Sounds good :) Unfortunately my patch hangs on huge amounts of xmllint error output (and itil.xml is very invalid: 732938 bytes of validation failure messages). Unfortunatly it's not really simple to fix this: it's auto-generated by moinmoins docbook export module (so the source for itil.xml is a wiki), and this module is currently not maintained upstream in moinmoin. (See the moinmoin wiki for more info if you interested.) I will fix this bug in the next debian dblatex release which I'm preparing currently. /me looks at http://packages.qa.debian.org/d/dblatex/news/20080211T040203Z.html and cheers! However, even without the postvalidation hanging the current versions of dblatex respectively xsltproc are just unable to transform itil.xml. Sorry, invalid input sometimes is handled properly, but only in lucky cases. /me nods, just experienced this :( I guess I will have to switch to openjade then and set the errorlimit to 1, like I already do for the html version... And the long term solution is to fix moinmoins docbook export. regards thanks anyway, Holger pgpLKLezGp9mq.pgp Description: PGP signature
Bug#458879: debian-edu-doc FTBFS but only in sid not in etch
Holger Levsen [EMAIL PROTECTED] wrote: snip/ http://bugs.debian.org/458879 describes how debian-edu-doc fails to build from source but only in sid not in etch, and I'm bcc:ing you, the dblatex and libxml2-utils maintainers, to kindly ask for your help/input/hint as I have no idea why. snip/ The hanging is explained as follows: In order to improve the error messages of dblatex (dblatex bug report #451267), I have patched dblatex (beginning with 0.2.8-1) to postvalidate the DocBook input in case of transformation failures and to pass through the validation error messages to the caller [1]. Thus for invalid DocBook input the user will receive a meaningful error message in addition to the sometimes strange technical error description. Unfortunately my patch hangs on huge amounts of xmllint error output (and itil.xml is very invalid: 732938 bytes of validation failure messages). Obviously it is a very bad idea to open a subprocess with setting its stderr to a pipe, then waiting for the subprocess to exit before reading from the pipe. Ouch, too stupid, I'm really sorry. I will fix this bug in the next debian dblatex release which I'm preparing currently. (At the moment I consider to abstain from reading and passing through the xmllint error messages - your case indicates that the output might become too big, moreover the user can call xmllint explicitly afterwards to analyze the validation problem.) Feel free to open a bug report on dblatex and connect it to yours or whatever seems to be appropriate. However, even without the postvalidation hanging the current versions of dblatex respectively xsltproc are just unable to transform itil.xml. Sorry, invalid input sometimes is handled properly, but only in lucky cases. [1] debian/patches/20_postvalidation_on_failure.dpatch Regards, Andreas -- Andreas Hoenen [EMAIL PROTECTED] GPG: 1024D/B888D2CE A4A6 E8B5 593A E89B 496B 82F0 728D 8B7E B888 D2CE pgp6PEKaGIJCA.pgp Description: PGP signature
Bug#458879: debian-edu-doc FTBFS but only in sid not in etch
tags 458879 +help thanks Hi, http://bugs.debian.org/458879 describes how debian-edu-doc fails to build from source but only in sid not in etch, and I'm bcc:ing you, the dblatex and libxml2-utils maintainers, to kindly ask for your help/input/hint as I have no idea why. To reproduce: fakeroot apt-get source -b debian-edu-doc in sid :) It hangs with the following output: [...] # # Build ITIL book # dblatex -T simple -o ./documentation/norwegian/itil.pdf ./documentation/norwegian/itil.xml Build the listings... XSLT stylesheets DocBook - LaTeX 2e (0.2.8-5) === Invalid table entry row=1/column=1 (@colstart) ps shows the following commands are run, but they consume 0 cpu ressources, so I think they might wait for some input on stdin?! Strangely on Lucas build, which caused the bugreport, the build failed after 3 seconds... 18154 pts/4S+ 0:00 \_ /usr/bin/python /usr/bin/dblatex -T simple -o ./documentation/norwegian/itil.pdf /home/holgi/Projects/debian-edu/debian-edu/src/debian-edu-doc/documentation/norwegian/itil.xml 18157 pts/4S+ 0:00 \_ /usr/bin/xmllint --noout --valid ./documentation/norwegian/itil.xml Do you have an idea what change from etch to sid might have caused this? regards, Holger pgpC8u4JmRniX.pgp Description: PGP signature