Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-8049: [C++] Upgrade bundled Thrift version to 0.13.0 #6572

Closed
wants to merge 2 commits into from

Conversation

nealrichardson
Copy link
Contributor

No description provided.

@github-actions
Copy link

@wesm
Copy link
Member

wesm commented Mar 11, 2020

Hm, the GLib entry seems to have failed

CMake Error at /build/cpp/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure-DEBUG.cmake:16 (message):
  Command failed: 1

   '/usr/bin/cmake' '-DCMAKE_C_COMPILER=/usr/lib/ccache/gcc' '-DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++' '-DCMAKE_AR=/usr/bin/ar' '-DCMAKE_RANLIB=/usr/bin/ranlib' '-DCMAKE_BUILD_TYPE=DEBUG' '-DCMAKE_C_FLAGS= -ggdb -O0 -g -fPIC' '-DCMAKE_C_FLAGS_DEBUG= -ggdb -O0 -g -fPIC' '-DCMAKE_CXX_FLAGS= -fdiagnostics-color=always -ggdb -O0 -g -fPIC' '-DCMAKE_CXX_FLAGS_DEBUG= -fdiagnostics-color=always -ggdb -O0 -g -fPIC' '-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=' '-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=' '-DCMAKE_INSTALL_PREFIX=/build/cpp/thrift_ep/src/thrift_ep-install' '-DCMAKE_INSTALL_RPATH=/build/cpp/thrift_ep/src/thrift_ep-install/lib' '-DBUILD_COMPILER=OFF' '-DBUILD_SHARED_LIBS=OFF' '-DBUILD_TESTING=OFF' '-DBUILD_EXAMPLES=OFF' '-DBUILD_TUTORIALS=OFF' '-DWITH_QT4=OFF' '-DWITH_C_GLIB=OFF' '-DWITH_JAVA=OFF' '-DWITH_PYTHON=OFF' '-DWITH_HASKELL=OFF' '-DWITH_CPP=ON' '-DWITH_STATIC_LIB=ON' '-DWITH_LIBEVENT=OFF' '-DBoost_NO_BOOST_CMAKE=ON' '-DBOOST_ROOT=/build/cpp/boost_ep-prefix/src/boost_ep' '-GNinja' '/build/cpp/thrift_ep-prefix/src/thrift_ep'

  See also

    /build/cpp/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure-*.log

Need to set a verbose build and see what's the matter

@nealrichardson
Copy link
Contributor Author

Yeah I saw, didn't get back around to this today (was hoping it was a quick win). It does appear that this is the only job that tests Ubuntu 16.04--the rest are 18.04.

@wesm
Copy link
Member

wesm commented Mar 11, 2020

Now the image failed to build :/

@kou
Copy link
Member

kou commented Mar 11, 2020

#6575 includes the fix of the failure.

@wesm
Copy link
Member

wesm commented Mar 11, 2020

Looks like some files in Thrift 0.13 are using CMake features introduced in CMake 3.10

CMake Error at build/cmake/FindClangTools.cmake:11 (include_guard):
  Unknown CMake command "include_guard".
Call Stack (most recent call first):
  build/cmake/StaticCodeAnalysis.cmake:1 (find_package)
  CMakeLists.txt:51 (include)


-- Configuring incomplete, errors occurred!

I'll take a look to see if this can be worked around

@wesm
Copy link
Member

wesm commented Mar 11, 2020

Reported upstream

https://issues.apache.org/jira/browse/THRIFT-5137

I think we can fix this by adding a patch that comments out this line

https://github.com/apache/thrift/blob/master/CMakeLists.txt#L51

@nealrichardson
Copy link
Contributor Author

Maybe we should table this for now? There's no practical value for our upgrading the bundled version at this time, so it's probably not worth spending time hacking it.

@wesm
Copy link
Member

wesm commented Mar 19, 2020

Sure. Let's table it for now. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants