Package Details: servo-git r44260.bd92fad81a-1

Git Clone URL: (read-only, click to copy)
Package Base: servo-git
Description: Parallel Browser Project: web browser written in Rust
Upstream URL:
Keywords: browser engine rust
Licenses: MPL
Conflicts: servo
Provides: servo
Submitter: beatgammit
Maintainer: alerque (farseerfc, yar, hcsch)
Last Packager: alerque
Votes: 45
Popularity: 0.93
First Submitted: 2013-08-16 05:23 (UTC)
Last Updated: 2021-08-05 20:46 (UTC)

Dependencies (26)

Required by (0)

Sources (1)

Latest Comments

alerque commented on 2021-09-21 17:10 (UTC)

@mble It looks like the Arch [community] package for python-blessings is newer than this build demands. Probably the thing to do is patch the servo sources to be more accepting of other versions, then if it doesn't build with 1.7.x submit a patch to servo upstream to fix it. I'm happy to accept such a patch (either in comments with git format-patch or as a PR on this repository) but I'm unlikely to have time to hack around on this build any time too soon. Also either way this should be reported upstream.

mble commented on 2021-09-21 16:42 (UTC)

Updating files:  98% (99189/101213)
Updating files:  99% (100201/101213)
Updating files: 100% (101213/101213)
Updating files: 100% (101213/101213), done.
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Obtaining file:///var/tmp/pamac-build-mble/servo-git/src/servo-git/python/tidy (from -r /var/tmp/pamac-build-mble/servo-git/src/servo-git/python/requirements.txt (line 35))
Collecting blessings==1.6
  Using cached blessings-1.6.tar.gz (19 kB)
    ERROR: Command errored out with exit status 1:
     command: /var/tmp/pamac-build-mble/servo-git/src/servo-git/python/_virtualenv3.9/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dwdd9aw3/blessings_044041f758424b8c8c5d7f6d82c2deeb/'"'"'; __file__='"'"'/tmp/pip-install-dwdd9aw3/blessings_044041f758424b8c8c5d7f6d82c2deeb/'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code ='"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-dmkmryeq
         cwd: /tmp/pip-install-dwdd9aw3/blessings_044041f758424b8c8c5d7f6d82c2deeb/
    Complete output (1 lines):
    error in blessings setup command: use_2to3 is invalid.
