-
Notifications
You must be signed in to change notification settings - Fork 58
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
Update run.sh to exclude sys/random.h for this target #127
Conversation
@scosol this seems OK to me, but have you managed to try building this locally to confirm it works? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fwiw, this is what we do for our own usage of mongosh: https://github.com/mongodb-js/mongosh/blob/5b5f6073a1406f329ebe84518c5a9bb0f159eae7/scripts/nodejs-patches/003-no-sys-random-on-older-glibc-node-52223.patch
On older glibc versions that's effectively equivalent to this patch, so I'd say it works :)
I've just built successfully for: ❯ ls -al ~/src/github/staging/release/v18.20.1 |
don't suppose you'd like to tackle some of the others while your head is in here? |
Sure- but I don't see any formal issues directly calling any other failures out? Shall I assume that anything not showing up here: https://unofficial-builds.nodejs.org/download/release/v20.12.1/ is currently "broken"? |
|
nodejs sources were updated with some glibc 2.25+ functionality around expecting/detecting sys/random.h and getrandom()
This target specifically is meant for lesser glibc versions, thus we specifically disable the new expectations