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

Libsigcpp conanv2 #12775

Closed

Conversation

planetmarshall
Copy link
Contributor

Specify library name and version: libsigcpp

Conan v2 and new toolchain updates


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@planetmarshall
Copy link
Contributor Author

The MesonToolchain does not appear to be passing the -stdlib=libc++ option when building with clang. I don't see any other C++ projects using the new MesonToolchain

@planetmarshall
Copy link
Contributor Author

@planetmarshall There are some projects using MesonToolchain:

Yes, these are all C projects though. They all delete the libcxx setting.

@uilianries
Copy link
Member

@planetmarshall In that case, it could be a generator limitation. It may worth opening an issue to Conan client asking about it.

@planetmarshall
Copy link
Contributor Author

@planetmarshall In that case, it could be a generator limitation. It may worth opening an issue to Conan client asking about it.

See conan-io/conan#12009

@stale
Copy link

stale bot commented Oct 8, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 8, 2022
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.


find_package(PkgConfig REQUIRED)
pkg_search_module(SIGCPP IMPORTED_TARGET REQUIRED sigc++-2.0)
find_package(libsigcpp REQUIRED)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't appear to work with the new PkgConfigDeps generator - not sure if the recipe is missing something or there's an existing issue.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You touched a known bug: conan-io/conan#11962

Basically you need a workaround to use pkg_search_module with new cmake generators: https://github.com/conan-io/conan-center-index/blob/master/recipes/libcap/all/test_package/conanfile.py

Not beautiful, but should work.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

Failure in build 7 (02140fa3d59ed8eb4c277d82326f645f2e4f6168):

  • libsigcpp/2.10.8@:
    Error running command conan export recipes/libsigcpp/2.x.x/conanfile.py libsigcpp/2.10.8@:
    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12775/recipes/libsigcpp/2.x.x/conanfile.py': Current Conan version (1.53.0) does not satisfy the defined one (>=1.54.0).
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@stale
Copy link

stale bot commented Dec 20, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 20, 2022
@planetmarshall
Copy link
Contributor Author

Duplicate pf #14778

@planetmarshall planetmarshall deleted the libsigcpp-conanv2 branch December 25, 2022 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants