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

0.21.0 fails to build from sources at Arch Linux: No rule to make target 'Thrift5272.thrift', needed by 'gen-cpp/Thrift5272_types.h'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • Build Process
    • None

    Description

      I am trying to build the Thrift package as

       

        ./bootstrap.sh

        ./configure --prefix=/usr \

            --enable-plugin \

                    --with-cpp \

                    --with-c_glib \

                    --with-qt5 \

                    --with-libevent \

                    --with-csharp \

                    --without-haskell \

                    --without-php \

                    --without-ruby \

                    --without-python \

                    --without-erlang \

                    --without-perl \

                    --without-java \

                    --without-c_sharp \

                    --without-d \

                    --without-php \

                    --without-go \

                    --without-lua \

                    --without-nodejs

                    

        make

       

      But it fails to compile with this error:

       

      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:378] No field key specified for field1, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:379] No field key specified for field2, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:380] No field key specified for field3, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:381] No field key specified for field4, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:382] No field key specified for field5, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:383] No field key specified for field6, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:384] No field key specified for field7, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:385] No field key specified for field8, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:386] No field key specified for field9, resulting protocol may have make[4]: *** No rule to make target 'Thrift5272.thrift', needed by 'gen-cpp/Thrift5272_types.h'.  Stop.make[4]: *** Waiting for unfinished jobs....conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:387] No field key specified for field10, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:388] No field key specified for field11, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/DebugProtoTest.thrift:389] No field key specified for field12, resulting protocol may have conflicts or not be backwards compatible!
      [WARNING:/build/thrift/src/thrift-0.21.0/test/ThriftTest.thrift:43] No generator named 'noexist' could be found![WARNING:/build/thrift/src/thrift-0.21.0/test/ThriftTest.thrift:45] cpp generator does not accept 'noexist' as sub-namespace!make[4]: Leaving directory '/build/thrift/src/thrift-0.21.0/lib/cpp/test'make[3]: *** [Makefile:1597: all-recursive] Error 1make[3]: Leaving directory '/build/thrift/src/thrift-0.21.0/lib/cpp'make[2]: *** [Makefile:577: all-recursive] Error 1make[2]: Leaving directory '/build/thrift/src/thrift-0.21.0/lib'make[1]: *** [Makefile:699: all-recursive] Error 1make[1]: Leaving directory '/build/thrift/src/thrift-0.21.0'make: *** [Makefile:615: all] Error 2

      Attachments

        Issue Links

          Activity

            People

              jensg Jens Geyer
              anatolikus Anatol Pomozov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m