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

Platform python 3.11 (and 3.10) fails with "version `GLIBC_2.29' not found" #2552

Open
RishiDiwanTT opened this issue Dec 23, 2024 · 0 comments

Comments

@RishiDiwanTT
Copy link

RishiDiwanTT commented Dec 23, 2024

Bug Report

  • At what date and time did you most recently experience the problem?
    Dec 23rd 2024

  • Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
    Azure, through Github appservice-build/v2 and reproduced locally
    Using appservice-build tag v2 locally.

  • If your repo is publicly available please share its URL:
    No

  • What happened?
    Running locally docker run -v /opt/app:/opt/app 44cbf5778add "/opt/app" "python" "3.11" "/"
    Fails with the partial output

Python Version: /tmp/oryx/platforms/python/3.11.7/bin/python3.11
Python Virtual Environment: pythonenv3.11
Creating virtual environment...
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libpthread.so.0: version `GLIBC_2.30' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.26' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
  • What did you expect or want to happen?
    Virtual environment built successfully

  • How can we reproduce it?
    Attempt any python 3.11 build

  • Do you have log output? Please include between the backticks:

Source directory was provided. Following directory will be built: '/opt/app'
No output directory was provided
Platform provided: 'python'
Platform version provided: '3.11'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   103  100   103    0     0    968      0 --:--:-- --:--:-- --:--:--   971

Running command 'oryx build /opt/app --platform python --platform-version 3.11'
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues

Oryx Version: 0.2.20201112.1, Commit: a120bb248aa8d208ca5e02d7d9d075196e79cffd, ReleaseTagName: 20201112.1

Build Operation ID: |qdgko6HdlmA=.2012a9d2_
Repository Commit : d00a6a5edb1907a2ef83c74b71388173fba32ec0

Detecting platforms...
Detected following platforms:
  python: 3.11.7
  php: 8.0.30
Version '3.11.7' of platform 'python' is not installed. Generating script to install it...
Version '8.0.30' of platform 'php' is not installed. Generating script to install it...


Source directory     : /opt/app
Destination directory: /opt/app


Downloading and extracting 'python' version '3.11.7' to '/tmp/oryx/platforms/python/3.11.7'...
Downloaded in 90 sec(s).
Verifying checksum...
Extracting contents...
Done in 94 sec(s).


Downloading and extracting 'php' version '8.0.30' to '/tmp/oryx/platforms/php/8.0.30'...
Downloaded in 12 sec(s).
Verifying checksum...
Extracting contents...
Done in 13 sec(s).


Downloading and extracting 'php-composer' version '1.9.3' to '/tmp/oryx/platforms/php-composer/1.9.3'...
Downloaded in 3 sec(s).
Verifying checksum...
Extracting contents...
Done in 3 sec(s).

Python Version: /tmp/oryx/platforms/python/3.11.7/bin/python3.11
Python Virtual Environment: pythonenv3.11
Creating virtual environment...
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libpthread.so.0: version `GLIBC_2.30' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.26' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)
/tmp/oryx/platforms/python/3.11.7/bin/python3.11: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /tmp/oryx/platforms/python/3.11.7/lib/libpython3.11.so.1.0)

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

1 participant