all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
@ 2017-01-03 19:56 Sam Steingold
  2017-01-03 20:00 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sam Steingold @ 2017-01-03 19:56 UTC (permalink / raw
  To: 25347

In GNU Emacs 26.0.50.3 (x86_64-apple-darwin16.3.0, NS appkit-1504.76 Version 10.12.2 (Build 16C67))
 of 2017-01-03 built on clr-sds
Repository revision: 134e86b360cab0d0a5cb634b71a4b06ec26c5f1f
Windowing system distributor 'Apple', version 10.3.1504

I get

--8<---------------cut here---------------start------------->8---
cd ../.. && /bin/sh /Users/sds/src/emacs/trunk/build-aux/missing automake-1.15 --gnu lib/Makefile
automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
--8<---------------cut here---------------end--------------->8---

on mac because of

10444dc..: Eli Zaretskii 2017-01-03 Generate nt/gnulib.mk from lib/gnulib.mk

(I think)

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net http://jij.org
https://ffii.org http://honestreporting.com http://iris.org.il
Microsoft wants to monopolize the right to be a monopoly.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
  2017-01-03 19:56 bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory Sam Steingold
@ 2017-01-03 20:00 ` Eli Zaretskii
  2017-01-03 20:26   ` Sam Steingold
  2017-01-04  8:55 ` Paul Eggert
  2017-01-04 14:11 ` Kaushal Modi
  2 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2017-01-03 20:00 UTC (permalink / raw
  To: sds; +Cc: 25347

> From: Sam Steingold <sds@gnu.org>
> Cc: Eli Zaretskii <eliz@gnu.org>
> Date: Tue, 03 Jan 2017 14:56:01 -0500
> 
> In GNU Emacs 26.0.50.3 (x86_64-apple-darwin16.3.0, NS appkit-1504.76 Version 10.12.2 (Build 16C67))
>  of 2017-01-03 built on clr-sds
> Repository revision: 134e86b360cab0d0a5cb634b71a4b06ec26c5f1f
> Windowing system distributor 'Apple', version 10.3.1504
> 
> I get
> 
> --8<---------------cut here---------------start------------->8---
> cd ../.. && /bin/sh /Users/sds/src/emacs/trunk/build-aux/missing automake-1.15 --gnu lib/Makefile
> automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
> --8<---------------cut here---------------end--------------->8---
> 
> on mac because of
> 
> 10444dc..: Eli Zaretskii 2017-01-03 Generate nt/gnulib.mk from lib/gnulib.mk
> 
> (I think)

Rerun autogen.sh.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
  2017-01-03 20:00 ` Eli Zaretskii
@ 2017-01-03 20:26   ` Sam Steingold
  2017-01-04 16:08     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Sam Steingold @ 2017-01-03 20:26 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: 25347

thanks, looks like it worked.
however, autogen.sh complained :

sed: -: No such file or directory

On Tue, Jan 3, 2017 at 3:00 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Sam Steingold <sds@gnu.org>
>> Cc: Eli Zaretskii <eliz@gnu.org>
>> Date: Tue, 03 Jan 2017 14:56:01 -0500
>>
>> In GNU Emacs 26.0.50.3 (x86_64-apple-darwin16.3.0, NS appkit-1504.76 Version 10.12.2 (Build 16C67))
>>  of 2017-01-03 built on clr-sds
>> Repository revision: 134e86b360cab0d0a5cb634b71a4b06ec26c5f1f
>> Windowing system distributor 'Apple', version 10.3.1504
>>
>> I get
>>
>> --8<---------------cut here---------------start------------->8---
>> cd ../.. && /bin/sh /Users/sds/src/emacs/trunk/build-aux/missing automake-1.15 --gnu lib/Makefile
>> automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
>> --8<---------------cut here---------------end--------------->8---
>>
>> on mac because of
>>
>> 10444dc..: Eli Zaretskii 2017-01-03 Generate nt/gnulib.mk from lib/gnulib.mk
>>
>> (I think)
>
> Rerun autogen.sh.



-- 
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net>
<http://steingoldpsychology.com>





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
  2017-01-03 19:56 bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory Sam Steingold
  2017-01-03 20:00 ` Eli Zaretskii
@ 2017-01-04  8:55 ` Paul Eggert
  2017-01-04 14:11 ` Kaushal Modi
  2 siblings, 0 replies; 6+ messages in thread
From: Paul Eggert @ 2017-01-04  8:55 UTC (permalink / raw
  To: sds; +Cc: 25347

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

We should not be seeing this problem at all on Darwin, as lib/Makefile.am's 
include directive is protected inside an 'if BUILDING_FOR_WINDOWSNT'.... Oh, I 
see, the problem is that we are using a Automake conditional -- these days we 
assume GNU make so this should just be an ordinary GNU make conditional, which 
would have avoided the problem.

Anyway, I installed the attached patch to work around the immediate issue; 
please give it a try.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Port-recent-autogen.sh-changes-to-Darwin.patch --]
[-- Type: text/x-diff; name="0001-Port-recent-autogen.sh-changes-to-Darwin.patch", Size: 1288 bytes --]

From c18a524602e02afaf63ab2083b350f3d69fb8ccb Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Wed, 4 Jan 2017 00:44:45 -0800
Subject: [PATCH] Port recent autogen.sh changes to Darwin

Problem reported by Sam Steingold (Bug#25347).
* autogen.sh: Don't assume 'sed -f-' reads a script from stdin, as
POSIX does not require it and it does not work on Darwin.
---
 autogen.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/autogen.sh b/autogen.sh
index 91e1e2c..f6bfde6 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -223,7 +223,10 @@ do_git=
 
   ## Create nt/gnulib.mk if it doesn't exist, as autoreconf will need it.
   if test ! -f nt/gnulib.mk; then
-      sed '/^[^#]/s|^.*$|/^## begin  *gnulib module &/,/^## end  *gnulib module &/c ## gnulib module & removed|' nt/gnulib-modules-to-delete.cfg | sed -f- lib/gnulib.mk > nt/gnulib.mk
+      echo 'Inferring nt/gnulib.mk from lib/gnulib.mk ...'
+      metascript='/^[^#]/s|^.*$|/^## begin  *gnulib module &/,/^## end  *gnulib module &/c ## gnulib module & removed|'
+      script=`sed "$metascript" nt/gnulib-modules-to-delete.cfg` || exit
+      sed "$script" lib/gnulib.mk > nt/gnulib.mk || exit
   fi
 
   echo "Running 'autoreconf -fi -I m4' ..."
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
  2017-01-03 19:56 bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory Sam Steingold
  2017-01-03 20:00 ` Eli Zaretskii
  2017-01-04  8:55 ` Paul Eggert
@ 2017-01-04 14:11 ` Kaushal Modi
  2 siblings, 0 replies; 6+ messages in thread
From: Kaushal Modi @ 2017-01-04 14:11 UTC (permalink / raw
  To: 25347

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

I faced this problem too.

Running autogen.sh first fixed the problem.
-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 218 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
  2017-01-03 20:26   ` Sam Steingold
@ 2017-01-04 16:08     ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2017-01-04 16:08 UTC (permalink / raw
  To: Sam Steingold; +Cc: 25347

> From: Sam Steingold <sds@gnu.org>
> Date: Tue, 3 Jan 2017 15:26:30 -0500
> Cc: bug-gnu-emacs@gnu.org
> 
> thanks, looks like it worked.
> however, autogen.sh complained :
> 
> sed: -: No such file or directory

I believe Paul already fixed this.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-04 16:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-03 19:56 bug#25347: 26.0.50; automake-1.15: error: cannot open < lib/../nt/gnulib.mk: No such file or directory Sam Steingold
2017-01-03 20:00 ` Eli Zaretskii
2017-01-03 20:26   ` Sam Steingold
2017-01-04 16:08     ` Eli Zaretskii
2017-01-04  8:55 ` Paul Eggert
2017-01-04 14:11 ` Kaushal Modi

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.