grpc 1.51 deb package creation failing with checkinstall with cmake 3.28

16 views
Skip to first unread message

Ramana Reddy

unread,
Jun 6, 2024, 5:29:51 AMJun 6
to grp...@googlegroups.com
Hi All,
We are seeing the following error while creating a deb package from the source with cmake 3.28. But the same thing works with cmake 3.16.1. Is this known issue? What are the changes from the grpc team to make it work with cmake 3.28? Any input is highly appreciated. 

Install the project…
– Install configuration: “Release”
– Installing: /usr/lib/libcares.a
CMake Error at cmake_install.cmake:46 (file):
file INSTALL cannot copy file
“/root/grpc/build/third_party/cares/cares/lib/x86_64-linux-gnu/libcares.a”
to “/usr/lib/libcares.a”: No such file or directory.

make: *** [Makefile:120: install] Error 1

**** Installation failed. Aborting package creation.

Cleaning up…OK

Bye.

The portion of contents of cmake_install.cmake:
if(CMAKE_INSTALL_COMPONENT STREQUAL “Unspecified” OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION “${CMAKE_INSTALL_PREFIX}/lib” TYPE STATIC_LIBRARY FILES “/root/grpc/build/third_party/cares/cares/lib/x86_64-linux-gnu/libcares.a”)
endif()

veb...@google.com

unread,
Jun 27, 2024, 7:28:05 PM (5 days ago) Jun 27
to grpc.io
As gRPC team doesn't own and maintain gRPC deb package, we have no idea about this issue. You may want to reach out to Debian package maintainer. https://salsa.debian.org/debian/grpc
Reply all
Reply to author
Forward
0 new messages