这是indexloc提供的服务,不要输入任何密码
Skip to content

Troubleshooting ungoogled-chromium Build on Ubuntu 22.04 #341

@saaraahfar

Description

@saaraahfar

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!

  1. Compiler Dependencies Missing

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.

  1. Current Build Error - Invalid Substitution Type

After sorting out the dependencies, a new error cropped up during the build process:

ERROR at //build/nocompile.gni:149:9: Invalid substitution type.
        args += [ "{{cflags}}" ] 

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:

  • Followed the installation instructions provided by ungoogled-chromium.
  • Successfully added the LLVM repository to install the required compiler toolchain.
  • Tried clean rebuilds after sorting out dependencies.

System Information:

  • OS: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
  • Kernel: 6.1.58+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions