[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spurious "write error" on parallel builds

From: Carl-Johan Kjellander
Subject: Re: Spurious "write error" on parallel builds
Date: Wed, 30 Jul 2014 11:56:30 +0200

On Wed, Jul 30, 2014 at 11:09 AM, Gisle Vanem <address@hidden> wrote:
"Carl-Johan Kjellander" <address@hidden> wrote:

Here is one that fails on .../mysql and notice that there is no
"make[1]: Entering directory `/home/cjk/git/campanja/superdev/apps/mysql'":

Your paste says "write error", but the in the GNU-make sources I have, it says
"write error: stdout".  Ref. output.c line 495 + 497. Maybe you can try to
compile GNU-make yourself from git and see if that makes a difference? Do a:
 git clone git://git.sv.gnu.org/make.git <checkout-dir>

According to the history of output.c at:

the "write error" message was changed at 24 November 2013. Ref:

Sure, I can try. Latest git master:

So bug is still there. However...

While searching for instructions on how to compile 'make' (the INSTALL FILE
doesn't really say that you need to run 'make update') I found this page:

Let's see what --output-sync=target does?

So turning on output syncing actually works around the problem, I assume by
closing the standard file descriptors and redirecting them to pipes back to the
main make process before forking. Now I just have to build make-4.0 for ubuntu
12.04LTS and mac and get that distributed to all machines and teach people
to sync their output.

Any ideas about the original bug though?

 From https://github.com/klarna/stdapp.mk, it seems you're building some  Erlang programs?. Some Klarna/LM Ericsson language? I used to work for  LM Ericsson Oy AB in Finland a long time ago.

Yes, both Klarna and Campanja have huge Erlang code bases. Stdapp,mk was made by Richard Carlsson at Klarna for compiling huge Erlang projects.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]