Test failures with parallel builds (make -j)
--------------------------------------------
Key: THRIFT-1300
URL: https://issues.apache.org/jira/browse/THRIFT-1300
Project: Thrift
Issue Type: Bug
Components: Test Suite
Affects Versions: 0.7
Reporter: Diwaker Gupta
Simply running 'make' works fine -- builds the library, builds the tests etc.
Running 'make -j 12' fails when building the tests. Note that this worked fine
with 0.6.0.
{noformat}
../../compiler/cpp/thrift --gen cpp:templates,cob_style -r
../../test/ThriftTest.thrift
if /bin/bash ../../libtool --tag=CXX --mode=compile
x86_64-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I../../lib/cpp/src -Igen-cpp -O2 -Wall -pipe -L<snip> -I<snip> -Wall -O2
-Wall -pipe -MT ThriftTest_types.lo -MD -MP -MF ".deps/ThriftTest_types.Tpo" -c
-o ThriftTest_types.lo `test -f 'gen-cpp/ThriftTest_types.cpp' || echo
'./'`gen-cpp/ThriftTest_types.cpp; \
then mv -f ".deps/ThriftTest_types.Tpo" ".deps/ThriftTest_types.Plo";
else rm -f ".deps/ThriftTest_types.Tpo"; exit 1; fi
../../compiler/cpp/thrift --gen cpp ../../test/StressTest.thrift
../../compiler/cpp/thrift --gen cpp ../../test/StressTest.thrift
make[4]: *** No rule to make target `gen-cpp/Service.cpp', needed by
`Service.lo'. Stop.
make[4]: *** Waiting for unfinished jobs....
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira