javer / gentoo-overlay

Gentoo Portage Overlay [javer]
9 stars 11 forks source link

hhvm 3.7.0 failed to build #25

Open lutel opened 9 years ago

lutel commented 9 years ago

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

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

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

Szpadel commented 9 years ago

Run MAKEOPTS="-j1" emerge -1 hhvm And then look to the logs

sob., 30 maj 2015, 07:32 lutel użytkownik notifications@github.com napisał:

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'

— Reply to this email directly or view it on GitHub https://github.com/javer/gentoo-overlay/issues/25.

lutel commented 9 years ago

Please find below result of "MAKEOPTS="-j1" emerge -1 hhvm"...

Linking CXX static library libhphp_util.a [ 39%] Built target hphp_util Scanning dependencies of target hfsort [ 39%] Building CXX object hphp/tools/hfsort/CMakeFiles/hfsort.dir/hfsort.cpp.o [ 39%] Building CXX object hphp/tools/hfsort/CMakeFiles/hfsort.dir/hfutil.cpp.o Linking CXX executable hfsort /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: ../../util/libhphp_util.a(memcpy-x64.S.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC ../../util/libhphp_util.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status hphp/tools/hfsort/CMakeFiles/hfsort.dir/build.make:123: recipe for target 'hphp/tools/hfsort/hfsort' failed make[2]: * [hphp/tools/hfsort/hfsort] Error 1 CMakeFiles/Makefile2:1063: recipe for target 'hphp/tools/hfsort/CMakeFiles/hfsort.dir/all' failed make[1]: * [hphp/tools/hfsort/CMakeFiles/hfsort.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *\ [all] Error 2

lutel commented 9 years ago

I think here is similiar issue fixed, can we have patch for this ebuild please?

https://github.com/BVLC/caffe/issues/2171