WARNING: Discarding (from Command errored out with exit status 1: python egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement blessings==1.6 (from versions: 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5.1, 1.6, 1.6.1, 1.7)
ERROR: No matching distribution found for blessings==1.6
"/var/tmp/pamac-build-mble/servo-git/src/servo-git/python/_virtualenv3.9/bin/python" "-m" "pip" "install" "-I" "-r" "/var/tmp/pamac-build-mble/servo-git/src/servo-git/python/requirements.txt" failed with error code 1:
==> ERROR: A failure occurred in build().

yar commented on 2021-07-06 00:15 (UTC)

Same error as @hcsch. Please fix or orphan, thanks.

hcsch commented on 2021-03-21 12:10 (UTC)

I got "Python virtualenv is not installed. Please install it prior to running mach." as an error when trying to install this with yay (I also tried plain makepkg). It seems to me that mach uses python (3) instead of python2. Switching the makedeps python packages from python2 to python worked for me.

farseerfc commented on 2020-08-17 06:56 (UTC)

@dmitmel good point, I stopped installing libraries in PKGBUILD

dmitmel commented on 2020-08-12 13:41 (UTC)

Are the libraries in target/release/deps actually needed? The servo binary isn't dynamically linked with them, can work just fine without them, and they are mostly (if not all) procedural macro packages, so are executed at build-time and generate code, yet contribute 149 megabytes (on my machine at least) to the installed package.

Scimmia commented on 2020-05-19 16:36 (UTC)

lilac, see the note here:

Stop the insane bumping.

farseerfc commented on 2018-06-07 06:44 (UTC)

add to add clang to makedepends. It will look for when build.

hcorion commented on 2018-05-04 16:41 (UTC)

This should require rustup as a makedepend.

jnbek commented on 2017-08-28 01:58 (UTC)

Passing this back to whomever can take care of it

jnbek commented on 2017-04-20 00:22 (UTC)

OK, so far, this will NOT build on the system installed Rust/Cargo. It throws errors about 'feature can not be enabled on the Stable release'. I'll keep messing with it to see if I can make any headway, but I'm not making any promises. If any one wants to try, see This file will need to be copied to the ./servo directory as .servobuild after the initial git clone is completed. Obviously if anyone has any success getting it built, feel free to email me a patch and I'll get it implemented. The goal is to have this use the system rust/cargo and use the --release build for better performance, with a cpl variables to uncomment if you want the --dev build or to use the bundled rust/cargo versions.

jnbek commented on 2017-04-19 21:22 (UTC)

@atommixz maybe... Servo devs say it might be possible... I'll mess with it when I make sure the existing method still builds.

Frames commented on 2017-02-12 17:57 (UTC)

Need to add depot-tools-git ( as a dependency for angle compilation.

whoami commented on 2017-02-12 08:03 (UTC)

It can't compile with community/rust package?

darkbasic commented on 2016-09-21 10:21 (UTC)

How do I run browser.html?

Cork commented on 2016-08-29 06:14 (UTC)

You've forgotten to update the .SRCINFO file. The package doesn't install cause it is out of sync with the PKGBUILD file.

jnbek commented on 2016-05-23 15:24 (UTC)

Going to take a stab at maintaining this.

cemsbr commented on 2016-03-29 22:40 (UTC)

Maybe it was because my /tmp was full. I need to test it again using my HD.

cemsbr commented on 2016-03-29 19:01 (UTC)

Compiling jpeg-decoder v0.1.2 Compiling glx v0.1.1 Compiling unicase v1.0.1 Compiling hyper v0.8.0 Compiling hbs-pow-sys v0.2.0 /tmp/yaourt-tmp-cadu/aur-servo-git/src/servo/.cargo/registry/src/ 9:28 wa rning: lint raw_pointer_derive has been removed: using derive with raw pointers is ok /tmp/yaourt-tmp-cadu/aur-servo-git/src/servo/.cargo/registry/src/ #![allow(ra w_pointer_derive)] ^~ ~~~~~~~~~~~~~~~~ Compiling clipboard v0.1.2 ( Compiling dylib v0.0.1 Compiling x11-dl v2.4.0 Compiling hbs-pow v0.2.0 Compiling servo-egl v0.2.1 Compiling enum_primitive v0.1.0 Compiling lzw v0.9.0 Compiling gif v0.7.0 Compiling image v0.7.0 Compiling websocket v0.16.1 LLVM ERROR: IO failure on output stream. Build failed, waiting for other jobs to finish... LLVM ERROR: IO failure on output stream. LLVM ERROR: IO failure on output stream. LLVM ERROR: IO failure on output stream. error: Could not compile `mozjs_sys`. To learn more, run the command again with --verbose. Build completed in 654.06s

bjo commented on 2016-03-17 13:23 (UTC)

I've tried to fix the deps, let's see if it builds.

benneti commented on 2016-03-15 11:48 (UTC)

I second this question, it definitely compiles while rust is installed

D101101 commented on 2016-01-22 06:02 (UTC)

Why does this package conflicts with 'rust' package? Why some libraries are located in /usr/lib, if you use the /opt? Isn't it better to place all library in opt directory?

celilo commented on 2015-10-22 21:54 (UTC)

Fails to build. It looks like mozjs is not building correctly. Errors below: Compiling websocket v0.12.2 Compiling webdriver v0.3.1 ( Compiling layers v0.1.0 ( Compiling gfx_traits v0.0.1 (file:///tmp/yaourt-tmp-kurtm/aur-servo-git/src/servo/components/servo) Compiling image v0.4.0 failed to run custom build command for `mozjs_sys v0.0.0 (` Process didn't exit successfully: `/tmp/yaourt-tmp-kurtm/aur-servo-git/src/servo/target/debug/build/mozjs_sys-e411d274df144795/build-script-build` (exit code: 101) --- stdout cd /tmp/yaourt-tmp-kurtm/aur-servo-git/src/servo/target/debug/build/mozjs_sys-e411d274df144795/out && \ MOZ_TOOLS="" CC="gcc" CPP="gcc -E" CXX="g++" AR="ar" \ /tmp/yaourt-tmp-kurtm/aur-servo-git/src/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/configure --enable-gczeal --disable-jemalloc creating cache ./config.cache checking Then eventually: make[3]: *** [js/src/target] Error 2 make[2]: *** [compile] Error 2 make[1]: *** [default] Error 2 make: *** [all] Error 2 thread '<main>' panicked at 'assertion failed: result.success()', /tmp/yaourt-tmp-kurtm/aur-servo-git/src/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/ Build comake[3]: *** [js/src/target] Error 2 make[2]: *** [compile] Error 2 make[1]: *** [default] Error 2 make: *** [all] Error 2 thread '<main>' panicked at 'assertion failed: result.success()', /tmp/yaourt-tmp-kurtm/aur-servo-git/src/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/ Build make[3]: *** [js/src/target] Error 2 make[2]: *** [compile] Error 2 make[1]: *** [default] Error 2 make: *** [all] Error 2 thread '<main>' panicked at 'assertion failed: result.success()', /tmp/yaourt-tmp-kurtm/aur-servo-git/src/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/ Build completed in 2009.22s ==> ERROR: A failure occurred in build(). Aborting... completed in 2009.22s ==> ERROR: A failure occurred in build(). Aborting... mpleted in 2009.22s ==> ERROR: A failure occurred in build(). Aborting...

emw commented on 2015-08-16 08:40 (UTC)

Hi, I had problems installing today, namely the following message: install: cannot stat ‘/tmp/yaourt-tmp-emw/aur-servo-git/src/servo/components/servo/target/debug/servo’: No such file or directory It seems like the build products have moved. When I ran `ln -s ../../target .` in /tmp/yaourt-tmp-emw/aur-servo-git/src/servo/components/servo and restarted building, all worked well.

skgsergio commented on 2015-08-15 14:46 (UTC)

Yes it can be avoided. If you create a .servobuild file in the root directory of the git project you use your system rust and cargo:

klusark commented on 2015-06-08 23:48 (UTC)

@bb010g, I don't think so. Servo ships it's own version of rust, so we need the rust libraries. I'll see if I can resolve the conflict though.

bb010g commented on 2015-06-07 21:21 (UTC)

Is there anyway the conflict with `rust` could be avoided?

rvalles commented on 2015-05-30 12:37 (UTC)

Forgot to say, trivial change does the trick: ./mach build -d

rvalles commented on 2015-05-30 12:35 (UTC)

Silly issue today: :: Checking servo-git integrity... ==> Making package: servo-git 8255.ccf5f96-1 (Sat May 30 12:35:26 UTC 2015) ==> Retrieving sources... -> Updating servo git repo... Fetching origin ==> Validating source files with md5sums... servo ... Skipped :: Building servo-git package(s)... ==> Making package: servo-git 10607.99b79fc-1 (Sat May 30 12:35:29 UTC 2015) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating servo git repo... Fetching origin ==> Validating source files with md5sums... servo ... Skipped ==> Extracting sources... -> Creating working copy of servo git repo... Reset branch 'makepkg' ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... Please specify either --dev (-d) for a development build, or --release (-r) for an optimized build. ==> ERROR: A failure occurred in build(). Aborting... :: servo-git cleaning skipped :: failed to build servo-git package(s)

KenjiTakahashi commented on 2015-05-04 22:22 (UTC)

Please disregard, it was a configuration problem on my side... The package works fine.

KenjiTakahashi commented on 2015-05-04 21:38 (UTC)

Build fails with: Submodule 'support/android-rs-glue' ( registered for path 'support/android-rs-glue' Cloning into 'support/android-rs-glue'... remote: Counting objects: 525, done. remote: Total 525 (delta 0), reused 0 (delta 0), pack-reused 525 Receiving objects: 100% (525/525), 115.03 KiB | 0 bytes/s, done. Resolving deltas: 100% (259/259), done. Checking connectivity... done. Submodule path 'support/android-rs-glue': checked out '34f588aace4d05ce42f4ca605d5470df8fdd236e' Downloading Rust snapshot... Downloading Rust snapshot: 100.0% Extracting Rust snapshot... Snapshot Rust ready. Downloading Cargo nightly... Downloading Cargo nightly: 100.0% Extracting Cargo nightly... Cargo ready. Updating registry `` Updating git repository `` Updating git repository `` [Warning] Could not generate notification! Please make sure that the python dbus module is installed! Build completed in 67.44s ==> ERROR: A failure occurred in build(). Aborting... Note regarding WARNING: I do have python[2]-dbus installed.

farseerfc commented on 2015-04-12 14:54 (UTC)

Should depends on libxcurser ? Otherwise failed with an error: note: /usr/bin/ld: cannot find -lXcursor

klusark commented on 2015-04-10 05:26 (UTC)

@intgr, I'm getting an unrelated build failure. I'll update it when I can get it working. Sorry for not updating for so long.

intgr commented on 2015-04-06 11:30 (UTC)

@klusark Please update or disown.

intgr commented on 2015-03-23 11:08 (UTC)

The build fails at the moment, I needed to change servopath to servo/components/servo/target/debug Is it just me or does this need to be changed in the PKGBUILD?

lowfatcomputing commented on 2014-12-09 20:59 (UTC)

servo-git apparently conflicts with rust for now. Also servo is in: $srcdir/servo/components/servo/target/servo not $srcdir/servo/target/servo

leidola commented on 2014-12-01 14:19 (UTC)

Does anybody have an idea, why the package fails using yaourt or aura with the following error, but works when building it manually with makepkg? ------ Compiling encoding v0.2.0 ( Compiling gl_generator v0.0.1 ( Build failed, waiting for other jobs to finish... Failed to run custom build command for `rustuv v0.0.1 (` Process didn't exit successfully: `make -C build` (status=2) --- stdout make: Entering directory '/home/oleid/.cargo/git/checkouts/green-rs-b9cfdf70c4e4296e/servo/librustuv/build' (cd libuv && python ./ -f make -Dtarget_arch=x64 \ -D ninja \ -DOS=linux \ -Goutput_dir=/tmp/yaourt-tmp-oleid/aur-servo-git/src/servo/target/native/rustuv-31b2f01c9f5360db/libuv --generator-output /tmp/yaourt-tmp-oleid/aur-servo-git/src/servo/target/native/rustuv-31b2f01c9f5360db/libuv) Makefile:50: recipe for target '/tmp/yaourt-tmp-oleid/aur-servo-git/src/servo/target/native/rustuv-31b2f01c9f5360db/libuv/Makefile' failed make: Leaving directory '/home/oleid/.cargo/git/checkouts/green-rs-b9cfdf70c4e4296e/servo/librustuv/build' --- stderr File "./", line 51 print 'Error running GYP' ^ SyntaxError: Missing parentheses in call to 'print' make: *** [/tmp/yaourt-tmp-oleid/aur-servo-git/src/servo/target/native/rustuv-31b2f01c9f5360db/libuv/Makefile] Error 1 --- Obviously, the wrong python version is used.

onodera commented on 2014-11-09 18:19 (UTC)

Hi, cmake is missing as a build dependency.

beatgammit commented on 2014-09-08 17:26 (UTC)

@klusark - Sorry for the long delay, I've disowned the package. Go ahead and take it over. I was hoping to revisit this once the cargo patch[1] lands, but I don't have a lot of time now. [1] -

klusark commented on 2014-06-09 04:55 (UTC)

I created an updated pkgbuild @beatgammit, I can take over the package if you want.

beatgammit commented on 2014-05-28 01:12 (UTC)

@Jonhoo - Not really, this is actually my first git-based PKGBUILD. I'll fix it up soon. @m4b - Good catch, I'll add that to the dependencies. @Kudlaty - Sadly no, it takes a long time to compile, so I'm not too motivated to track down the errors. I'll make sure to post here when it is working. Hopefully soon! If anyone wants to maintain this, just let me know and I'll orphan it. I do plan on getting it working.

Jonhoo commented on 2014-05-24 13:27 (UTC)

Any particular reason why you're not using the built-in support in makepkg for git sources [1]? [1]:

m4b commented on 2014-05-07 19:55 (UTC)

this requires autoconf; the says it requires autconf2.13 but this package will not ./configure without autoconf installed.

Kudlaty commented on 2014-04-09 06:28 (UTC)

is it working now?

beatgammit commented on 2014-03-18 02:53 (UTC)

Yes, this PKGBUILD is mostly broken. I'm working on that, but it takes ~30 min to build on my laptop, so it's slow going. I'll hopefully have an update soon that is usable.

Pyfisch commented on 2014-03-02 09:40 (UTC)

I tried to install it. But it did not work. There are really many missing dependencies, I installed some, but it still does not work. I have a relativly new installation of Arch.

beatgammit commented on 2014-02-25 06:35 (UTC)

@flying-sheep - Will do. I still need to do a bit of packaging work to get this to install correctly.

flying-sheep commented on 2014-02-11 15:13 (UTC)

i want to avoid ttf-ms-fonts. why is that needed‽ just depend on ttf-font.

beatgammit commented on 2013-08-16 05:29 (UTC)

Warning: this takes a long time to compile. This will hopefully get faster as Rust stabilizes. There's probably a lot of missing dependencies, and I wasn't sure which to add. There's a commented list next to depends() of packages I pulled from the servo README. If you need to install dependencies, please let me know if it fails at compile time or at runtime. If I get time I'll try this on a fresh Arch install.