Package Details: hhvm-git 20150820-1

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

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7 8 9 10 Next › Last »

Splith commented on 2013-03-05 21:26

I don't use this package (I just compile using a mismatch of patches) but I've got a mismatch load of patches I apply which are all collated from some of the pull requests on the hiphop-php page, not sure if you're interested in looking at them but I can upload the .patch if you'd like to see if it's worth adding any to this?

Spider.007 commented on 2013-01-21 18:02

@numkem I am testing your changes, but currently I am having the following rather short error-message:

[ 37%] Building CXX object src/compiler/CMakeFiles/hphp_analysis.dir/parser/hphp.tab.cpp.o
[ 37%] Building CXX object src/runtime/ext_hhvm/CMakeFiles/ext_hhvm_static.dir/ext_hhvm_infotabs.cpp.o
Linking CXX static library ../../../bin/libext_hhvm.a
[ 37%] Built target ext_hhvm_static
Linking CXX static library ../../bin/libhphp_analysis.a
[ 37%] Built target hphp_analysis
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Ideas welcome, do you even get this far?

numkem commented on 2013-01-21 17:46

With the current version from git, I had to change this :

- Add depend on google-glog (from community)
- Add "export USE_HHVM=1" before the line "cmake ."
- Like @chief-detektor said, patching the file with the full path fixes the compile error.

But I am now running in errors like those :

/tmp/yaourt-tmp-numkem/aur-hiphop-git/src/hiphop-php/src/runtime/ext/ext_memcached.cpp: In function ‘memcached_return_t HPHP::{anonymous}::doServerListCallback(const memcached_st*, memcached_server_instance_st, void*)’:
/tmp/yaourt-tmp-numkem/aur-hiphop-git/src/hiphop-php/src/runtime/ext/ext_memcached.cpp:638:23: error: invalid use of incomplete type ‘const struct org::libmemcached::Instance’
In file included from /usr/include/libmemcached-1.0/memcached.h:74:0,
from /usr/include/libmemcached/memcached.h:39,
from /tmp/yaourt-tmp-numkem/aur-hiphop-git/src/hiphop-php/src/runtime/ext/ext_memcached.h:23,
from /tmp/yaourt-tmp-numkem/aur-hiphop-git/src/hiphop-php/src/runtime/ext/ext_memcached.cpp:19:
/usr/include/libmemcached-1.0/types.h:43:49: error: forward declaration of ‘const struct org::libmemcached::Instance’

Anyone got that?

chief-detektor commented on 2012-10-19 13:07

@aaronmueller: i had this error once. i could fix it by replacing the relative path with the absolute path in the corresponding cpp-file.
solutuion: find / -iname "libdwarf.h" and copypaste the whole path where the libdwarf.h is included.

Spider.007 commented on 2012-10-16 12:11

Nope, never seen it before....

dcelasun commented on 2012-10-16 11:22

@aaronmueller: Weird, I never got that error. Maybe @Spider.007 has an idea?

aaronfischer commented on 2012-10-16 11:12

@dcelasun: Thanks! The build process runs but breaks after a while with this message:

[ 15%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/type_variant.cpp.o
In file included from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/runtime/vm/debug/debug.h:22:0,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/runtime/vm/translator/translator-x64.h:30,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/runtime/base/type_variant.cpp:28:
/tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/runtime/vm/debug/dwarf.h:23:22: fatal error: libdwarf.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/runtime/base/type_variant.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().


Should I need a older version of libdrwarf here?

dcelasun commented on 2012-10-16 05:34

@Spider.007 Can you replace the libmemcached dependency with libmemcached-hphp? Hiphop needs a really old memcached as confirmed by Facebook here: https://github.com/facebook/hiphop-php/issues/560

dcelasun commented on 2012-10-16 05:32

@aaronmueller: Please read the comments below you. GCC 4.7 cannot build this. You need gcc46 and libmemcached-hphp from AUR (find the links 2 comments below).

aaronfischer commented on 2012-10-16 05:24

I've got this bild error:

-- Build files have been written to: /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php
Scanning dependencies of target sqlite3
[ 0%] Building C object src/third_party/libsqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o
Linking C static library ../../../bin/libsqlite3.a
[ 0%] Built target sqlite3
Scanning dependencies of target xhp
[ 0%] Building CXX object src/third_party/xhp/xhp/CMakeFiles/xhp.dir/code_rope.cpp.o
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/ext/rope:2975:0,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/third_party/xhp/xhp/code_rope.hpp:17,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/third_party/xhp/xhp/code_rope.cpp:17:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/ext/ropeimpl.h: In instantiation of ‘__gnu_cxx::rope<_CharT, _Alloc>::rope(std::size_t, _CharT, const allocator_type&) [with _CharT = char; _Alloc = __gnu_cxx::__pool_alloc<char>; std::size_t = long unsigned int; __gnu_cxx::rope<_CharT, _Alloc>::allocator_type = __gnu_cxx::__pool_alloc<char>]’:
/tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/third_party/xhp/xhp/code_rope.cpp:41:42: required from here
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/ext/ropeimpl.h:1549:4: error: ‘__uninitialized_fill_n_a’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/ext/rope:52:0,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/third_party/xhp/xhp/code_rope.hpp:17,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/third_party/xhp/xhp/code_rope.cpp:17:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_uninitialized.h:334:5: note: ‘template<class _ForwardIterator, class _Size, class _Tp, class _Tp2> void std::__uninitialized_fill_n_a(_ForwardIterator, _Size, const _Tp&, std::allocator<_Tp2>&)’ declared here, later in the translation unit
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/ext/rope:2975:0,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/third_party/xhp/xhp/code_rope.hpp:17,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/third_party/xhp/xhp/code_rope.cpp:17:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/ext/ropeimpl.h:1569:4: error: ‘__uninitialized_fill_n_a’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/ext/rope:52:0,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/third_party/xhp/xhp/code_rope.hpp:17,
from /tmp/yaourt-tmp-am/aur-hiphop-git/src/hiphop-php/src/third_party/xhp/xhp/code_rope.cpp:17:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_uninitialized.h:334:5: note: ‘template<class _ForwardIterator, class _Size, class _Tp, class _Tp2> void std::__uninitialized_fill_n_a(_ForwardIterator, _Size, const _Tp&, std::allocator<_Tp2>&)’ declared here, later in the translation unit
make[2]: *** [src/third_party/xhp/xhp/CMakeFiles/xhp.dir/code_rope.cpp.o] Error 1
make[1]: *** [src/third_party/xhp/xhp/CMakeFiles/xhp.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build hiphop-git.