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

feat: add basic rocksdb package #410

Closed
wants to merge 0 commits into from
Closed

Conversation

gocarlos
Copy link
Contributor

Specify library name and version: rocksdb/6.4.6

  • 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
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

  • Linux x86_64, Release, gcc 5, libstdc++ . Options: rocksdb:shared-True
    • Hooks errors detected:
      • [HOOK - conan-center.py] pre_export(): ERROR: [CONAN CENTER INDEX URL (KB-H027)] The attribute 'url' should point to: https://github.com/conan-io/conan-center-index (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H027)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

recipes/rocksdb/all/CMakeLists.txt Outdated Show resolved Hide resolved
recipes/rocksdb/all/conanfile.py Outdated Show resolved Hide resolved
recipes/rocksdb/all/conanfile.py Outdated Show resolved Hide resolved
recipes/rocksdb/all/conanfile.py Outdated Show resolved Hide resolved
@uilianries
Copy link
Member

There are some requirements which can solved by Conan: https://github.com/facebook/rocksdb/blob/master/CMakeLists.txt#L54

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

@gocarlos
Copy link
Contributor Author

There are some requirements which can solved by Conan: https://github.com/facebook/rocksdb/blob/master/CMakeLists.txt#L54

done

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

  • Linux x86_64, Release, gcc 5, libstdc++ . Options: rocksdb:shared-True
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared cpp_infoinformation (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H016)
      • [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files:
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

cmake.definitions["WITH_ZLIB"] = self.options.with_zlib
cmake.definitions["WITH_ZSTD"] = self.options.with_zstd
# not available yet in CCI
cmake.definitions["WITH_JEMALLOC"] = False
Copy link
Member

Choose a reason for hiding this comment

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

I've start an effort to package this one. It builds fine on Linux, but on Windows is a nightmare.

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.

@gocarlos please take a look: gocarlos#1

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

@gocarlos
Copy link
Contributor Author

@uilianries I do not have access to a windows machine, so cannot really test the windows build. eventually you can test this 👍

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.4.6' have failed:

@uilianries
Copy link
Member

@gocarlos I tested on Windows, it's falling to build build as shared lib. I'll revisit this week, it seems be an upstream bug

@gocarlos
Copy link
Contributor Author

@uilianries any updates?

@uilianries
Copy link
Member

@gocarlos gocarlos#2

@conan-center-bot
Copy link
Collaborator

Sorry, the system is under maintenance and it doesn't accept builds right now. Thanks for your understanding and help with the EAP program!

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.5.2' have failed:

uilianries added a commit to uilianries/conan-center-index that referenced this pull request Dec 26, 2019
Signed-off-by: Uilian Ries <uilianries@gmail.com>
uilianries added a commit to uilianries/conan-center-index that referenced this pull request Dec 26, 2019
@uilianries
Copy link
Member

@gocarlos I think this new PR will fix all those errors: gocarlos#3

Happy holidays!

@uilianries uilianries closed this Dec 31, 2019
@uilianries uilianries reopened this Dec 31, 2019
@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.5.2' have failed:

@uilianries
Copy link
Member

Interesting, I can't reproduce such error on Windows.

@danimtb
Copy link
Member

danimtb commented Jan 3, 2020

Is this PR blocked by something else? @gocarlos

@gocarlos
Copy link
Contributor Author

gocarlos commented Jan 3, 2020

R blocked by something

this works on my side, though I can only test on linux, as I do not have a windows system...
@uilianries was debugging the shared lib issues on windows...

I think we could also just prevent the shared lib issues on windows for now and merge this, should work on linux/mac/windows as static lib and on linux/mac as shared lib

@danimtb
Copy link
Member

danimtb commented Jan 3, 2020

I am ok with that approach if handle it rains invalid configurations. At least having the recipe for linux and mac will more than nothing and anyone can work on the windows issue if needed

@gocarlos
Copy link
Contributor Author

gocarlos commented Jan 3, 2020

I am ok with that approach if handle it rains invalid configurations. At least having the recipe for linux and mac will more than nothing and anyone can work on the windows issue if needed

can someone from the conan team do those smaller changes? is probably the fastest way to get it done. I guess the static lib under windows work well, its only the shared lib that makes issues

@gocarlos gocarlos closed this Jan 6, 2020
@gocarlos gocarlos reopened this Jan 6, 2020
@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.5.2' have failed:

@danimtb
Copy link
Member

danimtb commented Jan 8, 2020

@gocarlos cannot help you with those configurations right now. We can wait for @uilianries help or just set the invalid configuration in place for the moment. Sorry

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.5.2' failed in build 19 (6ed936567430e9849adaafc7f674a808ba51f619):

if self.options.with_zstd:
self.requires("zstd/1.3.8")
if self.options.with_tbb:
self.requires("tbb/2019_u9")
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 think this recipe also depends on folly: e.g. #920

see https://github.com/facebook/rocksdb/tree/master/third-party

@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.6.4' failed in build 21 (480ce169500a809941c14da31d28ea6201603125):

  • Linux x86_64, Release, gcc 5, libstdc++ . Options: rocksdb:shared-True
    • Hooks errors detected:
      • [HOOK - conan-center.py] pre_export(): ERROR: [NO TARGET NAME (KB-H040)] CCI uses the name of the package for cmake generator. Use 'cpp_info.names' instead. (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H040)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/6.6.4' failed in build 22 (0a4ed7062222cf976d5bc4001c532edbdbdcc7f6):

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/20200307' failed in build 24 (cd2f8fdb9bd403497b4781abc91dd5d4a08a96c8):

@gocarlos
Copy link
Contributor Author

gocarlos commented Mar 9, 2020

@uilianries the cmake file on rocksdb master is now fixed/better for shared libs etc.

@uilianries
Copy link
Member

@gocarlos CI test failed due a sigabort:

rocksdb/20200307 (test package): Running test()
pure virtual method called
pure virtual method called
terminate called without an active exception
Aborted (core dumped)

@gocarlos
Copy link
Contributor Author

@gocarlos CI test failed due a sigabort:

rocksdb/20200307 (test package): Running test()
pure virtual method called
pure virtual method called
terminate called without an active exception
Aborted (core dumped)

yes, have no idea why this happens here

@conan-center-bot
Copy link
Collaborator

Some configurations of 'rocksdb/20200307' failed in build 25 (c0658b2fdbb65a5a322f942225336eba89a40c70):

@gocarlos
Copy link
Contributor Author

@uilianries can you have a look? On my side it works all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants