ungoogled-software / ungoogled-chromium

Google Chromium, sans integration with Google
BSD 3-Clause "New" or "Revised" License
20.32k stars 821 forks source link

Unable to build with no ozone, but X11 only? #2420

Closed TCH68k closed 1 year ago

TCH68k commented 1 year ago

OS/Platform

Debian, Ubuntu, and derivatives

Installed

Compiled from source

Version

115.0.5790.99

Have you tested that this is not an upstream issue or an issue with your configuration?

Description

Setting use_ozone to false causes build failure.

How to Reproduce?

  1. Put use_ozone=false into flags.gn.
  2. Build.

Actual behaviour

Error message:

ERROR at //ui/platform_window/common/BUILD.gn:8:1: Assertion failed.
assert(use_ozone)
^-----
See //ui/aura/BUILD.gn:260:15: which caused the file to be included.
    deps += [ "//ui/platform_window/common" ]
              ^----------------------------

Expected behaviour

Build without ozone, using X11 only, without a middle layer.

Relevant log output

ERROR at //ui/platform_window/common/BUILD.gn:8:1: Assertion failed.
assert(use_ozone)
^-----
See //ui/aura/BUILD.gn:260:15: which caused the file to be included.
    deps += [ "//ui/platform_window/common" ]
              ^----------------------------
ninja: Entering directory `out/Release'
ninja: error: loading 'build.ninja': No such file or directory

Additional context

No response

PF4Public commented 1 year ago

Build without ozone, using X11 only, without a middle layer.

Not possible.