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

Conan recipe not updated for Conan 2.0.0 #380

Closed
adityasivarajmz opened this issue Mar 1, 2023 · 4 comments
Closed

Conan recipe not updated for Conan 2.0.0 #380

adityasivarajmz opened this issue Mar 1, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@adityasivarajmz
Copy link

Description
I had asked above the Conan version clash issue yesterday (here). Fortunately, a fix was already in the works and it was published a few hours later.

But, now when I am trying to build, I am getting this error:

foxglove-websocket/1.0.0: RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/minuszero-ams/.conan2/p/t/foxglbb25eebe40dcb/b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/minuszero-ams/.conan2/p/t/foxglbb25eebe40dcb/p" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/minuszero-ams/.conan2/p/t/foxglbb25eebe40dcb/b/."
CMake Error: The source directory "/home/minuszero-ams/.conan2/p/t/foxglbb25eebe40dcb/b" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

foxglove-websocket/1.0.0: ERROR: 
Package '843428e8a9b40ca5d55e858550cbf6dc3e0054c4' build failed
foxglove-websocket/1.0.0: WARN: Build folder /home/minuszero-ams/.conan2/p/t/foxglbb25eebe40dcb/b/build/Release
*********************************************************
Recipe 'foxglove-websocket/1.0.0' cannot build its binary
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
If it is your recipe, check it is updated to 2.0
*********************************************************

ERROR: foxglove-websocket/1.0.0: Error in build() method, line 38
	cmake.configure()
	ConanException: Error 1 while executing

I am not sure if this is something that can be fixed from your side, or from Conan's. If it must be fixed by Conan, please close this issue. But if there is an issue with my method, please let me know.

  • Version:
  • Platform: Ubuntu 20.04

Steps To Reproduce

cd cpp
mkdir -p src/foxglove-websocket
cp ../foxglove-websocket/conanfile.py foxglove-websocket/conanfile.py
conan install foxglove-websocket -s compiler.cppstd=17 --build=missing
cp -r ../foxglove-websocket/ foxglove-websocket/
conan create foxglove-websocket -s compiler.cppstd=17

Expected Behavior
The command completes without any errors.

@adityasivarajmz adityasivarajmz added the bug Something isn't working label Mar 1, 2023
@achim-k achim-k self-assigned this Mar 1, 2023
@achim-k
Copy link
Collaborator

achim-k commented Mar 1, 2023

Edit: This should work for you:

cd cpp
conan create foxglove-websocket -s compiler.cppstd=17 --build=missing

foxglove-websocket/1.0.0 has not yet been published to conan-center. We are working on it.

@achim-k achim-k added the linear label Mar 1, 2023
@foxhubber
Copy link

foxhubber bot commented Mar 1, 2023

Linear: FG-2238

@jtbandes
Copy link
Member

Is this still an issue? Looks like 1.0.0 is published but 1.1.0 is not yet (conan-io/conan-center-index#18885)?

@defunctzombie
Copy link
Contributor

conan-io/conan-center-index#18885 has merged. If you are still unable to install via conan v2 please let us know any new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

4 participants