Package Details: servo-git 0.0.2.r2806.g41c9e68-1

Git Clone URL: https://aur.archlinux.org/servo-git.git (read-only, click to copy)
Package Base: servo-git
Description: Parallel Browser Project: web browser written in Rust
Upstream URL: https://github.com/servo/servo
Keywords: browser engine rust
Licenses: MPL-2.0
Conflicts: servo
Provides: servo
Submitter: None
Maintainer: alerque (farseerfc, yar)
Last Packager: alerque
Votes: 49
Popularity: 0.082955
First Submitted: 2013-08-16 05:23 (UTC)
Last Updated: 2026-06-01 07:53 (UTC)

Dependencies (26)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

sashank commented on 2026-07-09 13:28 (UTC) (edited on 2026-07-09 13:32 (UTC) by sashank)

Hey @Alkaris and @Alerque, so the PKGBUILD provides both an explicit string as a pkgver and it also attempts to construct one using the pkgver() method. The method tries to get the package version from the git repository, but running it, specifically the git describe command in the method, gives a "fatal" error: fatal: No names found, cannot describe anything. If that's a STDOUT, then sed acting on it results in an invalid version string, and if it's STDERR, then sed probably gives you an empty string.

Commenting out the pkgver() (via --editmenu if you're using yay), and keeping the earlier hardcoded string allows the package to build and install.

Alkaris commented on 2026-06-15 09:57 (UTC)

Something is wrong with the PKGBUILD file, it errors on the pkgver() stuff

==> Starting prepare()...
==> Starting pkgver()...
fatal: No names found, cannot describe anything.
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version: 
:: Unable to build servo-git - makepkg exited with code: 12

Wherever it's suppose to get names from it can't seem to find it, and it thinks pkgver and pkgver() sections is empty, but they're clearly not. All I was trying to do was update and this is the error I get.

alerque commented on 2026-03-05 08:46 (UTC) (edited on 2026-03-05 09:35 (UTC) by alerque)

Yes, the tagged 0.0.5 also did not build. If anybody figures out what the build incantation is to fix this I'm open to contributions. Mention it here or PR this GH repo if you find the fix.

It seems likely related to the glibc bump Arch saw recently, and it look like it will probably come down to this upstream dependency issue.

shadow_absorber commented on 2026-02-19 13:11 (UTC)

Ello

servo-git has failed to build while being installed from paru for the last week or so

it fails on compiling the

error: failed to run custom build command for `glslopt v0.1.12`

with a huge list of output around said error

HurricanePootis commented on 2024-06-28 19:39 (UTC) (edited on 2024-06-28 21:16 (UTC) by HurricanePootis)

Hello this package needs some updates:

  1. License is not SDPX compliant; needs to be changed to MPL-2.0
  2. cargo-nightly instead of cargo. Servo has a rust-toolchain.toml file, which specifies a specific version of rust. To use that, cargo-nightly will install rustup. In addition, the export RUSTUP_TOOLCHAIN=stable needs to be commented out for rust-toolchain.toml to be used.
  3. Disable LTO. Currently, building with LTO enabled results in an error. I tried using lld, export CFLAGS+=" -ffat-lto-objects, and export CXXFLAGS+=" -ffat-lto-objects"—none of them worked.
  4. Autoconf2.13 is no longer needed.

Here is a patch file for the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 9000d6c..2c373f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,12 @@
 # Contributor: beatgammit

 pkgname=servo-git
-pkgver=r47479.92196d985dc
+pkgver=r48603.3a0f5649161
 pkgrel=1
 pkgdesc='Parallel Browser Project: web browser written in Rust'
 arch=(x86_64 i686)
 url=https://github.com/servo/servo
-license=(MPL)
+license=(MPL-2.0)
 depends=(bzip2
          fontconfig
          freetype2
@@ -25,8 +25,7 @@ depends=(bzip2
          ttf-font
          xcb-util)
 install="$pkgname.install"
-makedepends=(autoconf2.13
-             cargo
+makedepends=(cargo-nightly
              clang
              cmake
              curl
@@ -41,6 +40,7 @@ provides=("${pkgname%-git}")
 conflicts=("${pkgname%-git}")
 backup=("etc/profile.d/${pkgname%-git}".{csh,sh})
 source=("$pkgname::git+$url.git")
+options=("!lto")
 sha256sums=('SKIP')

 pkgver() {
@@ -56,7 +56,7 @@ prepare() {

 build() {
    cd "$pkgname"
-   export RUSTUP_TOOLCHAIN=stable
+   #export RUSTUP_TOOLCHAIN=stable
    export CARGO_TARGET_DIR=target
    ./mach build --release
 }

micwoj92 commented on 2024-06-02 14:52 (UTC)

I have working pkgbuild.

ccicnce113424 commented on 2024-04-22 12:18 (UTC)

https://github.com/servo/servo/issues/30886#issuecomment-2053977417

cypa commented on 2024-04-10 16:30 (UTC) (edited on 2024-04-10 16:39 (UTC) by cypa)

confirm crown -vV error

error: could not execute process 'crown -vV' (never executed)

Caused by:
  No such file or directory (os error 2)
Failed in 0:00:00
[Warning] Could not generate notification: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

I guess we need setup proper environment ...

xiota commented on 2024-01-18 19:11 (UTC)

Clean chroot. Same crown -vV error. Unfortunately, I don't know how to fix.

alerque commented on 2024-01-11 09:33 (UTC)

@xiota Happy to accept contributions. Upstream has been messing around with the build system(s) and keep adding and removing stuff. If you have patches that work to make this build at any given point feel free to post them here or ever better PR them here.