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

Building chromium for v3.0.* #125

Closed
wants to merge 2 commits into from
Closed

Conversation

fartbagxp
Copy link

@bestplay9384
Copy link

@fartbagxp did you add libgbm-dev dependency while compiling as authors stated in puppeteer 3.0.1 release:

The docs now include the libgbm-dev dependency that's needed for Linux builds (#5667, #5693)

Linked issues:

I'm asking because those issues are connected especially with lambda environment :)

@bestplay9384
Copy link

bestplay9384 commented May 7, 2020

As far as i tested (via lambda layer with puppeteer 3.0.4) it works fine :)

@fartbagxp
Copy link
Author

fartbagxp commented May 7, 2020

Hmm, @bestplay9384 - didn't notice that one.
I just ran https://github.com/alixaxel/chrome-aws-lambda/blob/master/_/ansible/plays/chromium.yml using ansible on an AWS instance, should the Install Packages include libgbm1 according to puppeteer/puppeteer#5693?

What else is missing - since chromium.yml hasn't been updated since Oct 2019?

I can try to rebuild it with everything else turned on.

@fartbagxp
Copy link
Author

It doesn't seem like libgbm1 is available, so I'll use libgbm1-dev and update the configurations before rebuilding. I noticed that the AMI in inventory.ini is running off of a 2019 version of Amazon Linux 2 but it's probably not an issue.

I'm adding the hashes of the new files, just in case anybody wanted to verify.

File Type of Hash Hash
chromium.br md5 6e1eeb438f88880d41b70e8a33db29db
chromium.br sha1 49c57d369423c27189aec03b4487fb5da75e198b
chromium.br sha256 aaebb14231f2c80e5afd15586c1d94b6780f7ed1dcbe2b044c86592207e231d6
swiftshader.tar.br md5 5570df5549a9faaebb3b2a3d4cbd4e84
swiftshader.tar.br sha1 e44214200c893af265c24a2dabc738981813bcbf
swiftshader.tar.br sha256 b42101c710e59a68d89e38b8006262f7ad0409793ae979214e5ea6ea35241d31

@alixaxel
Copy link
Owner

alixaxel commented May 9, 2020

Thank you for this @fartbagxp! 🙇

@alixaxel alixaxel closed this May 9, 2020
@fartbagxp fartbagxp deleted the v3.0-update branch May 9, 2020 03:31
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.

None yet

3 participants