Package Details: hhvm-git 20150820-1

Git Clone URL: (read-only, click to copy)
Package Base: hhvm-git
Description: Virtual Machine, Runtime, and JIT for PHP
Upstream URL:
Licenses: PHP
Submitter: yan12125
Maintainer: None
Last Packager: yan12125
Votes: 13
Popularity: 0.000000
First Submitted: 2014-10-05 07:01
Last Updated: 2015-08-20 17:17

Required by (0)

Sources (15)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

basemax commented on 2021-06-12 13:40

$ yay hhvm-git

1 aur/hhvm-git 20150820-1 (+14 0.00) (Orphaned) (Out-of-date: 2016-09-08) 
    Virtual Machine, Runtime, and JIT for PHP
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
 -> Could not find all required packages:
    pfff (Wanted by: hhvm-git)

Splith commented on 2017-05-18 09:56

This has strange errors when you try to build it, I've tried fixing them based off this PKGBUILD but it's giving odd errors, if you want to build hhvm at the moment I suggest you git clone the HHVM repository from github, make sure you have openssl-1.0 installed and following the debian build instructions but use this for the CMake command:

CC=clang CXX=clang++ cmake -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/ -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0/ -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/ -DMYSQL_UNIX_SOCK_ADDR=/run/mysqld/mysqld.sock -DENABLE_ASYNC_MYSQL=ON -DCLANG_FORCE_LIBSTDCXX=ON .

It should build without issue. The optional extras in the PKGBUILD will fail to build. Once done, change the service file in this to have /usr/local/bin/hhvm instead of /usr/bin/hhvm and you can do a

make DESTDIR=/tmp/somewhere install

then edit the PKGBUILD to do nothing except the install phase (remember to remove the parts dealing with the tools folder as these fail to build), add a pause in so you can run makepkg then move all the files over, and then run makepkg. This way you will get hhvm built successfully and all the files will be managed in pacman still, when I get some free time I'll look at creating a fresh PKGBUILD with the correct dependencies that builds and upload it.


Should also mention you cannot build this with re2 installed, either remove it from the PKGBUILD and uninstall it or if you need it for another package, remove it forcefully using pacman -Rdd re2, then build hhvm, then reinstall it. Also you need to add

#include <unicode/unistr.h>

to hphp/runtime/ext/icu/icu.h

Ppjet6 commented on 2017-04-27 17:37

From the PKGBUILD:

# curl included in php
# gd is bundled in hphp/runtime/ext/gd/libgd
# libxml2 included in libxslt
# pcre included in lots of packages

It might be a good idea to consider adding these packages to the dependencies if they are explicitely required. It will definitely avoid random breakage when these other packages stop requiring/including them for whatever reason.

Ppjet6 commented on 2017-04-27 14:07

Building the package fails with "clang-3.9: error: unknown argument: '-fvar-tracking-assignments'". It goes ahead if I remove it from DEBUG_CFLAGS and DEBUG_CXXFLAGS in /etc/makepkg.conf, but since this argument is present in the default configuration, you should probably workaround it.

sph commented on 2017-03-01 10:06

Build still fails with:

Scanning dependencies of target ocaml
make[2]: *** No rule to make target 'third-party/ocaml/OCAMLBUILD-NOTFOUND', needed by 'third-party/ocaml/CMakeFiles/ocaml'. Stop.
make[1]: *** [CMakeFiles/Makefile2:1138: third-party/ocaml/CMakeFiles/ocaml.dir/all] Error 2

nos1609 commented on 2016-11-21 12:17

@beefsack what about the lastest hhvm itself? any succsessfull builds yet?

beefsack commented on 2016-11-02 03:03

For those only needing the Hack tools and not HHVM, I've created a package for that because it builds happily on Arch. It works well for me because I run HHVM in a VM and only need the Hack tools on the host machine for syntax / type checking and formatting.

yan12125 commented on 2016-09-19 18:01

Narga: I don't use it anymore, so I can't give any other useful information. Please ask Facebook developers at

Narga commented on 2016-09-19 17:46

@yan12125: thanks for your information. Do you know the correct version of boost & boost-libs which help me build this packages successful? I've tried for several version of 1.60 but it's not work.
Thanks again.

yan12125 commented on 2016-09-19 09:51

Narga: folly, a library used in hhvm, is not compatible with boost 1.61 yet. You'll have to downgrade boost to build it. See