Dobiasd / FunctionalPlus

Functional Programming Library for C++. Write concise and readable C++ code.
http://www.editgym.com/fplus-api-search/
Boost Software License 1.0
2.07k stars 168 forks source link

CI fails because of missing GLIBC #276

Closed Dobiasd closed 10 months ago

Dobiasd commented 10 months ago
Run actions/checkout@main
  with:
    repository: Dobiasd/FunctionalPlus
    token: ***
    ssh-strict: true
    persist-credentials: true
    clean: true
    sparse-checkout-cone-mode: true
    fetch-depth: 1
    fetch-tags: false
    show-progress: true
    lfs: false
    submodules: false
    set-safe-directory: true
/usr/bin/docker exec  2249440bb33d7e4486191a91cf26076f26f69a6ccaeac60141dc052702f85b0f sh -c "cat /etc/*release | grep ^ID"
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /__e/node20/bin/node)

https://github.com/Dobiasd/FunctionalPlus/actions/runs/6170202179/job/16748394248

Dobiasd commented 10 months ago

Switching from using ubuntu-latest to ubuntu-20.04 does not help.

Dobiasd commented 10 months ago

Switching from using actions/checkout@main to actions/checkout@v4 does not help.

Dobiasd commented 10 months ago

@offa You know so many things about CI jobs and GitHub actions. Do you have any idea what's going on here?

offa commented 10 months ago

@offa You know so many things about CI jobs and GitHub actions. Do you have any idea what's going on here?

I think so. Some older compilers run in images based on EOL Ubuntu versions, which likely ship a outdated glibc version. actions/checkout (amongst others) requires node20 which requires a newer version of glibc.

Going back to an older actions/checkout version (v3?) could be a temporary fix, but it might be time to drop some older compilers instead now.

offa commented 10 months ago

I check these versions:

If my assumption is correct, only those should fail.

Update

Indeed, GCC <7 and Clang < 11 fail. Shall we drop them?

Dobiasd commented 10 months ago

Ah :bulb:, thanks a lot! :heart:

Yeah, let's drop them. :+1:

offa commented 10 months ago

PR is on the way …

Dobiasd commented 10 months ago

Thanks a lot!