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

Conda package can't be built conda-forge docker image #10

Closed
constantinpape opened this issue Sep 18, 2017 · 4 comments
Closed

Conda package can't be built conda-forge docker image #10

constantinpape opened this issue Sep 18, 2017 · 4 comments

Comments

@constantinpape
Copy link
Owner

The conda forge docker image uses GCC 4.8.
However, this version is not supported by the json library (see this issue nlohmann/json#212).
The packages on my channel are built on my machine with GCC 5.4.0.
If you need support for an older GCC version (ABI issues), please built the package yourself with GCC 4.9 (which is supported).

@constantinpape
Copy link
Owner Author

I have circumvented this by disabling the compiler checks in the json library on my own fork.
This is fine for now because we dont depend on any features affected, however in the long run it would be better to switch to a json library that supports GCC 4.8.

@constantinpape
Copy link
Owner Author

Fixed by installing gcc 5 on the docker image, see
https://stackoverflow.com/questions/36327805/how-to-install-gcc-5-3-with-yum-on-centos-7-2

Can switch back to the main json repository again.
(Close this issue once this is done.)

@chaubold
Copy link
Contributor

chaubold commented Dec 9, 2017

FYI: I tried building on the conda docker image as well but was bold and tried GCC 7. It builds successfully, but when I have another package with pybind11 (but in C++11 mode!) imported in my python session, importing z5py segfaults immediately. I assume that's because of some pybind11 symbols being conflicted...

@constantinpape
Copy link
Owner Author

Changed back to main json repository in 476bf65 .
@chaubold not sure about the gcc 7 issues, I will reopen this in a different issue when it becomes relevant again.

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