-
Notifications
You must be signed in to change notification settings - Fork 49
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
Troubleshooting ungoogled-chromium Build on Ubuntu 22.04 #341
Comments
Hello @saaraahfar, There are a number of steps involved in getting (ungoogled-)chromium to build on Ubuntu jammy, I'm afraid, of which installing @jhonny-oliveira and I have been building Chromium on jammy (and later) for the XtraDeb PPA, and the short answer would be to point you to the script we maintain that applies most of the necessary changes automatically. The script, and its associated patches, should be commented in enough detail to serve as documentation for the changes. But I am happy to answer questions, if needed. Note that this script operates on the Debian (sid/unstable) version of the Chromium source tree, not the Google upstream source. If you wish to build the upstream source, then you'll need to adapt the changes. And either way, the ungoogled-chromium changes remain an entirely separate matter. This repo has a framework to apply them cleanly to the Debian patched source, under the Also, as of Chromium 121, in addition to
As it happens, this is a very recent development---I've been working on it the past few days, and just yesterday uploaded the necessary packages to this section of the XtraDeb PPA. The Node.js-related packages are taken from lunar, and four out of the five need minor modifications to build on jammy (which are recorded in a separate script in the aforementioned xtradeb-convert repo). And with all that said... if you are more intent on obtaining the latest ungoogled-chromium for Ubuntu rather than necessarily building it yourself, the XtraDeb repo should have it soon. The Node.js issue threw us for a loop, and we missed an update, but we are getting back on top of it again. |
@saaraahfar, were you able to get your build working? The XtraDeb "apps" PPA now has |
I'm working on setting up ungoogled-chromium on a fresh Ubuntu 22.04.3 LTS (Jammy Jellyfish) install, and I'm running into a couple of roadblocks. Any help would be greatly appreciated!
Initially, I hit a snag with missing compiler dependencies, getting an error about "Unmet build dependencies" from dpkg-checkbuilddeps. Thankfully, with some guidance from the community, I was able to add the necessary LLVM repository to get 'clang-16', 'lld-16', and their related development packages.
After sorting out the dependencies, a new error cropped up during the build process:
It seems the substitution {{cflags}} isn't appropriate for something working on a source file like this. I've checked the build script at //third_party/blink/renderer/platform/BUILD.gn:2013:3 but couldn't pinpoint the issue.
Steps Taken:
System Information:
The text was updated successfully, but these errors were encountered: