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 ... 3 4 5 6 7 8 9 10 Next › Last »

dcelasun commented on 2012-08-24 10:01

Also, for anyone interested here is a successfully built package :) https://www.dropbox.com/s/ff9d6lco44lps8p/hiphop-git-20120824-1-x86_64.pkg.tar.xz

dcelasun commented on 2012-08-24 09:13

I've found a few bugs with this package during a *long* try/error build experience:

- GCC 4.7 can't build this. Please make this package depend on gcc46 [1] and add the following to build()

export CC=gcc-4.6
export CXX=g++-4.6

- libmemcached in community is at version 1.0.10 which is incompatible with hiphop. Please make the package depend on this older version I've created (libmemcached-hphp) [2].

Thanks!

[1] https://aur.archlinux.org/packages.php?ID=58748
[2] https://aur.archlinux.org/packages.php?ID=62251

dcelasun commented on 2012-08-23 12:29

Apparently this issue is related to GCC 4.7 https://github.com/facebook/hiphop-php/issues/500

dcelasun commented on 2012-08-23 11:57

New error:

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4.7.1/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
[ 0%] 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[1]: *** Waiting for unfinished jobs....
Built target afdt
[ 0%] [ 0%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/parse_tz.c.o
Building C object src/third_party/timelib/CMakeFiles/timelib.dir/timelib.c.o
[ 1%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/tm2unixtime.c.o
[ 1%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/unixtime2tm.c.o
Linking C static library ../../../bin/libtimelib.a
[ 1%] Built target timelib
Linking C static library ../../../bin/libsqlite3.a
[ 1%] Built target sqlite3
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

dcelasun commented on 2012-08-23 11:51

@Spider.007: Yep, it works now. I thought I posted *both* errors :)

dcelasun commented on 2012-08-23 11:51

@Spider.007: Yep, it works now. I though I posted *both* errors :)

Spider.007 commented on 2012-08-23 11:33

@dcelasun fixed actual error (libunwind.h found without matching unwind.h) by including additional dependencies

dcelasun commented on 2012-08-23 10:55

There seems to be a new error. What is this "libinotify" (NOT libnotify!) and how do I fix it?

-- The C compiler identification is GNU 4.7.1
-- The CXX compiler identification is GNU 4.7.1
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
-- Performing Test HAVE_GCC_44
-- Performing Test HAVE_GCC_44 - Success
-- Boost version: 1.50.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- Could NOT find LIBINOTIFY (missing: LIBINOTIFY_LIBRARY)
CMake Error at CMake/FindLibunwind.cmake:19 (message):
libunwind.h found without matching unwind.h
Call Stack (most recent call first):
CMake/HPHPFindLibs.cmake:38 (find_package)
CMake/HPHPSetup.cmake:46 (include)
src/CMakeLists.txt:18 (include)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...

Anonymous comment on 2011-10-27 15:40

When I compiling this error occurs:


[ 13%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/resource_data.cpp.o
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp:25:49: error: âos_max_resource_idâ has not been declared
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp:25:67: error: ISO C++ forbids declaration of âIMPLEMENT_THREAD_LOCAL_NO_CHECK_HOTâ with no type [-fpermissive]
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp:27:36: error: no âint HPHP::ResourceData::GetMaxResourceId()â member function declared in class âHPHP::ResourceDataâ
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp: In constructor âHPHP::ResourceData::ResourceData()â:
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp:31:67: error: no matching function for call to âHPHP::ObjectData::ObjectData(int, bool)â
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp:31:67: note: candidates are:
/opt/hiphop/hiphop-php/src/runtime/base/object_data.h:310:3: note: HPHP::ObjectData::ObjectData(const HPHP::ObjectData&)
/opt/hiphop/hiphop-php/src/runtime/base/object_data.h:310:3: note: candidate expects 1 argument, 2 provided
/opt/hiphop/hiphop-php/src/runtime/base/object_data.h:78:3: note: HPHP::ObjectData::ObjectData(bool)
/opt/hiphop/hiphop-php/src/runtime/base/object_data.h:78:3: note: candidate expects 1 argument, 2 provided
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp:32:16: error: âos_max_resource_idâ was not declared in this scope
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp: In member function âvoid HPHP::ResourceData::o_setId(int)â:
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp:39:16: error: âos_max_resource_idâ was not declared in this scope
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp: In destructor âvirtual HPHP::ResourceData::~ResourceData()â:
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp:47:16: error: âos_max_resource_idâ was not declared in this scope
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp: At global scope:
/home/malina/dev/hiphop/hiphop-php/src/runtime/base/resource_data.cpp:25:8: warning: âint HPHP::IMPLEMENT_THREAD_LOCAL_NO_CHECK_HOT(int, int)â declared âstaticâ but never defined [-Wunused-function]
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/runtime/base/resource_data.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

martinpoljak commented on 2011-08-21 20:44

See https://github.com/facebook/hiphop-php/issues/358 or alternatively https://github.com/martinkozak/hiphop-php for libmemcached 0.50 build issue fix.