unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: 39974@debbugs.gnu.org
Subject: bug#39974: Guile fails to build without makeinfo
Date: Sat, 7 Mar 2020 10:53:33 +0100	[thread overview]
Message-ID: <CAPi7W80OJJUan4bjQxbZ3cyxsmGe6-fc1AydPVni2i5aSYbyHA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 989 bytes --]

guile fails to build without makeinfo:

make[4]: Entering directory
'/nvmedata/autobuild/instance-7/output-1/build/host-guile-2.0.14/doc/ref'
  MAKEINFO guile.info
/nvmedata/autobuild/instance-7/output-1/build/host-guile-2.0.14/build-aux/missing:
line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <http://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <http://www.gnu.org/software/make/>

To fix this build failure, the attached patch don't build the doc
subdir if makeinfo is not available.

Fixes:
 - http://autobuild.buildroot.org/results/9605aac6f760bfff190d0ab95fa50f65486ffe90

[-- Attachment #2: 0001-Makefile.am-fix-build-without-makeinfo.patch --]
[-- Type: text/x-patch, Size: 1606 bytes --]

From 9304ad88a5f4b083d348563c5de00da53b34cf46 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Fri, 6 Mar 2020 23:20:39 +0100
Subject: [PATCH] Makefile.am: fix build without makeinfo

Don't build doc subdir if makeinfo is not available otherwise build
fails on:

make[4]: Entering directory '/nvmedata/autobuild/instance-7/output-1/build/host-guile-2.0.14/doc/ref'
  MAKEINFO guile.info
/nvmedata/autobuild/instance-7/output-1/build/host-guile-2.0.14/build-aux/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <http://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <http://www.gnu.org/software/make/>

Fixes:
 - http://autobuild.buildroot.org/results/9605aac6f760bfff190d0ab95fa50f65486ffe90

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 Makefile.am | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index ebbf6d476..2270afb9f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,8 +38,12 @@ SUBDIRS =					\
 	test-suite				\
 	benchmark-suite				\
 	gc-benchmarks				\
-	am					\
+	am
+
+if HAVE_MAKEINFO
+SUBDIRS +=					\
 	doc
+endif
 
 DIST_SUBDIRS = $(SUBDIRS) prebuilt
 
-- 
2.25.0


             reply	other threads:[~2020-03-07  9:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-07  9:53 Fabrice Fontaine [this message]
2020-03-07 16:04 ` bug#39974: Guile fails to build without makeinfo Ludovic Courtès
2020-03-07 16:35   ` Fabrice Fontaine
2020-03-07 20:40     ` Ludovic Courtès
2020-03-07 22:07       ` Fabrice Fontaine
2020-03-08 11:09         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPi7W80OJJUan4bjQxbZ3cyxsmGe6-fc1AydPVni2i5aSYbyHA@mail.gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=39974@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).