install fail when execute conan install grpc_cb_core/0.2@jinq0123/testing

#1 · open · 7 comments

View on GitHub ↗

1923982924

Comments

1923982924

This's wrong message ERROR: /root/.conan/data/grpc_cb_core/0.2/jinq0123/testing/export/conanfile.py: Error while initializing requirements. Value provided for channel, 'stable ' (type str), is an invalid name. Valid names MUST begin with a letter, number or underscore, have between 2-51 chars, including letters, numbers, underscore, dot and dash

jinq0123

Confirmed with Conan version 1.12.3.

jinq0123

Fixed.

1923982924

@jinq0123 Add conan repositories,then install fail. It's the same wrong message.

jinq0123

Try to remove local package first: ``` conan remove grpc_cb_core/0.2@jinq0123/testing ```

1923982924

Cann't install accurately when conan remove grpc_cb_core/0.2@jinq0123/testing. It's wrong. ERROR: c-ares/1.14.0@conan/stable: Error in build() method, line 46 cmake = self.cmake_configure() while calling 'cmake_configure', line 42 cmake.configure() ConanException: Error 256 while executing cd '/root/.conan/data/c-ares/1.14.0/conan/stable/build/3a5f72c8cd50641b8efa6ed13e6914c6ced2747c' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_EXPORTED="1" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="4.8" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/root/.conan/data/c-ares/1.14.0/conan/stable/package/3a5f72c8cd50641b8efa6ed13e6914c6ced2747c" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCARES_STATIC="True" -DCARES_SHARED="False" -DCARES_BUILD_TESTS="OFF" -DCARES_MSVC_STATIC_RUNTIME="OFF" -DCMAKE_POSITION_INDEPENDENT_CODE="True" -Wno-dev '/root/.conan/data/c-ares/1.14.0/conan/stable/build/3a5f72c8cd50641b8efa6ed13e6914c6ced2747c'

jinq0123

Please provide the error message.