question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install not works on Centos 7 container

See original GitHub issue

Description: Install action returns success on centos:7 container but the result is unusable.

Action version: 4

Platform:

  • Ubuntu (with centos:7 container)
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version: Python 3.6 to Python 3.10

Repro steps:

  issue_candidate:
    runs-on: ubuntu-20.04

    container:
      image: ${{ matrix.os }}

    strategy:
      fail-fast: false

      matrix:
        os:
          - 'centos:7'
        python:
          - '3.6'
          - '3.7'
          - '3.8'
          - '3.9'
          - '3.10'
    steps:
      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version: ${{ matrix.python }}

      - name: Check that Python is ok
        run: python --version

Expected behavior: Everything is alright or I get an error like “centos is not supported”.

Actual behavior: Call fails for all Python versions (example for 3.6):

Run python --version
  python --version
  shell: sh -e {0}
  env:
    pythonLocation: /__t/Python/3.6.15/x64
    PKG_CONFIG_PATH: /__t/Python/3.6.15/x64/lib/pkgconfig
    Python_ROOT_DIR: /__t/Python/3.6.15/x64
    Python2_ROOT_DIR: /__t/Python/3.6.15/x64
    Python3_ROOT_DIR: /__t/Python/3.6.15/x64
    LD_LIBRARY_PATH: /__t/Python/3.6.15/x64/lib
python: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /__t/Python/3.6.15/x64/lib/libpython3.6m.so.1.0)
python: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /__t/Python/3.6.15/x64/lib/libpython3.6m.so.1.0)
python: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__t/Python/3.6.15/x64/lib/libpython3.6m.so.1.0)
Error: Process completed with exit code 1.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
marko-zivic-93commented, Oct 20, 2022

Hello @DifferentialOrange , Thank you for your feedback! We will investigate this issue and come back to you as soon as we get some news about the issue 😃

0reactions
dmitry-shibanovcommented, Nov 30, 2022

I’m not sure that we need to add such check in the code because in documentation we state that the action uses python versions are built for specific versions of Ubuntu and macOS.

For now I’m going to close the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install Docker Engine on CentOS
This command downloads a test image and runs it in a container. When the container runs, it prints a message and exits. This...
Read more >
How To Install and Use Docker on CentOS 7
Step 1 — Installing Docker · Step 2 — Executing Docker Command Without Sudo (Optional) · Step 3 — Using the Docker Command...
Read more >
Can't install man pages on minimal Centos Docker container
Happened to me on a Vagrant setup with CentOS 7 - I found that some packages installed before the man-pages package was installed...
Read more >
Dockerfile is building from Centos:7 - is there a way to ...
I need to be able to run 'npm install' and 'npm run' commands within the containers that will be running this image, but...
Read more >
How to install and use docker and containers on centos 7
Before we begin the installation we need CentOS 7 64 bit and need a user who is non root with sudo permissions. Docker...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found