[PATCH 2/4] Cygwin: silence dblatex when building PDFs

Jon Turney jon.turney@dronecode.org.uk
Wed Jan 26 15:19:31 GMT 2022


On 20/01/2022 20:02, Jon Turney wrote:
> On 20/01/2022 16:46, Corinna Vinschen wrote:
>> On Jan 20 16:43, Jon Turney wrote:
>>> On 19/01/2022 13:15, Jon Turney wrote:
>>>> Unless make is invoked with V=1, have xmlto pass '-q' to dblatex when
>>>> building PDFs, to avoid "default template used in programlisting or
>>>> screen" warnings from dblatex's verbatim.xsl stylesheet.
>>>> ---
>>>>    winsup/doc/Makefile.am | 7 +++++--
>>>>    1 file changed, 5 insertions(+), 2 deletions(-)
>>>>
>>>> diff --git a/winsup/doc/Makefile.am b/winsup/doc/Makefile.am
>>>> index 44b64babc..57b74341a 100644
>>>> --- a/winsup/doc/Makefile.am
>>>> +++ b/winsup/doc/Makefile.am
>>>> @@ -17,6 +17,9 @@ doc_DATA = \
>>>>    htmldir = $(datarootdir)/doc
>>>>    XMLTO=@XMLTO@ --skip-validation --with-dblatex
>>>> +XMLTO_DBLATEX_QUIET_=-p '-q'
>>>> +XMLTO_DBLATEX_QUIET=$(XMLTO_DBLATEX_QUIET_$(V))
>>>
>>>
>>> This doesn't seem to be working as expected when building on Fedora 
>>> Rawhide

Actually it's running on F35

>>> [1], but it looks like xmlto isn't using dblatex despite ' 
>>> --with-dblatex'?
>>
>> Did you install dblatex?
> 
> Yes, I meant to write "... and dblatex being installed." :)
> 
> https://github.com/cygwin/cygwin/runs/4876704875?check_suite_focus=true#step:11:10 

This seems to be the output of 'mktexfmt pdflatex.fmt' which is run once 
to generate some stuff (the 'TeX format') which is cached in 
~/.texlive2021 (and so is appearing in every run in the ephermeral VM 
used by github actions)

So this could be suppressed by running something like that in the setup 
script.


More information about the Cygwin-patches mailing list