GithubHelp home page GithubHelp logo

gentoo-overlay's Introduction

Gentoo Portage Overlay [javer]

Package Tree

.
├── dev-db
│   └── pinba-engine
├── dev-libs
│   ├── libdwarf
│   └── libmemcached
├── dev-php
│   ├── hhvm
│   ├── hiphop-php
│   └── pinba-extension
└── dev-util
    ├── jenkins-bin
    └── teamcity

gentoo-overlay's People

Contributors

anthonyryan1 avatar javer avatar nitso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gentoo-overlay's Issues

hhvm-9999 requires binutils[static-libs]

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.

Tools are missing

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

compile problem: cannot find -lmysqlclient_r

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

hhvm-3.7 build fails

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

  • ERROR: dev-php/hhvm-3.7.0::javer failed (compile phase):
  • emake failed

Error emerging pinba-engine-9999

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

Gentoo compile error

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

hhvm installation collision with libpcre

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

hhvm-fastcgi

init script and conf.d for configure ports,mode,type add to new 2.4 ebuild

Missing dependency dev-libs/libzip & collision

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.

hhvm-3.5.0 does not link on hardened

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

hhvm 2.4 ebuild

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 :)

hhvm 3.7.0 failed to build

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

  • ERROR: dev-php/hhvm-3.7.0::javer failed (compile phase):
  • emake failed
  • If you need support, post the output of emerge --info '=dev-php/hhvm-3.7.0::javer',
  • the complete build log and the output of emerge -pqv '=dev-php/hhvm-3.7.0::javer'.
  • The complete build log is located at '/tmp/portage/dev-php/hhvm-3.7.0/temp/build.log'.
  • The ebuild environment file is located at '/tmp/portage/dev-php/hhvm-3.7.0/temp/environment'.
  • Working directory: '/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0'
  • S: '/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0'

Failed to emerge dev-php/hhvm-3.7.0, Log file:

'/tmp/portage/dev-php/hhvm-3.7.0/temp/build.log'

Gentoo compile error

Hello
I am receiving an error when compiling hhvm:
Linking CXX static library libfolly.a
[ 24%] Built target folly
make: *** [all] Error 2

  • ERROR: dev-php/hhvm-9999::javer failed (compile phase):
  • emake 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'

Installation collision with libzip

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.

hhvm-9999, mysql virtual

Can you change hhvm dep dev-db/mysql to virtual/mysql? Some people out there are using mariadb...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.