CTSRD-CHERI / cheribsd-ports

FreeBSD ports tree adapted for CheriBSD.
https://CheriBSD.org
Other
5 stars 11 forks source link

www/chromium: build an aarch64 package #11

Closed paulmetzger closed 1 year ago

paulmetzger commented 2 years ago

Hello,

It would be great if we could add Chromium to the CheriBSD ports. I am interested in this in the context of the Chrompartments project, which will start soon. As the name suggests, the project will compartmentalise the Chromium webbrowser. However, adding a widely used modern webbrowser to the CheriBSD desktop would be beneficial independent of Chrompartments. See https://www.chromium.org/chromium-projects/ for more information on Chromium. Building Chromium for aarch64 instead of purecap is probably an easier first step. It might be possible to turn off some features initially to reduce engineering effort.

At the moment poudriere fails to build fontconfig, which is one of Chromium's dependencies: https://poudriere.cheribsd.org/hosts/freebsd-arm64/data/cheribsd-aarch64-main/2022-04-27_15h53m08s/logs/errors/fontconfig-2.13.94_2,1.log The build fails because a bug in clang is triggered. @arichardson and @bukinr built fontconfig as purecap and hybrid library with this: https://gitlab.freedesktop.org/arichardson/fontconfig

Best regards, Paul

paulmetzger commented 2 years ago

@kwitaszczyk fixed the fontconfig issue. Now Rust, which is another dependency of Chromium, fails: https://poudriere.cheribsd.org/hosts/freebsd-arm64/data/cheribsd-aarch64-main/2022-06-06_10h49m17s/logs/errors/rust-1.59.0.log

kwitaszczyk commented 1 year ago

A package for the 20220828 CheriBSD ABI version was published with CheriBSD 22.12.