Skip to content

Instantly share code, notes, and snippets.

@dheche
Last active December 29, 2015 03:09
Show Gist options
  • Select an option

  • Save dheche/7605236 to your computer and use it in GitHub Desktop.

Select an option

Save dheche/7605236 to your computer and use it in GitHub Desktop.
error hhvm build
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
-- Performing Test HAVE_GCC_46
-- Performing Test HAVE_GCC_46 - Success
-- Performing Test HAVE_GCC_47
-- Performing Test HAVE_GCC_47 - Failed
-- Performing Test HAVE_GCC_48
-- Performing Test HAVE_GCC_48 - Failed
-- Found LibDL: /usr/lib64/libdl.so
-- Performing Test _testfunc
-- Performing Test _testfunc - Failed
-- Boost version: 1.48.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- regex
-- Found LIBGLOG: /usr/lib64/libglog.so
-- Could NOT find LIBINOTIFY (missing: LIBINOTIFY_LIBRARY)
-- Could NOT find LIBICONV (missing: LIBICONV_LIBRARY)
-- Performing Test LIBICONV_CONST
-- Performing Test LIBICONV_CONST - Failed
-- MySQL Include dir: /usr/include/mysql library dir: /usr/lib64/mysql
-- MySQL client libraries: mysqlclient_r
-- Found LIBMEMCACHED: /usr/lib64/libmemcached.so
-- Found PCRE: /usr/lib64/libpcre.so
-- Found libevent: /usr/lib64/libevent.so
-- Looking for evhttp_bind_socket_with_fd
-- Looking for evhttp_bind_socket_with_fd - found
-- Looking for gdImagePng in /usr/lib64/libgd.so
-- Looking for gdImagePng in /usr/lib64/libgd.so - found
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Found PNG: /usr/lib64/libpng.so
-- Looking for gdImageJpeg in /usr/lib64/libgd.so
-- Looking for gdImageJpeg in /usr/lib64/libgd.so - found
-- Found JPEG: /usr/lib64/libjpeg.so
-- Looking for gdImageGif in /usr/lib64/libgd.so
-- Looking for gdImageGif in /usr/lib64/libgd.so - found
-- Found GD: /usr/lib64/libgd.so
-- Found CURL: /usr/lib64/libcurl.so
-- Looking for curl_multi_select
-- Looking for curl_multi_select - not found
-- Looking for curl_multi_wait
-- Looking for curl_multi_wait - found
-- Found LibXml2: /usr/lib64/libxml2.so
-- Found EXPAT: /usr/lib64/libexpat.so
-- Found ICU header files in /usr/include
-- Found ICU libraries: /usr/lib64/libicuuc.so
-- Performing Test JEMALLOC_VERSION_3
-- Performing Test JEMALLOC_VERSION_3 - Success
-- Found jemalloc: /usr/lib64/libjemalloc.so
-- Found Intel TBB
-- Found mcrypt: /usr/lib64/libmcrypt.so
-- checking for module 'openssl'
-- found openssl, version 1.0.0
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1..")
-- Found BZip2: /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
-- Found ONIGURUMA: /usr/lib64/libonig.so
-- Found ldap: /usr/lib64/libldap.so;/usr/lib64/liblber.so
-- Found LIBPTHREAD: /usr/lib64/libpthread.so
-- Found Readline: /usr/include
-- Found Editline: /usr/lib64/libedit.so
-- Found LibElf: /usr/lib64/libelf.so
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Success
-- Found LibDwarf: /usr/lib64/libdwarf.so
Generating Release build
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Looking for AF_LOCAL
-- Looking for AF_LOCAL - found
-- Looking for PF_LOCAL
-- Looking for PF_LOCAL - found
-- Looking for memset
-- Looking for memset - found
-- Looking for socket
-- Looking for socket - found
-- Looking for strerror
-- Looking for strerror - found
-- Found libevent: /usr/lib64/libevent.so
-- Looking for event_get_version_number
-- Looking for event_get_version_number - not found.
-- Performing Test HAVE_LIBEVENT_145
-- Performing Test HAVE_LIBEVENT_145 - Success
-- Found libevent 1.4.5+
-- Looking for include files INCLUDE_CHECK_stdlib.h
-- Looking for include files INCLUDE_CHECK_stdlib.h - found
-- Looking for include files INCLUDE_CHECK_assert.h
-- Looking for include files INCLUDE_CHECK_assert.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for include files HAVE_SYS_STAT_H
-- Looking for include files HAVE_SYS_STAT_H - found
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for include files HAVE_STRING_H
-- Looking for include files HAVE_STRING_H - found
-- Looking for include files HAVE_MEMORY_H
-- Looking for include files HAVE_MEMORY_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- Looking for include files HAVE_INTTYPES_H
-- Looking for include files HAVE_INTTYPES_H - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_DLFCN_H
-- Looking for include files HAVE_DLFCN_H - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for fullfsync
-- Looking for fullfsync - not found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for include files HAVE_LOCALE_H
-- Looking for include files HAVE_LOCALE_H - found
-- Looking for include files HAVE_LIMITS_H
-- Looking for include files HAVE_LIMITS_H - found
-- 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
-- Performing Test FOLLY_IFUNC
-- Performing Test FOLLY_IFUNC - Failed
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vagrant/builddata/BUILD/hhvm
[vagrant@hhvm hhvm]$ make
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/diy-fp.cc.o
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/bignum-dtoa.cc.o
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/fixed-dtoa.cc.o
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/bignum.cc.o
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/strtod.cc.o
[ 1%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/fast-dtoa.cc.o
[ 1%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/cached-powers.cc.o
[ 1%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/double-conversion.cc.o
Linking CXX static library ../../../bin/libdouble-conversion.a
[ 1%] Built target double-conversion
[ 1%] Building CXX object hphp/third_party/folly/CMakeFiles/folly.dir/folly/String.cpp.o
In file included from /home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Conv.h:30:0,
from /home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/String.h:29,
from /home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/String.cpp:17:
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Range.h: In member function ‘folly::Range<T>::value_type& folly::Range<T>::operator[](size_t)’:
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Range.h:309:5: error: there are no arguments to ‘GetReferenceableValue’ that depend on a template parameter, so a declaration of ‘GetReferenceableValue’ must be available [-fpermissive]
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Range.h:309:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Range.h: In member function ‘const value_type& folly::Range<T>::operator[](size_t) const’:
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Range.h:314:5: error: there are no arguments to ‘GetReferenceableValue’ that depend on a template parameter, so a declaration of ‘GetReferenceableValue’ must be available [-fpermissive]
In file included from /home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Format.h:273:0,
from /home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/String.cpp:18:
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Format-inl.h: In member function ‘void folly::FormatValue<double>::format(folly::FormatArg&, FormatCallback&) const’:
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Format-inl.h:653:5: error: there are no arguments to ‘GetReferenceableValue’ that depend on a template parameter, so a declaration of ‘GetReferenceableValue’ must be available [-fpermissive]
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/Format-inl.h:653:5: error: there are no arguments to ‘GetReferenceableValue’ that depend on a template parameter, so a declaration of ‘GetReferenceableValue’ must be available [-fpermissive]
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/String.cpp: In function ‘size_t folly::detail::hexDumpLine(const void*, size_t, size_t, std::string&)’:
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/String.cpp:328:3: error: ‘GetReferenceableValue’ was not declared in this scope
/home/vagrant/builddata/BUILD/hhvm/hphp/third_party/folly/folly/String.cpp:328:3: note: suggested alternative:
/usr/include/glog/logging.h:578:27: note: ‘google::GetReferenceableValue’
make[2]: *** [hphp/third_party/folly/CMakeFiles/folly.dir/folly/String.cpp.o] Error 1
make[1]: *** [hphp/third_party/folly/CMakeFiles/folly.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment