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

virtual_specs GLIBC alpine failure #645

Open
1 task done
drewgilliam opened this issue Sep 17, 2024 · 3 comments
Open
1 task done

virtual_specs GLIBC alpine failure #645

drewgilliam opened this issue Sep 17, 2024 · 3 comments
Labels
bug Something isn't working linux

Comments

@drewgilliam
Copy link

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

The introduction of virtual_specs in PR #626 causes an installation failure on alpine images as described in conda/constructor#850. TLDR; the conda/constructor GLIBC check for alpine images failed to locate the installed GLIBC version.

This should be fixed in conda/constructor#856.

Could you please issue a new release using the latest conda/constructor GLIBC version check?

Installed packages

n/a (this issue occurs during install)

Environment info

# The issue can be replicated with the following docker
# - version 24.7.1-1 fails due to a GLIBC check (even though GLIBC is installed)
# - reverting to version 24.5.0-0 is successful
FROM docker:20.10.16

RUN apk del libc6-compat; \
    apk --no-cache add ca-certificates curl findutils; \
    curl -fsSLo /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub; \
    curl -fsSLo /tmp/glibc.apk https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.28-r0/glibc-2.28-r0.apk; \
    apk add /tmp/glibc.apk;


ENV MINIFORGE_VERSION=24.7.1-1
# ENV MINIFORGE_VERSION=24.5.0-0 
RUN curl -fsSLo /tmp/miniforge.sh "https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION}/Miniforge3-${MINIFORGE_VERSION}-Linux-x86_64.sh"

RUN sh /tmp/miniforge.sh -b -p /tmp/conda
RUN /tmp/conda/bin/conda info
@drewgilliam drewgilliam added the bug Something isn't working label Sep 17, 2024
@hmaarrfk hmaarrfk added the linux label Sep 17, 2024
@hmaarrfk
Copy link
Contributor

hmaarrfk commented Oct 5, 2024

I'm not too knowledgeable with alpine.

Have you tried: #219

@mattbucci
Copy link

mattbucci commented Nov 4, 2024

I'm running into this issue still in 24.9.0

It looks like there hasn't been a new tagged release for constructor since august.

Once 3.9.4 is tagged and released + this is merged into miniforge and released this bug should be closed.

Until then my hack is to run the following (make sure to replace system_glibc_version and int_system_glibc_version with your glibc version

  sed -i \
      -e 's|system_glibc_version=.*|system_glibc_version="2.39.0"|' \
      -e 's|int_min_glibc_version=.*|int_min_glibc_version="02170"|' \
      -e 's|int_system_glibc_version=.*|int_system_glibc_version="02390"|' "Miniforge3-$(uname)-$(uname -m).sh"

@hmaarrfk
Copy link
Contributor

Unfortunately my latest release got caught in our scheduled brownouts..... grrr

but maybe you can try one of the pre-releases:
https://github.com/conda-forge/miniforge/releases/tag/24.9.2-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux
Development

No branches or pull requests

3 participants