bug-texinfo
[Top][All Lists]
Advanced

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

race condition in parallel build of texinfo-4.11


From: Michael Haubenwallner
Subject: race condition in parallel build of texinfo-4.11
Date: Thu, 20 Mar 2008 22:52:20 +0100

Hi,

got this error message recently (not really reproducible) while building
texinfo-4.11 in parallel - actually it was during 'gmake install -j4':

----
make[3]: Entering directory 
`/prefix/var/tmp/portage/sys-apps/texinfo-4.11-r1/work/texinfo-4.11/info'
rm -f doc.c key.c funs.h
make[3]: Nothing to be done for `install-data-am'.
..//info/makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c ./indices.c 
./nodemenu.c ./footnotes.c ./variables.c
rm -f doc.c key.c funs.h
i386-pc-solaris2.10-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib 
-I../gnulib/lib -DLOCALEDIR=\"/prefix/usr/share/locale\" 
-DINFODIR=\"/prefix/usr/share/info\" -DINFODIR2=\"/prefix/usr/share/info\" 
-I/prefix/usr/include  -g -O2 -MT key.o -MD -MP -MF .deps/key.Tpo -c -o key.o 
key.c
..//info/makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c ./indices.c 
./nodemenu.c ./footnotes.c ./variables.c
i386-pc-solaris2.10-gcc: key.c: No such file or directory
i386-pc-solaris2.10-gcc: no input files
make[3]: *** [key.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
`/prefix/var/tmp/portage/sys-apps/texinfo-4.11-r1/work/texinfo-4.11/info'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory 
`/prefix/var/tmp/portage/sys-apps/texinfo-4.11-r1/work/texinfo-4.11/info'
make[1]: *** [install] Error 2
make[1]: Leaving directory 
`/prefix/var/tmp/portage/sys-apps/texinfo-4.11-r1/work/texinfo-4.11/info'
make: *** [install-recursive] Error 1
----

I think this must be because of these lines in info/Makefile:

----
        generated_sources = doc.c key.c funs.h
        doc.c: key.c
        key.c: funs.h
        ...
        $(generated_sources): makedoc$(EXEEXT) $(cmd_sources)
                rm -f $(generated_sources)
                $(top_builddir)/$(native_tools)/info/makedoc $(cmd_sources)
----

Attached patch should fix this.

Thanks!

/haubi/

Attachment: texinfo-4.11-parallel.patch
Description: Text Data


reply via email to

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