Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1300

Test failures with parallel builds (make -j)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.9.2
    • Test Suite
    • None

    Description

      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.

      ../../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....
      

      Attachments

        Activity

          People

            jfarrell Jake Farrell
            diwaker Diwaker Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: