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

dev-desktops: Add cryptography packages for puppeteer chrome #617

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

aDotInTheVoid
Copy link
Member

Currently, running ./x test ./tests/rustdoc-gui/ --stage 2 on an x86 1 dev desktop it fails with

== STACKTRACE ==
Error: Failed to launch the browser process!
/home/gh-aDotInTheVoid/.cache/puppeteer/chrome/linux-127.0.6533.88/chrome-linux64/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

Indeed, running ldd on the chrome binary shows many missing dependencies:

gh-aDotInTheVoid@dev-desktop-eu-2:~/rust$ ldd ~/.cache/puppeteer/chrome/linux-127.0.6533.88/chrome-linux64/chrome | grep not
        libnss3.so => not found
        libnssutil3.so => not found
        libsmime3.so => not found
        libnspr4.so => not found

These packages allegedly have the missing deps, but I can't check that (or even that this works)

Footnotes

  1. On arm, it currently fails with an extreamly misterious error that I think it because it's running an x86 chome binary, and not handling the error well/at all

@jdno jdno merged commit 6c67646 into rust-lang:master Oct 21, 2024
3 checks passed
@jdno
Copy link
Member

jdno commented Oct 30, 2024

This has been deployed to all dev-desktops. Feel free to give it a try and let me know if you run into any issues... 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants