javer / gentoo-overlay Goto Github PK
View Code? Open in Web Editor NEWGentoo Portage Overlay [javer]
Gentoo Portage Overlay [javer]
Can you change hhvm dep dev-db/mysql to virtual/mysql? Some people out there are using mariadb...
I get mysql sources error when emerging pinba-engine:
MySQL/MariaDB sources not found at path: /var/tmp/portage//work/_build
Looks like best_version
returns nothing.
# emerge -s mariadb
* dev-db/mariadb
Latest version available: 10.0.21
Latest version installed: 10.0.21
The ebuild works great, thanks. But I think some tools should be installed, e.g. hackificator. Also, to install hhvm-pgsql, I have to interrupt the emerge of hhvm to grab hphp/tools/hphpize/hphpize and hphp/system/constants.h. It would be great to have these installed in /usr/bin or /usr/share/hhvm
I wanted to reuse your hhvm-dependency ebuilds, but wasn't able to that with dev-libs/libdwarf, because their website is currently down. So I created my own version which takes git version from sourceforge, feel free to reuse, if you need it. https://github.com/skyfms/portage-overlay/tree/master/dev-libs/libdwarf
installing hhvm I get:
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at http://bugs.gentoo.org unless you report exactly which
* two packages install the same file(s). See
* http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to
* solve the problem. And once again, please do NOT file a bug report
* unless you have completely understood the above message.
*
* Detected file collision(s):
*
* /usr/bin/pcregrep
* /usr/bin/pcretest
* /usr/include/pcreposix.h
* /usr/include/pcrecpp.h
* /usr/include/pcre_stringpiece.h
* /usr/include/pcrecpparg.h
* /usr/include/pcre.h
* /usr/include/pcre_scanner.h
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* dev-libs/libpcre-8.35:3::gentoo
* /usr/bin/pcregrep
* /usr/bin/pcretest
* /usr/include/pcre.h
* /usr/include/pcre_scanner.h
* /usr/include/pcre_stringpiece.h
* /usr/include/pcrecpp.h
* /usr/include/pcrecpparg.h
* /usr/include/pcreposix.h
Hello,
i've found your overlay, thats great.
Unfortunately i'm not able to compile. After compiling it fails while linking:
[ 99%] Building CXX object hphp/test/CMakeFiles/test.dir/ext/test_parser_expr.cpp.o
Linking CXX executable hhvm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmysqlclient_r
collect2: error: ld returned 1 exit status
make[2]: *** [hphp/hhvm/hhvm] Error 1
make[1]: *** [hphp/hhvm/CMakeFiles/hhvm.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Do you have any idea to solve that? Which information do you need?
Thanks, Denny
Regression introduced in ff23635
FEATURES="collision-protect"
is showing that HHVM is compiling it's own version of lipzip.so and trying to install it as a system library.
We're going to need to add a dependency on dev-libs/libzip
and determine why HHVM isn't noticing it.
i initially posted on hhvm repo but they closed my thread (take a look here facebook/hhvm#2458 (comment))
I want to rebuild hhvm under gentoo to preserve the libs but i get an error:
-- Check size of int32_t
-- Check size of int32_t - done
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for atoll
-- Looking for atoll - found
-- Looking for strftime
-- Looking for strftime - found
-- Looking for setlocale
-- Looking for setlocale - found
CMake Error at third-party/folly/CMakeLists.txt:4 (message):
/var/tmp/portage/dev-php/hhvm-9999/work/hhvm-9999/third-party/folly/folly/Portability.h
missing, did you forget to run git submodule update --init?
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-php/hhvm-9999/work/hhvm-9999/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-php/hhvm-9999/work/hhvm-9999/CMakeFiles/CMakeError.log".
ERROR: dev-php/hhvm-9999::javer failed (configure phase):
econf failed *
Call stack:
ebuild.sh, line 93: Called src_configure
environment, line 3110: Called econf '-DCMAKE_BUILD_TYPE=Release'
phase-helpers.sh, line 584: Called die
The specific snippet of code:
die "econf failed" *
If you need support, post the output of emerge --info '=dev-php/hhvm-9999::javer',
the complete build log and the output of emerge -pqv '=dev-php/hhvm-9999::javer'.
The complete build log is located at '/var/tmp/portage/dev-php/hhvm-9999/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/dev-php/hhvm-9999/temp/environment'.
Working directory: '/var/tmp/portage/dev-php/hhvm-9999/work/hhvm-9999'
S: '/var/tmp/portage/dev-php/hhvm-9999/work/hhvm-9999'
Failed to emerge dev-php/hhvm-9999, Log file:
'/var/tmp/portage/dev-php/hhvm-9999/temp/build.log'
Messages for package dev-lang/ocaml-4.01.0:
OCaml is not binary compatible from version to version, so you
need to rebuild all packages depending on it, that are actually
installed on your system. To do so, you can run:
emerge @ocaml-rebuild
Messages for package dev-php/hhvm-9999:
ERROR: dev-php/hhvm-9999::javer failed (configure phase):
econf failed *
Call stack:
ebuild.sh, line 93: Called src_configure
environment, line 3110: Called econf '-DCMAKE_BUILD_TYPE=Release'
phase-helpers.sh, line 584: Called die
The specific snippet of code:
die "econf failed" *
If you need support, post the output of emerge --info '=dev-php/hhvm-9999::javer',
the complete build log and the output of emerge -pqv '=dev-php/hhvm-9999::javer'.
The complete build log is located at '/var/tmp/portage/dev-php/hhvm-9999/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/dev-php/hhvm-9999/temp/environment'.
Working directory: '/var/tmp/portage/dev-php/hhvm-9999/work/hhvm-9999'
S: '/var/tmp/portage/dev-php/hhvm-9999/work/hhvm-9999'
GNU info directory index is up-to-date.
!!! existing preserved libs:
package: media-libs/libpng-1.6.10
- /usr/lib64/libpng15.so.15
- /usr/lib64/libpng15.so.15.17.0
used by /usr/bin/hhvm (dev-php/hhvm-9999) Use emerge @preserved-rebuild to rebuild packages using these libraries
3.2.0 is out now, http://hhvm.com/blog/5609/hhvm-3-2-0
Versions 3.6.2 and 3.7.0 of HHVM have been released. See the 3.7.0 release announcement and the 3.6.2 tag.
About a week ago HHVM stopped compiling and started complaining that I needed to install binutils. Recompiling binutils with the static-libs USE flag fixed that issue.
Judging by the comments in facebook/hhvm@d7a95c8 it now requires libbfd to be compiled as a static lib, meaning that it now depends on binutils with the static-libs USE flag.
The configure fails if ocaml-4.01.0 is not installed.
Appearanly after a libvp upgrade some constants are missing.
(It seems to be solved in hhvm-9999 / hhvm head)
[ 81%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/gd/libgd/webpimg.cpp.o
/var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp: In function ‘WebPResult VPXEncode(const uint8_, const uint8_, const uint8_, int, int, int, int, int, int, int, int, unsigned char__, int_)’:
/var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:708:24: error: ‘IMG_FMT_I420’ was not declared in this scope
vpx_img_wrap(&img, IMG_FMT_I420,
^
/var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:710:16: error: ‘PLANE_Y’ was not declared in this scope
img.planes[PLANE_Y] = (uint8_)(Y);
^
/var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:711:16: error: ‘PLANE_U’ was not declared in this scope
img.planes[PLANE_U] = (uint8_)(U);
^
/var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:712:16: error: ‘PLANE_V’ was not declared in this scope
img.planes[PLANE_V] = (uint8_)(V);
^
hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/build.make:2587: recipe for target 'hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/gd/libgd/webpimg.cpp.o' failed
make[2]: *_* [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/gd/libgd/webpimg.cpp.o] Error 1
CMakeFiles/Makefile2:1438: recipe for target 'hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/all' failed
make[1]: *** [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
I can't emerge hhvm 3.7.0 on Gentoo hardened system. It fails when building "mcrouter target", I couldn't get any more details from build.log. Is there any log that shows compilation details?
[ 41%] Building CXX object third-party/mcrouter/CMakeFiles/mcrouter.dir/mcrouter/lib/config/ConfigPreprocessor.cpp.o
[ 41%] Building CXX object third-party/mcrouter/CMakeFiles/mcrouter.dir/mcrouter/lib/WeightedCh3HashFunc.cpp.o
[ 41%] Building CXX object third-party/mcrouter/CMakeFiles/mcrouter.dir/mcrouter/lib/StatsReply.cpp.o
[ 41%] Building CXX object third-party/mcrouter/CMakeFiles/mcrouter.dir/mcrouter/lib/McRequestBase.cpp.o
[ 42%] Building CXX object third-party/mcrouter/CMakeFiles/mcrouter.dir/mcrouter/lib/McReplyBase.cpp.o
[ 42%] Building CXX object third-party/mcrouter/CMakeFiles/mcrouter.dir/mcrouter/lib/IOBufUtil.cpp.o
Linking CXX static library libmcrouter.a
[ 42%] Built target mcrouter
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
emerge --info '=dev-php/hhvm-3.7.0::javer'
,emerge -pqv '=dev-php/hhvm-3.7.0::javer'
.Failed to emerge dev-php/hhvm-3.7.0, Log file:
'/tmp/portage/dev-php/hhvm-3.7.0/temp/build.log'
init script and conf.d for configure ports,mode,type add to new 2.4 ebuild
It seems to build with onigurama 5.9.4, but can't test a full compile successfully because of another problem.
Probably needs 5.9.4 since the commit in facebook/hhvm#1400.
Hello
I am receiving an error when compiling hhvm:
Linking CXX static library libfolly.a
[ 24%] Built target folly
make: *** [all] Error 2
emerge --info '=dev-php/hhvm-9999::javer'
,emerge -pqv '=dev-php/hhvm-9999::javer'
.This will allow this overlay to be found by using the Zugaina search engine. I was looking for the hhvm
package there. Also, makes it easier to just use the overlay when using the layman
tool.
Unfortunately hhvm-3.5.0 won't fully link after compilation on Gentoo Hardened. I seem to be hitting this exact issue:
facebook/hhvm#4705
The error message is exactly the same, '.../ld.gold: error: ../runtime/libhphp_runtime.a(memcpy-x64.S.o): requires unsupported dynamic reloc 11; recompile with -fPIC'.
Like the commenters upstream, I also don't know why a LDFLAG --as-needed would fix this, but if you have any patches or changes in the ebuild you'd like me to try, please do tell. (same for any debug info about my environment)
USE: -debug hack -jsonc -xen -zend-compat
Not build git version hhvm
https://drive.google.com/file/d/0B8O4jn0E_cvKSVRxZWNvdDV4Rlk/edit?usp=sharing
build.log
since hhvm 2.3.3 and 9999 won't compile on my machine due to a bug in a cpp file (used gcc 4.7.3 and 4.8.2 with same result) i hope that the new version might work.
it would be nice to see an ebuild of the new version soon, so that i could check if it builds and complain to the hhvm github issue tracker if not.
thanks alot :)
As noted in #16, even while depending on the system libzip, hhvm builds its own and attempts to install it. This causes a package collision and thus an installation failure. It looks like someone there has provided a fix as well. Could it be merged in?
>>> Installing (1 of 1) dev-php/hhvm-3.2.0::javer
* checking 1323 files for package collisions
1000 files checked ...
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at http://bugs.gentoo.org unless you report exactly which
* two packages install the same file(s). See
* http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to
* solve the problem. And once again, please do NOT file a bug report
* unless you have completely understood the above message.
*
* Detected file collision(s):
*
* /usr/lib/libzip.so
* /usr/include/zipconf.h
* /usr/include/zip.h
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* dev-libs/libzip-0.11.2:0::gentoo
* /usr/include/zip.h
* /usr/include/zipconf.h
* /usr/lib/libzip.so
*
* Package 'dev-php/hhvm-3.2.0' NOT merged due to file collisions. If
* necessary, refer to your elog messages for the whole content of the
* above message.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.