Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hhvm 3.7.0 failed to build #25

Open
lutel opened this issue May 30, 2015 · 3 comments
Open

hhvm 3.7.0 failed to build #25

lutel opened this issue May 30, 2015 · 3 comments

Comments

@lutel
Copy link

lutel commented May 30, 2015

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'

@Szpadel
Copy link

Szpadel commented May 31, 2015

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

sob., 30 maj 2015, 07:32 lutel użytkownik [email protected]
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
#25.

@lutel
Copy link
Author

lutel commented May 31, 2015

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

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

@lutel
Copy link
Author

lutel commented Jun 12, 2015

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

BVLC/caffe#2171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants