View Issue Details

IDProjectCategoryView StatusLast Update
0001611GNUnetbuild processpublic2010-10-22 21:35
Reportertoelke Assigned ToChristian Grothoff  
PrioritynoneSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Summary0001611: A concurrent "make" fails with dependency-errors
DescriptionTo reproduce:

$ make clean
$ make -j 2

Error-message:
[...]
libtool: compile: ccache gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -fno-strict-aliasing -Wall -Wall -Werror -g -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c signal.c -fPIC -DPIC -o .libs/signal.o
libtool: compile: ccache gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -fno-strict-aliasing -Wall -Wall -Werror -g -MT strings.lo -MD -MP -MF .deps/strings.Tpo -c strings.c -fPIC -DPIC -o .libs/strings.o
mv -f .deps/signal.Tpo .deps/signal.Plo
/bin/sh ../../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -fno-strict-aliasing -Wall -Wall -Werror -g -MT time.lo -MD -MP -MF .deps/time.Tpo -c -o time.lo time.c
mv -f .deps/strings.Tpo .deps/strings.Plo
/bin/sh ../../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -fno-strict-aliasing -Wall -Wall -Werror -g -MT test_plugin_plug.lo -MD -MP -MF .deps/test_plugin_plug.Tpo -c -o test_plugin_plug.lo test_plugin_plug.c
libtool: compile: ccache gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -fno-strict-aliasing -Wall -Wall -Werror -g -MT test_plugin_plug.lo -MD -MP -MF .deps/test_plugin_plug.Tpo -c test_plugin_plug.c -fPIC -DPIC -o .libs/test_plugin_plug.o
libtool: compile: ccache gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -fno-strict-aliasing -Wall -Wall -Werror -g -MT time.lo -MD -MP -MF .deps/time.Tpo -c time.c -fPIC -DPIC -o .libs/time.o
mv -f .deps/test_plugin_plug.Tpo .deps/test_plugin_plug.Plo
ccache gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -fno-strict-aliasing -Wall -Wall -Werror -g -MT gnunet-service-resolver.o -MD -MP -MF .deps/gnunet-service-resolver.Tpo -c -o gnunet-service-resolver.o gnunet-service-resolver.c
make[3]: *** No rule to make target `../../src/util/libgnunetutil.la', needed by `gnunet-service-resolver'. Stop.
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/time.Tpo .deps/time.Plo
mv -f .deps/gnunet-service-resolver.Tpo .deps/gnunet-service-resolver.Po
make[3]: Leaving directory `/home/me/prog/uni/gnunet/src/util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/me/prog/uni/gnunet/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/prog/uni/gnunet'
make: *** [all] Error 2

Expected result:
Clean build

Workaround:
Start make with option -j1 or restart with -j2 after error.
TagsNo tags attached.

Activities

Christian Grothoff

2010-10-22 21:35

manager   ~0004135

We don't expect this to work. Don't use -j2.

Issue History

Date Modified Username Field Change
2010-10-22 12:50 toelke New Issue
2010-10-22 21:35 Christian Grothoff Note Added: 0004135
2010-10-22 21:35 Christian Grothoff Assigned To => Christian Grothoff
2010-10-22 21:35 Christian Grothoff Priority normal => none
2010-10-22 21:35 Christian Grothoff Status new => closed
2010-10-22 21:35 Christian Grothoff Resolution open => won't fix