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

build fails on CentOS 6.4 #22

Open
SyBernot opened this issue Jul 19, 2016 · 5 comments
Open

build fails on CentOS 6.4 #22

SyBernot opened this issue Jul 19, 2016 · 5 comments

Comments

@SyBernot
Copy link

The following tests FAILED:
6 - testFPB (ILLEGAL)
10 - pyFPB (ILLEGAL)

Digging through the entire build log I see no obvious errors.
Any thoughts on how to proceed?

@SyBernot
Copy link
Author

5/105 Test #6: testFPB .........................._Exception: Illegal 0.31 sec
9/105 Test #10: pyFPB ............................
_Exception: Illegal 0.30 sec

I tried running testFPB directly and got
(my-rdkit-env) [root@xxx conda-rdkit]# /root/anaconda2/conda-bld/work/Code/DataStructs/testFPB
[12:19:06] -----------------------
Testing FPBReader basics
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted

looking at the source it isn't making it out of test1FPBReaderBasics()

@SyBernot
Copy link
Author

D'oh (user error)
After exporting RDBASE and running testFPB I now get this

[14:22:53] -----------------------
Testing FPBReader basics
[14:22:53] Finished
[14:22:53] -----------------------
Testing Lazy FPBReader basics
[14:22:53] Finished
[14:22:53] -----------------------
Testing FPBReader tanimoto
Illegal instruction

@rvianello
Copy link
Contributor

I will try to reproduce the error but it would be relevant to know what revision of the RDKit you tried to build, and which branch of the conda-rdkit recipes you used. In case you tried to build the latest RDKit release using the recipes from the master branch, you might then also consider installing the same packages from the rdkit channel on anaconda.org (those packages are built in a centos6 container using the included Dockerfile).

Please note that higher privileges (root) are not required to run the build (or more generically, to use anaconda).

@SyBernot
Copy link
Author

2016_03_2 version of rdkit using conda-rdkit
conda install conda-build
conda install patchelf
git clone https://github.com/rdkit/conda-rdkit.git
conda build boost
conda build rdkit

I set up conda as per instructions on the rdkit page

we have an older version running from rpm but our devs are chasing a feature that's only in the latest release

I'll try your suggestion of
conda install -c rdkit rdkit=2016.03.2
tomorrow and see if that buys me anything

@SyBernot
Copy link
Author

SyBernot commented Aug 3, 2016

Seems like we can close this, an install vai miniconda by the developer seems to have made him happy. I still think there is a build issue with CentOS 6.4 but as that's not the latest and greatest it's probably not an issue for most.

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

No branches or pull requests

2 participants