X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_JX
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Oleksandr Gavenko <gavenkoa@gmail.com>
Subject: I try build cygwin-doc-1.7-1 without success.
Date: Wed, 09 Nov 2011 22:44:18 +0200
Lines: 90
Message-ID: <87aa85do0t.fsf@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (windows-nt)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Motivation to do this is to fix issue with incorrect info header for 'libc.info'
and 'libm.info'.

Instead:

  START-INFO-DIR-ENTRY
  * libm::                   An ANSI-C conforming mathematical library.
  END-INFO-DIR-ENTRY

'libm.info' should contain:

  INFO-DIR-SECTION Cygwin
  START-INFO-DIR-ENTRY
  * libm: (libm).            An ANSI-C conforming mathematical library.
  END-INFO-DIR-ENTRY

With first variant 'info libm' show man page instead info page.

Also Emacs from Cygwin show error:

  byte-code: No such node or anchor: libm

With second variant all utils work fine.

I get sources (cygwin-doc-1.7-1-src.tar.bz2) from mirror:

  $ tar jxf cygwin-doc-1.7-1-src.tar.bz2
  $ cd cygwin-doc-1.7-1
  $ mkdir _build _dist
  $ cd _build
  $ ../configure

Get error in 'configure' on line:

  soc=$(find  /usr/share/sgml/[Oo]pen[Ss]p* -name xml.soc)

as my Cygwin installation have /usr/share/sgml/OpenSP path (last chat is
capital).

I fix 'configure' to:

  soc=$(find  /usr/share/sgml/[Oo]pen[Ss][Pp]* -name xml.soc)

and get 'Makefile'. 'Makefile' build failed with a lot of errors and warnings:

  $ make cygwin2info
creating cygwin texi files
for f in src/*/*.sgml; do \
	    docbook2texi -o src/texi -e no-idref -e no-significant -e no-valid -c /usr/share/sgml/OpenSP/xml.soc -d src/cygwin.dsl $f; \
	done
Using catalogs: /etc/sgml/sgml-docbook-4.5.cat, /usr/share/sgml/OpenSP/xml.soc
Using stylesheet: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/cygwin.dsl
Working on: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/cygwin-api.sgml
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd:116:17:E: "X20AC" is not a function name
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsa.ent:42:29:E: "X021B6" is not a function name
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsa.ent:43:29:E: "X021B7" is not a function name
....
nsgmls:I: maximum number of errors (200) reached; change with -E option
Done.
Using catalogs: /etc/sgml/sgml-docbook-4.5.cat, /usr/share/sgml/OpenSP/xml.soc
Using stylesheet: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/cygwin.dsl
Working on: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/cygwin-ug-net.sgml
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd:116:17:E: "X20AC" is not a function name
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsa.ent:42:29:E: "X021B6" is not a function name
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsa.ent:43:29:E: "X021B7" is not a function name
.....
nsgmls:I: maximum number of errors (200) reached; change with -E option
Done.
Using catalogs: /etc/sgml/sgml-docbook-3.0.cat, /usr/share/sgml/OpenSP/xml.soc
Using stylesheet: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/cygwin.dsl
Working on: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/dll_init.sgml
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/dll_init.sgml:2:0:E: prolog can't be omitted unless CONCUR NO and LINK EXPLICIT NO and either IMPLYDEF ELEMENT YES or IMPLYDEF DOCTYPE YES
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/dll_init.sgml:2:0:E: no document type declaration; will parse without validation
........
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/utils/utils.sgml:564:9: entity was defined here
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/utils/utils.sgml:564:28:E:
reference to entity "gt" for which no system identifier could be generated
.......
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/utils/utils.sgml:1810:12:E: reference to entity "amp" for which no system identifier could be generated
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/utils/utils.sgml:590:57: entity was defined here
make: *** [cygwin2info] Error 8

What do I wrong?

I am build on Cygwin 1.7, is this correct or I must do this on Linux?

Where VCS for this package?

-- 
Best regards!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

