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

bcftools and libcrypto.so.1.0.0 (again!) #21229

Closed
dariober opened this issue Apr 1, 2020 · 5 comments
Closed

bcftools and libcrypto.so.1.0.0 (again!) #21229

dariober opened this issue Apr 1, 2020 · 5 comments

Comments

@dariober
Copy link
Contributor

dariober commented Apr 1, 2020

Hi- The docker image for cnv_facets 1.16 seems broken:

docker pull quay.io/biocontainers/cnv_facets:0.16.0--py38r36h4b26f60_0
docker run -it quay.io/biocontainers/cnv_facets:0.16.0--py38r36h4b26f60_0 bash

bcftools                                                                                                              
bcftools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

I guess it's related to #19971. Any idea how to fix it?

Thanks!

@jmarshall
Copy link
Member

The conda solver in your docker image has selected the ancient bcftools-1.8-h4da6232_3, which predates #17273. Encouraging it to pick an up-to-date bcftools would be the way to fix this.

BiocondaBot pushed a commit that referenced this issue May 1, 2020
Merge PR #21878, commits were: 
 * Require bcftools >=x to try to fix issue #21229
 * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes into cnv_facets
 * Update to v0.16.0
@dariober
Copy link
Contributor Author

dariober commented May 2, 2020

Thanks for the pointer John! Setting bcftools >= 1.9 seems to have fixed it. I wonder why the solver chose version 1.8 rather than the latest or any other... But nevermind.

@dariober dariober closed this as completed May 2, 2020
@jmarshall
Copy link
Member

jmarshall commented May 2, 2020

I think that comes down to this #19969 (comment) by @dpryan79:

For some terrible reason, the solver really likes to minimize dependency restrictions rather than maximize version and build numbers.

And this condapocalypse happened at about the same time as packagers got excited about adding libdeflate dependencies to bcftools et al. Or something like that.

It's pretty tragic that downstream conda packages are still being affected by this — six months after it was fixed once and for all. I don't quite understand why this old bcftools package hasn't been marked as broken (or why that has been ineffective), or why retrofixing meta-information hasn't happened just for e.g. these old samtools/htslib/bcftools packages (is this something mere mortals can look into?), or whether building a well-made bcftools-1.8-no-libdeflate-no-openssl package would attract the solver (but not too much!) while not scaring the reproducibility freaks…

@dpryan79
Copy link
Contributor

dpryan79 commented May 2, 2020

This is good evidence that the conda solver has broken behavior, since a fixed bcftools 1.8 would get ignored by it. We've been in discussion on and off about patching metadata, but apparently this is very non-trivial. I can mark the package as broken, but then conda will just incorrectly find yet another build that doesn't properly specify its openssl version requirements and the underlying issue will still be there. If we just marked all of the old versions as broken then anyone trying to update a local environment that includes one of them may not be able to, since conda freaks out when packages are no longer available (I'm not exactly a fan of that behavior either). I've heard that mamba can work as a drop in replacement in these cases (it's an alternative implementation of conda, so it uses the same packages), as its solver is both faster and would then install newer versions/builds rather than constantly picking old broken stuff.

a-solovyev12 pushed a commit to ebi-gene-expression-group/bioconda-recipes that referenced this issue Jun 29, 2020
Merge PR bioconda#21878, commits were: 
 * Require bcftools >=x to try to fix issue bioconda#21229
 * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes into cnv_facets
 * Update to v0.16.0
samnooij added a commit to samnooij/genomics-workshop that referenced this issue Dec 4, 2022
I recommend to update the bcftools version to at least 1.9 to avoid errors (see bioconda/bioconda-recipes#21229).
I just installed version 1.8, which could not run due to a missing `libcrypto.so.1.0.0`. Installing version 1.9 instead solves this problem.
@swajid
Copy link

swajid commented Aug 11, 2023

Having the libcrypto.so.1.0.0 issue with bcftools 1.9, any ideas?

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

4 participants