unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Parallel make help needed
@ 2014-11-08 18:47 Jan D.
  2014-11-08 19:34 ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Jan D. @ 2014-11-08 18:47 UTC (permalink / raw)
  To: emacs-devel

Hello.

Whenever I make bootstrap -jX where X > 1 I get this error:

../../../current/build-aux/install-sh -c -d 
../../../current/doc/lispref/../../info
../../../current/build-aux/install-sh -c -d 
../../../current/doc/lispintro/../../info
../current/build-aux/install-sh -c -d ../current/info
../../../current/build-aux/install-sh -c -d 
../../../current/doc/emacs/../../info
../../../current/build-aux/install-sh -c -d 
../../../current/doc/misc/../../info
makeinfo --force -I../../../current/doc/misc/../emacs --no-split -o 
../../../current/doc/misc/../../info/ccmode.info 
../../../current/doc/misc/cc-mode.texi
../../../current/doc/misc/../../info/ccmode.info: No such file or directory
make[3]: *** [../../../current/doc/misc/../../info/ccmode.info] Error 1
make[3]: *** Waiting for unfinished jobs....
mkdir: ../../../current/doc/lispintro/../../info: File exists
mkdir: ../current/info: File exists

It looks like there is a race in creation of current/info.
How does one go about debugging this?

	Jan D.



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

* Re: Parallel make help needed
  2014-11-08 18:47 Parallel make help needed Jan D.
@ 2014-11-08 19:34 ` Glenn Morris
  2014-11-09 12:04   ` Jan D.
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2014-11-08 19:34 UTC (permalink / raw)
  To: Jan D.; +Cc: emacs-devel


http://lists.gnu.org/archive/html/emacs-diffs/2014-11/msg00116.html

may help, but you may want to investigate why you apparently don't have
a working 'mkdir -p' on your system, and also check your
build-aux/install-sh version (see doc of AC_PROG_MKDIR_P).





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

* Re: Parallel make help needed
  2014-11-08 19:34 ` Glenn Morris
@ 2014-11-09 12:04   ` Jan D.
  2014-11-09 19:40     ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Jan D. @ 2014-11-09 12:04 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

Glenn Morris skrev den 2014-11-08 20:34:
>
> http://lists.gnu.org/archive/html/emacs-diffs/2014-11/msg00116.html
>
> may help, but you may want to investigate why you apparently don't have
> a working 'mkdir -p' on your system,

Thats easy, it is not a GNU mkdir.

> and also check your
> build-aux/install-sh version (see doc of AC_PROG_MKDIR_P).
>

And now it works without errors.  I'll see if it comes back.

Thanks,

	Jan D.





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

* Re: Parallel make help needed
  2014-11-09 12:04   ` Jan D.
@ 2014-11-09 19:40     ` Glenn Morris
  2014-11-09 21:28       ` Jan D.
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2014-11-09 19:40 UTC (permalink / raw)
  To: Jan D.; +Cc: emacs-devel

"Jan D." wrote:

>> may help, but you may want to investigate why you apparently don't have
>> a working 'mkdir -p' on your system,
>
> Thats easy, it is not a GNU mkdir.

https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Limitations-of-Usual-Tools.html

says that non-ancient BSD mkdir's are parallel-safe. Isn't that what OS X uses?
Anyway, that would be something to take up with the autoconf folks.

> And now it works without errors.  I'll see if it comes back.

It was probably the ccmode issue. It sorted of looked as if your
install-sh was not parallel-safe, but that may have been a bogus
conclusion.



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

* Re: Parallel make help needed
  2014-11-09 19:40     ` Glenn Morris
@ 2014-11-09 21:28       ` Jan D.
  0 siblings, 0 replies; 5+ messages in thread
From: Jan D. @ 2014-11-09 21:28 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

Hi.



> 9 nov 2014 kl. 20:40 skrev Glenn Morris <rgm@gnu.org>:
> 
> "Jan D." wrote:
> 
>>> may help, but you may want to investigate why you apparently don't have
>>> a working 'mkdir -p' on your system,
>> 
>> Thats easy, it is not a GNU mkdir.
> 
> https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Limitations-of-Usual-Tools.html
> 
> says that non-ancient BSD mkdir's are parallel-safe. Isn't that what OS X uses?

Yes, but the configure test only checks for Gnu mkdir.  If not, it is install-sh.

> Anyway, that would be something to take up with the autoconf folks.
> 
>> And now it works without errors.  I'll see if it comes back.
> 
> It was probably the ccmode issue. It sorted of looked as if your
> install-sh was not parallel-safe, but that may have been a bogus
> conclusion.


That was probably it. 

          Jan D.


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

end of thread, other threads:[~2014-11-09 21:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-08 18:47 Parallel make help needed Jan D.
2014-11-08 19:34 ` Glenn Morris
2014-11-09 12:04   ` Jan D.
2014-11-09 19:40     ` Glenn Morris
2014-11-09 21:28       ` Jan D.

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