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

libvault/0.51.0 #14234

Merged
merged 8 commits into from
Nov 30, 2022
Merged

libvault/0.51.0 #14234

merged 8 commits into from
Nov 30, 2022

Conversation

goodtune
Copy link
Contributor

@goodtune goodtune commented Nov 17, 2022

Specify library name and version: libvault/0.51.0

This is just an update to an existing package to provide the latest version on CCI.


  • 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.

@CLAassistant
Copy link

CLAassistant commented Nov 17, 2022

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@goodtune
Copy link
Contributor Author

The failure in CI system is unexpected, I've tested it on MacOS and Linux without issues. Unfortunately it's opaque as I can't gain access to the build output to see what has failed.

Because there is a CI failure saying that the current version is `1.53.0`, despite `1.54.0` being available, I've knocked this value down.
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit b5f316d
libvault/0.48.0
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libvault.so' links to system library 'm' but it is not in cpp_info.system_libs.
libvault/0.51.0
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libvault.so' links to system library 'm' but it is not in cpp_info.system_libs.

@goodtune
Copy link
Contributor Author

@uilianries and @SSE4, I was wondering if you would mind providing a review, please - you both approved the original inclusion back in #9117.

I've spent a fair bit of time tidying this up to meet all the current standards.

self.cpp_info.libs = tools.collect_libs(self)
self.cpp_info.libs = collect_libs(self)
if self.settings.compiler == "gcc" and Version(self.settings.compiler.version).major == "8":
self.cpp_info.system_libs.append("stdc++fs")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have to say, this workaround to make the test package compile for GCC 8 was a bit of a stumper for a while; I'm not sure if there is any detection that can be done around this in the report back to the recipe developer from the CI system.

For reference, it would manifest as:

.../lib/libvault.so: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
collect2: error: ld returned 1 exit status

@goodtune
Copy link
Contributor Author

@sonicxml FYI, I'm updating your original recipe if you'd like to review this update.

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

@goodtune Thank you for your contribution. Please, take a look on the review.

recipes/libvault/all/conanfile.py Outdated Show resolved Hide resolved
recipes/libvault/all/conanfile.py Outdated Show resolved Hide resolved
recipes/libvault/all/conanfile.py Outdated Show resolved Hide resolved
recipes/libvault/all/conanfile.py Show resolved Hide resolved
recipes/libvault/all/conanfile.py Outdated Show resolved Hide resolved
recipes/libvault/all/conanfile.py Outdated Show resolved Hide resolved
@goodtune
Copy link
Contributor Author

Thanks @uilianries I will make those recommended updates and push later today.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit ad1906b
libvault/0.48.0
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libvault.so' links to system library 'm' but it is not in cpp_info.system_libs.
libvault/0.51.0
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libvault.so' links to system library 'm' but it is not in cpp_info.system_libs.

@goodtune goodtune requested a review from uilianries November 27, 2022 07:33
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

LGTM

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 12 (ad1906bce5d4c7c481ffdb334a93a22485949281):

  • libvault/0.51.0@:
    All packages built successfully! (All logs)

  • libvault/0.48.0@:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit abc8968 into conan-io:master Nov 30, 2022
@goodtune goodtune deleted the libvault/0.51.0 branch November 30, 2022 05:53
@goodtune goodtune mentioned this pull request Nov 30, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants