delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/10/19/14:00:02

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 706A53858C83
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=Denis-Excoffier.org
Authentication-Results: sourceware.org;
spf=fail smtp.mailfrom=Denis-Excoffier.org
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Subject: Errors in building the documentation prevent compilation from
completing properly
Message-Id: <FD4CA95F-913A-44F3-97C9-7AD076E8A991@Denis-Excoffier.org>
Date: Wed, 19 Oct 2022 19:57:30 +0200
To: cygwin AT cygwin DOT com
X-Mailer: Apple Mail (2.3696.120.41.1.1)
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello,

Currently i have docbook2X not working on my system (a perl problem
that i don't know how to repair, but in a few months i will reinstall completely
this C:\Cygwin64 which dates back to 2019).

This means that /usr/share/docbook2X and /usr/bin/docbook2x-texi are missing.
Consequently, no *.info* file is produced.

Nevertheless, i tried to compile cygwin from sources (newlib-cygwin-3.3.6.tar.bz2),
knowing that "Normally, building ignores any errors in building the documentation"
(see https://cygwin.com/faq.html#faq.programming.building-cygwin)

However, in order to 'make' and then 'make install' properly, i had to apply the following
easy patch (below).

Hope this helps,

Regards,

Denis Excoffier.


diff -uNr o/newlib-cygwin/winsup/doc/Makefile.am p/newlib-cygwin/winsup/doc/Makefile.am
--- o/newlib-cygwin/winsup/doc/Makefile.am	2022-09-05 13:09:51.000000000 +0200
+++ p/newlib-cygwin/winsup/doc/Makefile.am	2022-10-19 14:00:03.052557100 +0200
@@ -61,7 +61,7 @@
 
 install-info-local: cygwin-ug-net.info cygwin-api.info
 	@$(MKDIR_P) $(DESTDIR)$(infodir)
-	$(INSTALL_DATA) *.info* $(DESTDIR)$(infodir)
+	-$(INSTALL_DATA) *.info* $(DESTDIR)$(infodir)
 
 install-etc:
 	@$(MKDIR_P) $(DESTDIR)$(sysconfdir)/postinstall
@@ -141,7 +141,7 @@
 
 # this generates a custom charmap for docbook2x-texi which has a mapping for &reg;
 charmap:
-	cp /usr/share/docbook2X/charmaps/texi.charmap charmap
+	-cp /usr/share/docbook2X/charmaps/texi.charmap charmap
 	echo "ae (R)" >>charmap
 
 intro2man.stamp: intro.xml man.xsl




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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019