conangoogle-benchmark

Missing user and channel fields in google-benchmark conan package


I am trying to install the google benchmark library using the C++ package manager Conan. However, the user and channel fields seem to be missing from the conan-center. I also get an error if I try to search for the library on the conan-center.

$conan search benchmark --remote=conan-center
ERROR: Value provided for user name, '_' (type str), is too short. Valid names must contain at least 2 characters.. [Remote: conan-center]

Is something off with the conan-center, or am I missing something? I noticed that other packages show the same behavior (gtest, doctest, etc.), although they also have a "regular" version provided by bincrafters.


Solution

  • Since Conan 1.18 the package namespace became optional. This feature was introduced together with the new Conan Center Index which has received all Conan recipes again, but without namespace.

    All old and new packages, including from Conan Community and Bincrafters, will stay in Bintray Conan Center as well.

    Now about your error:

    ERROR: Value provided for user name, '_' (type str), is too short. Valid names must contain at least 2 characters.. [Remote: conan-center]

    This error occurred because your Conan client is outdated. I believe you are running <= 1.17. I strongly recommend you update your Conan client to the latest version (1.20.4).

    Regards!