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

php: symbol lookup error: php: undefined symbol: crypto_core_ristretto255_scalar_invert #864

Closed
3 of 5 tasks
serzhik opened this issue Aug 22, 2024 · 8 comments
Closed
3 of 5 tasks
Assignees
Labels
bug Something isn't working self-hosted

Comments

@serzhik
Copy link

serzhik commented Aug 22, 2024

Describe the bug
I got error php: symbol lookup error: php: undefined symbol: crypto_core_ristretto255_scalar_invert on Setup Tools.
The same configuration worked with PHP 8.3.6 a week ago. Now I see an error message and PHP is 8.3.8

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems

PHP versions
8.3 (Issue with 8.3.8. It worked with 8.3.6)

To Reproduce
Configuration:

jobs:
  deploy:
    runs-on: self-hosted
    steps:
      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.3'

Expected behavior
No issues

Screenshots/Logs
image

Additional context
It worked with PHP 8.3.6 but does not work with PHP 8.3.8

Are you willing to submit a PR?
No

@serzhik serzhik added the bug Something isn't working label Aug 22, 2024
@shivammathur
Copy link
Owner

@serzhik

Please try running it again with update: true input, and runner: self-hosted env if you are using a self-hosted runner. It should install PHP 8.3.10 now.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    update:true
  env:
    runner: self-hosted

if this is not fixed, make sure the libsodium package is the latest one.

sudo apt-get update
sudo apt-get install libsodium -y

@shivammathur
Copy link
Owner

Please reopen if you are still facing the issue.

@serzhik
Copy link
Author

serzhik commented Sep 6, 2024

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.3'
          coverage: none
        env:
          update: true

It still uses PHP 8.3.8 with the same issue

@shivammathur
Copy link
Owner

Please specify the runner env and set it to self-hosted.

@serzhik
Copy link
Author

serzhik commented Sep 6, 2024

Issue still exists :(

Configuration:

name: magento-deploy

on:
  push:
    branches:
      - develop

jobs:
  deploy:
    runs-on: self-hosted
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4

      - uses: actions/setup-node@v4
        with:
          node-version: 18

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.3'
        env:
          runner: self-hosted
          fail-fast: true
          update: true

Result:
image

@shivammathur
Copy link
Owner

Please provide the output of this.

sudo apt-get update
sudo apt-cache policy libsodium
sudo apt-get install libsodium -y

@serzhik
Copy link
Author

serzhik commented Sep 6, 2024

image

@shivammathur
Copy link
Owner

The OS version you are using Debian 10 (Buster) is no longer supported. Please try running the workflow on a new version of Debian.

oerdnj/deb.sury.org#2098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working self-hosted
Projects
None yet
Development

No branches or pull requests

2 participants