You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Anatol Pomozov (Jira)" <ji...@apache.org> on 2024/11/17 00:09:00 UTC
[jira] [Updated] (THRIFT-5836) 0.21.0 fails to build from sources at Arch Linux
[ https://issues.apache.org/jira/browse/THRIFT-5836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anatol Pomozov updated THRIFT-5836:
-----------------------------------
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 1{}}}{{{}make[3]: Leaving directory '/build/thrift/src/thrift-0.21.0/lib/cpp'{}}}{{{}make[2]: *** [Makefile:577: all-recursive] Error 1{}}}{{{}make[2]: Leaving directory '/build/thrift/src/thrift-0.21.0/lib'{}}}{{{}make[1]: *** [Makefile:699: all-recursive] Error 1{}}}{{{}make[1]: Leaving directory '/build/thrift/src/thrift-0.21.0'{}}}{{{}make: *** [Makefile:615: all] Error 2{}}}
was:
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 1
make[3]: Leaving directory '/build/thrift/src/thrift-0.21.0/lib/cpp'
make[2]: *** [Makefile:577: all-recursive] Error 1
make[2]: Leaving directory '/build/thrift/src/thrift-0.21.0/lib'
make[1]: *** [Makefile:699: all-recursive] Error 1
make[1]: Leaving directory '/build/thrift/src/thrift-0.21.0'
make: *** [Makefile:615: all] Error 2
```
> 0.21.0 fails to build from sources at Arch Linux
> ------------------------------------------------
>
> Key: THRIFT-5836
> URL: https://issues.apache.org/jira/browse/THRIFT-5836
> Project: Thrift
> Issue Type: Bug
> Reporter: Anatol Pomozov
> Priority: Major
>
> 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 1{}}}{{{}make[3]: Leaving directory '/build/thrift/src/thrift-0.21.0/lib/cpp'{}}}{{{}make[2]: *** [Makefile:577: all-recursive] Error 1{}}}{{{}make[2]: Leaving directory '/build/thrift/src/thrift-0.21.0/lib'{}}}{{{}make[1]: *** [Makefile:699: all-recursive] Error 1{}}}{{{}make[1]: Leaving directory '/build/thrift/src/thrift-0.21.0'{}}}{{{}make: *** [Makefile:615: all] Error 2{}}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)