Re: New development of how to build the installation-guide for the website [ Re: Bug#930846: partman-auto-lvm: debconf show guided_size during auto install ]

"Adam D. Barratt" <[email protected]>
Newsgroups gmane.linux.debian.devel.www,gmane.linux.debian.devel.boot
Message-ID <7fe45640b11ae058dab66637dd2cec805a0eaac5.camel@adam-barratt.org.uk>
On Wed, 2020-01-01 at 19:52 +0100, Holger Wansing wrote:
> Hi,
> 
> Laura Arjona Reina <[email protected]> wrote:
> > Hi
> > 
> > The cron job will do the 'git pull' on wolkenstein the next time it
> > runs.
> 
> yes, that worked, thanks.
> So, the build was performed via the new script, and thanks to that we
> now have the manual for buster on the webpage for buster :-)
> (the last two days there was the manual for bullseye there.)
> 
> Thus, that part works fine so far.

Only for languages up to and including Japanese (see below). A number
of languages currently have no installation manual there.

> However, the part with the example-preseed.txt file remains open:
> in the past it was not updated, now I have added a "remove the old
> example file" line into the script, and as a result we have no file
> at all now :-(
> 
> Because the rest is working fine, I suspect the problem is not in the
> build of the manual ifself, but in the sync to the www mirrors (DSA
> provided, I think).

The problem is that the Korean build is failing on www-master; a
partial log from a manual run:

<log>
xelatex -interaction=batchmode install.ko.profiled.tex
kpathsea:make_tex: Invalid fontname `나눔명조/OT', contains '<EB>'
...
xelatex failed
install.ko.profiled.tex:29: ..............................................  
install.ko.profiled.tex:29: leading text: \setCJKmainfont{나눔명조}
...
.:300: leading text: }&
/home/adsb/installation-guide-20190622/build/build.tmp.ko.i386/dblatex/tmpwMvRmH not removed

A possible reason for transformation failure is invalid DocBook
(as reported by xmllint)

Error: xelatex compilation failed
Error: build of pdf failed with error code 1
Info: creating temporary .html file...
Info: creating .txt file...
Warning: The following formats failed to build: pdf
Makefile:8: recipe for target 'ko.i386' failed
make: *** [ko.i386] Error 2
</log>

buildweb.sh uses "set -e", so the failing Korean build causes the
script to abort, and the example-preseed.txt is never generated.

The build script on www-master, conversely, simply continues and
deploys whatever has been built up to that point.

Regards,

Adam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.