-
Notifications
You must be signed in to change notification settings - Fork 127
Update to latest version of Thrift #195
Comments
cc @mdouaihy |
hello @david-antiteum, It's always a good idea to update a dependency version. Do you have a PR to suggest? Please note that the thrift update should not break the compatibility with the Jaeger backend. |
Hi @mdouaihy Unfortunately no. I have no experience with Thrift and your code must be changed a bit. My primary interest is to have jaeger in vcpck and this is the missing piece. Thanks |
ok, no problem, I can handle that but it'll require some time because we'll have to update the thrift version packaged in Hunter (0.12 -> 0.13). |
It's good idea do not add to repository generated thrift files, but add to CMakeLists.txt code to generate them. |
In version v0.13.0 of thrift, the name of generated config file ThriftConfig.cmake. (Starts with upper case) CMake Error at jaeger-client-cpp/v0.5.0/lib/cmake/jaegertracing/jaegertracingConfig.cmake:35 (find_package):
|
@mdouaihy should we just create |
Any update on this? I am trying to build on CentOS 8 with hunter disabled, and build fails because thrift-0.13.0-2 in CentOS8 does not have thrift/stdcxx.h. |
Nothing yet. There is a pull request trying to solve this problem: #239 from @ideepika but it has not been accepted yet. And, as @smartnet-club already points out, the root of the problem is adding thrift-generated files to the repository rather than having a CMake rule to generate them during the build process. |
The following list of open CVEs suggests that an upgrade of Thrift is most desirable https://www.opencve.io/cve?vendor=apache&product=thrift |
What's the status of this? We are stuck on with older version of Thrift until jaeger-client-cpp supports a new version of Thrift. |
When I use the 0.13.0 version of thrift, the following error occurs when building my service. But when using 0.12.0 version of thrift, everything is normal. /usr/bin/ld: CMakeFiles/code.dir/service/server.skeleton.cpp.o: in function |
@yurishkuro Has this been fixed? |
Library is deprecated, please see README |
@yurishkuro Thanks. It would have been nice to state so when you closed the issue. |
Yes, sorry, I linked the corresponding README commit to closed PRs, but it was too much work to do the issues, and GH doesn't allow to add a comment in bulk when closing. |
The Jaeger client cpp uses an old version of Thrift that lacks proper support for cmake config files. This has been addressed in the current versions but they are not compatible with jaeger as they have remove the stdcxx.h header file (see case #174 for other affected users).
Any chance to update to the latest Thrift version?
Thanks.
The text was updated successfully, but these errors were encountered: