Package Details: chromium-ozone-wayland-git 74.0.3703.0+24+5c0e21aca5-2

Git Clone URL: https://aur.archlinux.org/chromium-ozone-wayland-git.git (read-only)
Package Base: chromium-ozone-wayland-git
Description: Chromium built from the Igalia fork with experimental Wayland support via Ozone
Upstream URL: https://www.chromium.org/Home
Licenses: BSD
Conflicts: chromium
Provides: chromium
Submitter: hedgepigdaniel
Maintainer: hedgepigdaniel
Last Packager: hedgepigdaniel
Votes: 3
Popularity: 0.227775
First Submitted: 2019-02-06 08:40
Last Updated: 2019-02-14 22:03

Dependencies (47)

Required by (47)

Sources (6)

Pinned Comments

hedgepigdaniel commented on 2019-02-11 01:53

If you think changes should be made to the build script, please open a pull request: https://github.com/hedgepigdaniel/chromium-ozone-wayland-wayland-git-pkgbuild

Some information/recommendations:

  1. AFAICT, https://aur.archlinux.org/packages/depot-tools-git/ requires file create permission for /opt/depot_tools/ for the scripts to work correctly. So for this build to succeed you will need to run $ chmod a+w /opt/depot_tools/.

  2. Checking out the repository requires downloading ~800MB. You can avoid this in subsequent builds by checking out https://github.com/Igalia/chromium once, and then when you build, pulling the latest changes and editing the PKGBUILD to clone the repo from file:///path/to/your/checkout instead of $_gitrepo. Using the --depth 1000 argument to git clone brings the download size down from ~10GB to ~800MB. The build script also downloads a large amount of dependent projects.

  3. The build will take a long time (about 4 hours for me). If you find that you run out of memory during the build, you can sacrifice speed for memory usage by disabling the use_jumbo_build flag. To speed up subsequent builds, you should set up ccache with a large cache size - at least 10GB.

  4. There are still many large bugs. Since this is more likely a curiosity than a daily driver, I've set the default options to (debug !strip). This sacrifices performance and binary size (4GB) for good stack traces. If you experience a crash and would like to report the issue to the maintainers, you should be able to get a good stack trace out of coredumpctl+gdb: https://wiki.archlinux.org/index.php/Core_dump

  5. I have patched some things in a very hacky way to make the build work.

Latest Comments

« First ‹ Previous 1 2

TwainDee commented on 2019-02-08 03:16

@ixoos Thanks for the clang flags solution, I got stuck on the -fvar-tracking-assignments part and kind of gave up on the build. But after adding

export CFLAGS=-Qunused-arguments
export CXXFLAGS=-Qunused-arguments

to the build() section, everything worked as intended (note that the statements should be below the make ... command).

BTW I'm also using the latest clang on Arch.

clang version 7.0.1 (tags/RELEASE_701/final)

hedgepigdaniel commented on 2019-02-07 21:56

Sure, I've added google-cloud-sdk to makedepends.

I'm surprised about that -fvar-tracking-assignments error - I assume we are both using the same clang (https://www.archlinux.org/packages/extra/x86_64/clang/) and I didn't see that error

ixoos commented on 2019-02-07 16:11

@hedgepigdaniel Yup, that was it. Also you have to add one more dependency. "RuntimeError: Please install google-cloud-sdk package to use gsutil"

Now it throws that error.

"clang: error: unknown argument: '-fvar-tracking-assignments'"

I ended adding this to the build()

export CFLAGS=-Qunused-arguments

export CXXFLAGS=-Qunused-arguments

hedgepigdaniel commented on 2019-02-06 22:01

@ixoos interesting, now I think about it I did

chmod a+w /opt/depot_tools/

On my system. Does that fix it for you? That should allow depot_tools to create files in there.

If that's the issue perhaps we can find a solution in https://aur.archlinux.org/packages/depot-tools-git/

ixoos commented on 2019-02-06 16:40

[0:20:12] Still working on: [0:20:12] src/v8 Syncing projects: 100% (102/102), done.

__ running 'cipd ensure -log-level error -root /home/ixoos/.cache/yay/chromium-ozone-wayland-git/src -ensure-file /tmp/tmpF9ptDp.ensure' in '.' mktemp: failed to create file via template '/opt/depot_tools/.cipd_client.XXXXXXX': Permission denied curl: (23) Failed writing body (0 != 1388) Error: Command 'cipd ensure -log-level error -root /home/ixoos/.cache/yay/chromium-ozone-wayland-git/src -ensure-file /tmp/tmpF9ptDp.ensure' returned non-zero exit status 23 ==> BŁĄD: Wystąpił błąd w prepare().

Unfortunately, it doesn't work for me :c.