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

Pixi cannot detect glibc 2.39 on gentoo but micromamba can #1609

Closed
2 tasks done
SobhanMP opened this issue Jul 12, 2024 · 6 comments
Closed
2 tasks done

Pixi cannot detect glibc 2.39 on gentoo but micromamba can #1609

SobhanMP opened this issue Jul 12, 2024 · 6 comments
Labels
conda Issue related to Conda dependencies 🐞 bug Something isn't working 🐧 linux Related to linux

Comments

@SobhanMP
Copy link
Contributor

SobhanMP commented Jul 12, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

❯ pixi info
      Pixi version: 0.25.0
          Platform: linux-64
  Virtual packages: __unix=0=0
                  : __linux=6.5.9=0
                  : __cuda=12.5=0
                  : __archspec=1=x86_64_v4
         Cache dir: /home/sobhan/.cache/rattler/cache
      Auth storage: /home/sobhan/.rattler/credentials.json

❯ micromamba info

       libmamba version : 1.5.7
     micromamba version : 1.5.7
           curl version : libcurl/8.5.0 OpenSSL/3.2.1 zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0
     libarchive version : libarchive 3.7.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.5
       envs directories : /home/sobhan/micromamba/envs
          package cache : /home/sobhan/micromamba/pkgs
                          /home/sobhan/.mamba/pkgs
            environment : None (not found)
           env location : -
      user config files : /home/sobhan/.mambarc
 populated config files : /home/sobhan/.condarc
       virtual packages : __unix=0=0
                          __linux=6.5.9=0
                          __glibc=2.39=0
                          __archspec=1=x86_64-v4
                          __cuda=12.5=0
               channels : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/nodefaults/linux-64
                          https://conda.anaconda.org/nodefaults/noarch
       base environment : /home/sobhan/micromamba
               platform : linux-64

Issue description

I have glibc 2.39 on my machine, but Pixi doesn't recognize it as a valid __glibc, while Mamba does.

Expected behavior

Pixi should recognize glibc 2.39

@SobhanMP SobhanMP added the 🐞 bug Something isn't working label Jul 12, 2024
@ruben-arts
Copy link
Contributor

Ah that is strange, this is part of our Rattler library. This is the code that find the version: https://github.com/mamba-org/rattler/blob/main/crates/rattler_virtual_packages/src/libc.rs#L34

Does this ring a bell for you that might help us understand why it's not getting the version?

Also pinging @baszalmstra for his expertise

@ruben-arts ruben-arts added conda Issue related to Conda dependencies 🐧 linux Related to linux labels Jul 14, 2024
@baszalmstra
Copy link
Contributor

@SobhanMP What is the output when you run:

ldd --version

@SobhanMP
Copy link
Contributor Author

SobhanMP commented Jul 14, 2024

❯ ldd --version
ldd (Gentoo 2.39-r9 (patchset 9)) 2.39
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

regardless of whether having the string GLIBC or GNU LIBC is required or not, a fix is very much appreciated.

@baszalmstra
Copy link
Contributor

Im attempting a fix in conda/rattler#779

@SobhanMP
Copy link
Contributor Author

thanks!

ruben-arts added a commit that referenced this issue Jul 19, 2024
Among other things:

Fixes #1594 #1609

---------

Co-authored-by: Ruben Arts <ruben.arts@hotmail.com>
@SobhanMP
Copy link
Contributor Author

Works like a charm! thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conda Issue related to Conda dependencies 🐞 bug Something isn't working 🐧 linux Related to linux
Projects
None yet
Development

No branches or pull requests

3 participants