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

Add pin for libarchive #3

Merged
merged 1 commit into from
Nov 2, 2022
Merged

Add pin for libarchive #3

merged 1 commit into from
Nov 2, 2022

Conversation

lbdreyer
Copy link
Member

@lbdreyer lbdreyer commented Nov 2, 2022

The refresh lockfile GHA started failing on Iris this past weekend. The change is that we started getting libarchive from conda-forge rather than main where we previously were getting it.

The problem with the conda-forge build is that they use the wrong versioning scheme for their SOs, and this doesn't seem compatible with mamba.

We get the following error with mamba:

" ImportError: libarchive.so.18: cannot open shared object file: No such file or directory\n\nTry (re)installing conda-libmamba-solver."

so it's looking for libarchive.so.18

This is available in the main build:

$ ls -1 $CONDA_PREFIX/lib/libarchive*
/path/to/env/lib/libarchive.a
/path/to/env/lib/libarchive.so
/path/to/env/lib/libarchive.so.18

but not in the conda-forge build:

$ ls -1 $CONDA_PREFIX/lib/libarchive*
/path/to/env/lib/libarchive.a
/path/to/env/lib/libarchive.so
/path/to/env/lib/libarchive.so.13
/path/to/env/lib/libarchive.so.13.5.2

Further details are on this issue: conda-forge/libarchive-feedstock#69

So for now we need to a specific version of libarchive.

@bjlittle bjlittle self-requested a review November 2, 2022 17:43
Copy link
Member

@bjlittle bjlittle left a comment

Choose a reason for hiding this comment

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

@lbdreyer Blimey.

Okay, let's roll with the pin for now.

I'll create an issue to make sure that we unpin and reference this PR for context 👍

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.

2 participants