javer / gentoo-overlay

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

Gentoo compile error #12

Closed nemessiss closed 10 years ago

nemessiss commented 10 years ago

i initially posted on hhvm repo but they closed my thread (take a look here https://github.com/facebook/hhvm/issues/2458#issuecomment-40556148)

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
nemessiss commented 10 years ago

i gave up hack flag but the folly/Portability.h error message is still there.

javer commented 10 years ago

Fixed. @nemessiss, thanks for bug report!