Package Details: hhvm-hack-git 3.24.0-1

Git Clone URL: https://aur.archlinux.org/hhvm-hack-git.git (read-only, click to copy)
Package Base: hhvm-hack-git
Description: HHVM's Hack tools (hh_client, hh_server, hh_format et al.)
Upstream URL: http://hacklang.org/
Licenses: PHP
Conflicts: hhvm
Submitter: beefsack
Maintainer: sander44
Last Packager: beefsack
Votes: 2
Popularity: 0.000000
First Submitted: 2016-11-02 02:50 (UTC)
Last Updated: 2018-01-16 23:31 (UTC)

Dependencies (8)

Required by (0)

Sources (1)

Latest Comments

beefsack commented on 2018-04-08 00:54 (UTC)

@wilfred unfortunately the dependency on 4.06 makes building this non-trivial, the HHVM doc mentions using a bundled version of ocaml but I'm not spotting it in the facebook/hhvm repo.

wilfred commented on 2018-03-20 22:47 (UTC)

This no longer builds as the default version of ocamlc is 4.06 on Arch but hhvm only builds on 4.05: https://github.com/facebook/hhvm/issues/8145

beefsack commented on 2017-06-05 07:59 (UTC)

Appears to be building again, have pushed an updated PKGBUILD for the latest tagged version.

beefsack commented on 2016-11-22 22:04 (UTC)

Hi @nobicycle, unfortunately it appears it might be related to another update, perhaps an OCaml update. The new version of HHVM 3.15 was released and I've been having a bit of trouble getting that to compile too. Will have a bit more of a play and see what I can find.

nobicycle commented on 2016-11-22 11:02 (UTC)

Hello beefstack, Thanks for packaging. Trouble I don't know how to fix: -- Build files have been written to: /tmp/yaourt-tmp-user/aur-hhvm-hack-git/src/hhvm/hphp/hack Scanning dependencies of target hack + /usr/bin/ocamlc.opt -g -ccopt -I/tmp/yaourt-tmp-user/aur-hhvm-hack-git/src/hhvm/hphp/hack/../.. -ccopt -I/usr/include -ccopt -DHAVE_ELF_GETSHDRSTRNDX -ccopt -pthread -c heap/hh_shared.c heap/hh_shared.c:136:0: warning: "SYS_memfd_create" redefined #define SYS_memfd_create 319 In file included from /usr/include/sys/syscall.h:31:0, from heap/hh_shared.c:105: /usr/include/bits/syscall.h:526:0: note: this is the location of the previous definition #define SYS_memfd_create __NR_memfd_create In file included from heap/hh_shared.c:84:0: heap/hh_shared.c: In function ‘raise_less_than_minimum_available’: /usr/lib/ocaml/caml/memory.h:224:12: error: ‘caml__frame’ undeclared (first use in this function) (void) caml__frame, \ ^ /usr/lib/ocaml/caml/memory.h:305:3: note: in expansion of macro ‘CAMLxparam1’ CAMLxparam1 (x) ^~~~~~~~~~~ heap/hh_shared.c:489:3: note: in expansion of macro ‘CAMLlocal1’ CAMLlocal1(arg); ^~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:224:12: note: each undeclared identifier is reported only once for each function it appears in (void) caml__frame, \ ^ /usr/lib/ocaml/caml/memory.h:305:3: note: in expansion of macro ‘CAMLxparam1’ CAMLxparam1 (x) ^~~~~~~~~~~ heap/hh_shared.c:489:3: note: in expansion of macro ‘CAMLlocal1’ CAMLlocal1(arg); ^~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:224:23: warning: left-hand operand of comma expression has no effect [-Wunused-value] (void) caml__frame, \ ^ /usr/lib/ocaml/caml/memory.h:305:3: note: in expansion of macro ‘CAMLxparam1’ CAMLxparam1 (x) ^~~~~~~~~~~ heap/hh_shared.c:489:3: note: in expansion of macro ‘CAMLlocal1’ CAMLlocal1(arg); ^~~~~~~~~~ Command exited with code 2. Compilation unsuccessful after building 1 target (0 cached) in 00:00:00. make[4]: *** [Makefile:175: build-hack-native-deps] Error 10 make[3]: *** [Makefile:165: _build/hh_server.native] Error 2 make[2]: *** [CMakeFiles/hack.dir/build.make:57: CMakeFiles/hack] Error 2 make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/hack.dir/all] Error 2 make: *** [Makefile:128: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build hhvm-hack-git. ==> Restart building hhvm-hack-git ? [y/N]

beefsack commented on 2016-11-14 21:59 (UTC)

@TheAifam5 is the standard configuration relevant for the Hack tools? It functions correctly without any configuration in place, so it's not stopping the user from creating their own if needed.

theaifam5 commented on 2016-11-14 19:21 (UTC) (edited on 2016-11-14 19:22 (UTC) by theaifam5)

You forgot to include standard configuration etc...