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

Test builds are failing (except on macOS) #135

Closed
SaschaMann opened this issue Feb 23, 2023 · 3 comments · Fixed by #145
Closed

Test builds are failing (except on macOS) #135

SaschaMann opened this issue Feb 23, 2023 · 3 comments · Fixed by #145
Assignees
Labels
bug Something isn't working

Comments

@SaschaMann
Copy link
Member

Recently the nightly builds have started to fail, e.g. https://github.com/julia-actions/setup-julia/actions/runs/4255325653/jobs/7402784582

> ncc build

ncc: Version 0.22.3
ncc: Compiling file index.js
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at hashOf (/home/runner/work/setup-julia/setup-julia/node_modules/@zeit/ncc/dist/ncc/index.js.cache.js:3:58216)
    at module.exports (/home/runner/work/setup-julia/setup-julia/node_modules/@zeit/ncc/dist/ncc/index.js.cache.js:3:60642)
    at runCmd (/home/runner/work/setup-julia/setup-julia/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:47355)
    at 819 (/home/runner/work/setup-julia/setup-julia/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:44227)
    at __webpack_require__ (/home/runner/work/setup-julia/setup-julia/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:169)
    at startup (/home/runner/work/setup-julia/setup-julia/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:339)
    at module.exports.8 (/home/runner/work/setup-julia/setup-julia/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:371)
    at /home/runner/work/setup-julia/setup-julia/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:381 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

@sunoru do you happen to have any idea what causes this?

@SaschaMann SaschaMann added the bug Something isn't working label Feb 23, 2023
@SaschaMann SaschaMann self-assigned this Feb 23, 2023
@SaschaMann SaschaMann changed the title Nightly builds are failing (except on macOS) Test builds are failing (except on macOS) Feb 23, 2023
@SaschaMann
Copy link
Member Author

It's all test builds, not just nightly

@sunoru
Copy link
Contributor

sunoru commented Feb 24, 2023

Yes I do happen to know what is the matter here. This action is defined to run by node16 but recently they upgraded the default environment to v18. (actions/runner-images#7002)
It seems many people ran into problems due to this upgrade.

I'm looking into why it cannot be run with node v18. You can assign this issue to me and I'll file a PR for it.

@sunoru
Copy link
Contributor

sunoru commented Feb 24, 2023

https://stackoverflow.com/a/69699772/2824258

We can just deprecate @zeit/ncc in favor of @vercel/ncc. (This is also suggested in the logs.)

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

Successfully merging a pull request may close this issue.

2 participants