unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Mattias Engdegård" <mattiase@acm.org>, emacs-devel@gnu.org, rgm@gnu.org
Subject: Re: master 9e94509 3/3: Generate info/dir directly from any org sources
Date: Sat, 06 Mar 2021 15:31:58 +0000	[thread overview]
Message-ID: <877dmkti1d.fsf@tcd.ie> (raw)
In-Reply-To: <837dmkwd2c.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 06 Mar 2021 16:51:07 +0200")

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

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Mattias Engdegård <mattiase@acm.org>
>> Date: Sat, 6 Mar 2021 15:16:21 +0100
>> Cc: Glenn Morris <rgm@gnu.org>, emacs-devel@gnu.org
>> 
>> 6 mars 2021 kl. 12.51 skrev Basil L. Contovounesios <contovob@tcd.ie>:
>> 
>> > -texi_misc = $(shell ${MAKE} --no-print-directory -s -C doc/misc echo-sources)
>> > +texi_misc = $(shell ${MAKE} --no-print-directory -O -s -C doc/misc echo-sources)
>> 
>> Maybe configure should check for the required GNU Make version then?
>> (Om macOS, the system standard is 3.81, which worked until this
>> change.)
>
> Indeed, it broke my builds as well.  So I reverted the change for now,
> until we find a gentler one.  I don't want us to depend on a Make
> version that is too recent.

I'm sorry about the breakage.

How's the following (hopefully gentler) workaround instead?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Try-another-fix-for-parallel-Make-subshell-output.patch --]
[-- Type: text/x-diff, Size: 1467 bytes --]

From 6a9fe04962ee4b092df6b09e99a3aa422e080c0a Mon Sep 17 00:00:00 2001
From: "Basil L. Contovounesios" <contovob@tcd.ie>
Date: Sat, 6 Mar 2021 15:24:33 +0000
Subject: [PATCH] Try another fix for parallel Make subshell output

For discussion, see the following thread:
https://lists.gnu.org/r/emacs-devel/2021-03/msg00255.html

* Makefile.in (srcdir_doc_info_dir_inputs): Discard interspersed
parallel Make output from texi_misc.
---
 Makefile.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 856c29a453..fc5381bc3e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1008,13 +1008,17 @@ misc-dvi misc-html misc-pdf misc-ps:
 
 info-dir: ${srcdir}/info/dir
 
+# FIXME: This subshell output can be interspersed with parallel Make
+# output.  The current workaround is to filter only words that look
+# like the file names we expect.  An alternative workaround is to pass
+# the -O option, but that is not supported by older Make versions.
 texi_misc = $(shell ${MAKE} --no-print-directory -s -C doc/misc echo-sources)
 
 srcdir_doc_info_dir_inputs = \
   ${srcdir}/doc/emacs/emacs.texi \
   ${srcdir}/doc/lispintro/emacs-lisp-intro.texi \
   ${srcdir}/doc/lispref/elisp.texi \
-  $(addprefix ${srcdir}/doc/misc/,${texi_misc})
+  $(addprefix ${srcdir}/doc/misc/,$(filter %.texi %.org,${texi_misc}))
 info_dir_inputs = \
   ../build-aux/dir_top \
   $(subst ${srcdir}/doc/,,${srcdir_doc_info_dir_inputs})
-- 
2.30.1


[-- Attachment #3: Type: text/plain, Size: 20 bytes --]


Thanks,

-- 
Basil

  reply	other threads:[~2021-03-06 15:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210304184723.8249.29253@vcs0.savannah.gnu.org>
     [not found] ` <20210304184725.15B2320E1B@vcs0.savannah.gnu.org>
2021-03-05 12:03   ` master 9e94509 3/3: Generate info/dir directly from any org sources Basil L. Contovounesios
2021-03-05 19:17     ` Glenn Morris
2021-03-06 11:51       ` Basil L. Contovounesios
2021-03-06 13:49         ` Lars Ingebrigtsen
2021-03-06 14:09           ` Basil L. Contovounesios
2021-03-06 14:16         ` Mattias Engdegård
2021-03-06 14:51           ` Eli Zaretskii
2021-03-06 15:31             ` Basil L. Contovounesios [this message]
2021-03-06 15:51               ` Eli Zaretskii
2021-03-06 17:21                 ` Basil L. Contovounesios
2021-03-06 17:23               ` Andreas Schwab
2021-03-06 17:37                 ` Basil L. Contovounesios
2021-03-06 18:10                   ` Andreas Schwab
2021-03-06 18:34                     ` Basil L. Contovounesios
2021-03-06 17:28         ` Glenn Morris
2021-03-06 17:41           ` Basil L. Contovounesios
2021-03-06 17:47             ` Glenn Morris
2021-03-06 19:12               ` Glenn Morris
2021-03-06 20:15                 ` Basil L. Contovounesios
2022-01-05 16:58                   ` Philipp Stephani
2022-01-05 17:09                     ` Eli Zaretskii
2021-03-06 20:40                 ` Eli Zaretskii

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/emacs/

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

  git send-email \
    --in-reply-to=877dmkti1d.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mattiase@acm.org \
    --cc=rgm@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).