Skip to content

Instantly share code, notes, and snippets.

@dheche
Created November 26, 2013 05:13
Show Gist options
  • Select an option

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

Select an option

Save dheche/7653783 to your computer and use it in GitHub Desktop.
HHVM 2.2.0 - Failed to find boost_thread
[dheche@build64 SPECS]$ rpmbuild -ba hhvm.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Osq7Hu
+ umask 022
+ cd /home/dheche/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/dheche/rpmbuild/BUILD
+ rm -rf hhvm-2.2.0
+ /bin/gzip -dc /home/dheche/rpmbuild/SOURCES/HHVM-2.2.0.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hhvm-2.2.0
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fdIebm
+ umask 022
+ cd /home/dheche/rpmbuild/BUILD
+ cd hhvm-2.2.0
+ LANG=C
+ export LANG
+ unset DISPLAY
++ pwd
+ export HPHP_HOME=/home/dheche/rpmbuild/BUILD/hhvm-2.2.0
+ HPHP_HOME=/home/dheche/rpmbuild/BUILD/hhvm-2.2.0
+ export CPLUS_INCLUDE_PATH=/usr/include/libdwarf
+ CPLUS_INCLUDE_PATH=/usr/include/libdwarf
+ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIBINOTIFY_LIBRARY=/usr/lib64/libinotifytools.so.0 .
-- 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
-- Performing Test IS_AARCH64
-- Performing Test IS_AARCH64 - Failed
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
-- Performing Test HAVE_GCC_47
-- Performing Test HAVE_GCC_47 - Success
-- Performing Test HAVE_GCC_48
-- Performing Test HAVE_GCC_48 - Failed
-- Found LibDL: /usr/lib64/libdl.so
-- Performing Test LIBDL_NEEDS_UNDERSCORE
-- Performing Test LIBDL_NEEDS_UNDERSCORE - Failed
-- Boost version: 1.48.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- regex
-- Found LIBGLOG: /usr/lib64/libglog.so
-- Found LIBINOTIFY: /usr/lib64/libinotifytools.so.0
-- 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
Using custom LIBEVENT
-- 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
-- Performing Test FOLLY_IFUNC
-- Performing Test FOLLY_IFUNC - Failed
-- Performing Test HAVE_CLOCK_GETTIME
-- Performing Test HAVE_CLOCK_GETTIME - Success
-- 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
-- Looking for _close
-- Looking for _close - not found
-- Looking for _dup
-- Looking for _dup - not found
-- Looking for _fdopen
-- Looking for _fdopen - not found
-- Looking for _fileno
-- Looking for _fileno - not found
-- Looking for _open
-- Looking for _open - not found
-- Looking for _snprintf
-- Looking for _snprintf - not found
-- Looking for _strdup
-- Looking for _strdup - not found
-- Looking for _stricmp
-- Looking for _stricmp - not found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for ftello
-- Looking for ftello - found
-- Looking for open
-- Looking for open - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for MoveFileExA
-- Looking for MoveFileExA - not found.
-- Looking for include files HAVE_SYS_TYPES_H_LIBZIP
-- Looking for include files HAVE_SYS_TYPES_H_LIBZIP - found
-- Looking for include files HAVE_INTTYPES_H_LIBZIP
-- Looking for include files HAVE_INTTYPES_H_LIBZIP - found
-- Looking for include files HAVE_STDINT_H_LIBZIP
-- Looking for include files HAVE_STDINT_H_LIBZIP - found
-- Check size of __int8
-- Check size of __int8 - failed
-- Check size of int8_t
-- Check size of int8_t - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of __int16
-- Check size of __int16 - failed
-- Check size of int16_t
-- Check size of int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of __int32
-- Check size of __int32 - failed
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of __int64
-- Check size of __int64 - failed
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
CMake Error at CMake/FindBoost.cmake:916 (message):
Unable to find the requested Boost libraries.
Boost version: 1.48.0
Boost include path: /usr/include
The following Boost libraries could not be found:
boost_thread
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
Boost_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
hphp/third_party/ti/CMakeLists.txt:5 (find_package)
CMake Error at CMake/FindBoost.cmake:916 (message):
Unable to find the requested Boost libraries.
Boost version: 1.48.0
Boost include path: /usr/include
The following Boost libraries could not be found:
boost_thread
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
Boost_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
hphp/third_party/thrift/CMakeLists.txt:5 (find_package)
CMake Error at CMake/HPHPFunctions.cmake:93 (string):
string does not recognize sub-command MD5
Call Stack (most recent call first):
hphp/hhvm/CMakeLists.txt:7 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:94 (string):
string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
hphp/hhvm/CMakeLists.txt:7 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:93 (string):
string does not recognize sub-command MD5
Call Stack (most recent call first):
hphp/hhvm/CMakeLists.txt:7 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:94 (string):
string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
hphp/hhvm/CMakeLists.txt:7 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:93 (string):
string does not recognize sub-command MD5
Call Stack (most recent call first):
hphp/hhvm/CMakeLists.txt:7 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:94 (string):
string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
hphp/hhvm/CMakeLists.txt:7 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:93 (string):
string does not recognize sub-command MD5
Call Stack (most recent call first):
hphp/test/CMakeLists.txt:27 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:94 (string):
string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
hphp/test/CMakeLists.txt:27 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:93 (string):
string does not recognize sub-command MD5
Call Stack (most recent call first):
hphp/test/CMakeLists.txt:27 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:94 (string):
string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
hphp/test/CMakeLists.txt:27 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:93 (string):
string does not recognize sub-command MD5
Call Stack (most recent call first):
hphp/test/CMakeLists.txt:27 (embed_all_systemlibs)
CMake Error at CMake/HPHPFunctions.cmake:94 (string):
string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
hphp/test/CMakeLists.txt:27 (embed_all_systemlibs)
-- Configuring incomplete, errors occurred!
error: Bad exit status from /var/tmp/rpm-tmp.fdIebm (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.fdIebm (%build)
@dheche
Copy link
Author

dheche commented Nov 26, 2013

Temporary solution, for boost_thread error, i disable fastcgi build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment