Building from latest git master no longer builds winsup...

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Fri Jul 16 15:35:51 GMT 2021


On 2021-07-14 12:44, Brian Inglis wrote:
> On 2021-07-14 11:48, Ken Brown via Cygwin wrote:
>> On 7/14/2021 1:13 PM, Brian Inglis wrote:
>>> Building from latest git master does not build winsup... only newlib.
>> Did you run winsup/autogen.sh?  See
>>    https://cygwin.com/pipermail/cygwin-developers/2021-June/012161.html

Build now works on winsup but quits at doc - log extract attached:

	$ egrep -A5 'db2|docbook2' build64.log

docbook2x-texi --xinclude --info --utf8trans-map=charmap 
../../../../winsup/doc/cygwin-api.xml --string-param output-file=cygwin-api
could not find ParserDetails.ini in 
/usr/share/perl5/vendor_perl/5.32/XML/SAX
could not open -: No such file or directory
/usr/bin/db2x_texixml: program in pipeline exited with an error
make[3]: *** [Makefile:773: cygwin-api.info] Error 1
make[3]: Leaving directory 
'$HOME/src/cygwin/newlib-cygwin/build64/x86_64-pc-cygwin/winsup/doc'

However there was left behind:

	/usr/share/perl5/vendor_perl/5.30/XML/SAX/ParserDetails.ini

which I copied to the failing path above:

$ head /usr/share/perl5/vendor_perl/5.32/XML/SAX/ParserDetails.ini
[XML::SAX::PurePerl]
http://xml.org/sax/features/namespaces = 1

and reran resulting in:

docbook2x-texi --xinclude --info --utf8trans-map=charmap 
../../../../winsup/doc/cygwin-api.xml --string-param output-file=cygwin-api
could not open -: No such file or directory
/usr/bin/db2x_texixml: program in pipeline exited with an error
make[3]: *** [Makefile:773: cygwin-api.info] Error 1
make[3]: Leaving directory 
'$HOME/src/cygwin/newlib-cygwin/build64/x86_64-pc-cygwin/winsup/doc'

from newlib-cygwin/build64/x86_64-pc-cygwin/winsup/doc/Makefile:

cygwin-api.info: $(cygwin-api_SOURCES) charmap
           $(DOCBOOK2XTEXI) $(srcdir)/cygwin-api.xml --string-param 
output-file=cygwin-api

However Cygwin 32 builds completely with complaints about 
ParserDetails.ini.
I've updated docs a number of times and had few build issues.
Anyone seen this or similar and have any suggestions?
Are there any new additions or changes to doc generation requirements?

-- 
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.]
-------------- next part --------------
checking for x86_64-pc-cygwin-objcopy... objcopy
checking for x86_64-pc-cygwin-objdump... objdump
checking for x86_64-pc-cygwin-ranlib... ranlib
checking for x86_64-pc-cygwin-strip... strip
checking for x86_64-pc-cygwin-windres... windres
checking for docbook2x-texi... docbook2x-texi
checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking for bfd_init in -lbfd... yes
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
--
Note: Writing setmetamode.1
Note: Writing ssp.1
Note: Writing strace.1
Note: Writing tzset.1
Note: Writing umount.1
cp /usr/share/docbook2X/charmaps/texi.charmap charmap
echo "ae (R)" >>charmap
docbook2x-texi --xinclude --info --utf8trans-map=charmap ../../../../winsup/doc/cygwin-api.xml --string-param output-file=cygwin-api
could not find ParserDetails.ini in /usr/share/perl5/vendor_perl/5.32/XML/SAX
could not open -: No such file or directory
/usr/bin/db2x_texixml: program in pipeline exited with an error
make[3]: *** [Makefile:773: cygwin-api.info] Error 1
make[3]: Leaving directory '$HOME/src/cygwin/newlib-cygwin/build64/x86_64-pc-cygwin/winsup/doc'
make[2]: *** [Makefile:399: all-recursive] Error 1
make[2]: Leaving directory '$HOME/src/cygwin/newlib-cygwin/build64/x86_64-pc-cygwin/winsup'
make[1]: *** [Makefile:9464: all-target-winsup] Error 2
--
make[3]: Entering directory '$HOME/src/cygwin/newlib-cygwin/build64/x86_64-pc-cygwin/winsup/cygserver'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '$HOME/src/cygwin/newlib-cygwin/build64/x86_64-pc-cygwin/winsup/cygserver'
Making all in doc
make[3]: Entering directory '$HOME/src/cygwin/newlib-cygwin/build64/x86_64-pc-cygwin/winsup/doc'
docbook2x-texi --xinclude --info --utf8trans-map=charmap ../../../../winsup/doc/cygwin-api.xml --string-param output-file=cygwin-api
could not open -: No such file or directory
/usr/bin/db2x_texixml: program in pipeline exited with an error
make[3]: *** [Makefile:773: cygwin-api.info] Error 1
make[3]: Leaving directory '$HOME/src/cygwin/newlib-cygwin/build64/x86_64-pc-cygwin/winsup/doc'
make[2]: *** [Makefile:399: all-recursive] Error 1
make[2]: Leaving directory '$HOME/src/cygwin/newlib-cygwin/build64/x86_64-pc-cygwin/winsup'
make[1]: *** [Makefile:9464: all-target-winsup] Error 2


More information about the Cygwin mailing list