On Wed, Jul 30, 2014 at 11:09 AM, Gisle Vanem <gva...@yahoo.no> wrote:
> "Carl-Johan Kjellander" <c...@campanja.com> 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'": >> http://pastebin.com/GsTk7bhJ >> > > 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: > http://git.savannah.gnu.org/cgit/make.git/log/output.c > > the "write error" message was changed at 24 November 2013. Ref: > > http://git.savannah.gnu.org/cgit/make.git/commit/output.c?id=757849cd93a9bc361a5113e3aaafe516773aad4 > <http://git.savannah.gnu.org/cgit/make.git/commit/output.c?id=757849cd93a9bc361a5113e3aaafe516773aad44> Sure, I can try. Latest git master: http://pastebin.com/4UEj0zYm 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: http://blog.melski.net/2013/11/29/whats-new-in-gnu-make-4-0/ Let's see what --output-sync=target does? http://pastebin.com/vaMEBkkF 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? > PS. > 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. /cjk
_______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make