public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin 32 doc build failure
@ 2021-12-23 17:35 Brian Inglis
  2021-12-23 19:39 ` Ken Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Inglis @ 2021-12-23 17:35 UTC (permalink / raw)
  To: cygwin

Building cygwin 32 doc (with latest packages, git sources, after running 
winsup/autogen.sh) get the following doc build failure (not on cygwin 64 
- all builds okay) - anyone seen this before and any clue where to look?

$ ../configure && make
...
Making all in doc
make[3]: Entering directory 
'$HOME/src/cygwin/newlib-cygwin/build32/i686-pc-cygwin/winsup/doc'
xmlto --skip-validation --with-dblatex pdf -o cygwin-ug-net/ -m 
../../../../winsup/doc/fo.xsl ../../../../winsup/doc/cygwin-ug-net.xml
Traceback (most recent call last):
   File "/usr/bin/dblatex", line 3, in <module>
     from dbtexmf.dblatex import dblatex
ModuleNotFoundError: No module named 'dbtexmf'
make[3]: *** [Makefile:756: cygwin-ug-net/cygwin-ug-net.pdf] Error 1
make[3]: Leaving directory 
'$HOME/src/cygwin/newlib-cygwin/build32/i686-pc-cygwin/winsup/doc'
...
$ cygcheck -c dblatex ImageMagick ghostscript libxslt python38 texlive 
texlive-collection-bibtexextra texlive-collection-binextra 
texlive-collection-latexextra texlive-collection-mathscience transfig 
xmlto docbook-xsl libxml2 libxslt util-linux w3m
Cygwin Package Information
Package                        Version         Status
dblatex                        0.3.12-1        OK
docbook-xsl                    1.77.1-1        OK
ghostscript                    9.54.0-1        OK
ImageMagick                    7.0.10.27-2     OK
libxml2                        2.9.10-2        OK
libxslt                        1.1.29-1        OK
python38                       3.8.12-1        OK
texlive                        20210325-1      OK
texlive-collection-bibtexextra 20210325-1      OK
texlive-collection-binextra    20210325-1      OK
texlive-collection-latexextra  20210325-1      OK
texlive-collection-mathscience 20210325-2      OK
transfig                       3.2.8b-1        OK
util-linux                     2.33.1-2        OK
w3m                            0.5.3-3         OK
xmlto                          0.0.28-1        OK

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cygwin 32 doc build failure
  2021-12-23 17:35 Cygwin 32 doc build failure Brian Inglis
@ 2021-12-23 19:39 ` Ken Brown
  2021-12-23 19:54   ` Marco Atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown @ 2021-12-23 19:39 UTC (permalink / raw)
  To: cygwin

On 12/23/2021 12:35 PM, Brian Inglis wrote:
> Building cygwin 32 doc (with latest packages, git sources, after running 
> winsup/autogen.sh) get the following doc build failure (not on cygwin 64 - all 
> builds okay) - anyone seen this before and any clue where to look?
> 
> $ ../configure && make
> ...
> Making all in doc
> make[3]: Entering directory 
> '$HOME/src/cygwin/newlib-cygwin/build32/i686-pc-cygwin/winsup/doc'
> xmlto --skip-validation --with-dblatex pdf -o cygwin-ug-net/ -m 
> ../../../../winsup/doc/fo.xsl ../../../../winsup/doc/cygwin-ug-net.xml
> Traceback (most recent call last):
>    File "/usr/bin/dblatex", line 3, in <module>
>      from dbtexmf.dblatex import dblatex
> ModuleNotFoundError: No module named 'dbtexmf'

It looks like dblatex needs python3.8.  Does your 32-bit installation have 
python3 pointing to python3.8?

$ /usr/sbin/alternatives.exe --display python3
python3 - status is auto.
  link currently points to /usr/bin/python3.8
/usr/bin/python3.8 - priority 38
Current `best' version is /usr/bin/python3.8.

Ken

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cygwin 32 doc build failure
  2021-12-23 19:39 ` Ken Brown
@ 2021-12-23 19:54   ` Marco Atzeri
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2021-12-23 19:54 UTC (permalink / raw)
  To: cygwin

On 23.12.2021 20:39, Ken Brown wrote:
> On 12/23/2021 12:35 PM, Brian Inglis wrote:
>> Building cygwin 32 doc (with latest packages, git sources, after 
>> running winsup/autogen.sh) get the following doc build failure (not on 
>> cygwin 64 - all builds okay) - anyone seen this before and any clue 
>> where to look?
>>

> 
> It looks like dblatex needs python3.8.  Does your 32-bit installation 
> have python3 pointing to python3.8?
> 
> $ /usr/sbin/alternatives.exe --display python3
> python3 - status is auto.
>   link currently points to /usr/bin/python3.8
> /usr/bin/python3.8 - priority 38
> Current `best' version is /usr/bin/python3.8.
> 
> Ken
> 

side effect of adding python3.9

I will repack dblatex to remove this issue.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-23 19:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-23 17:35 Cygwin 32 doc build failure Brian Inglis
2021-12-23 19:39 ` Ken Brown
2021-12-23 19:54   ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).