CMake error - imagemagick
envgap__facebook__hhvm-1897
01 / FAILURE SIGNATURE
As reported upstream
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
26f006f48276582455752bd41964868dacc6d32f- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
facebook/hhvm #1897 · read the original issue
I am at 133d15b89da2e92ba07a5c62d6fbe54df6cf1d6f and get the output below when I run `cmake .`:
```
Using HPHP_HOME == /usr/local/src/hhvm
-- 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 - Success
-- Found LibDL: /usr/lib64/libdl.so
-- Performing Test LIBDL_NEEDS_UNDERSCORE
-- Performing Test LIBDL_NEEDS_UNDERSCORE - Failed
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- regex
-- Could NOT find LibMagicWand (missing: LIBMAGICKWAND_LIBRARIES LIBMAGICKWAND_INCLUDE_DIRS)
-- Found LIBGLOG: /usr/local/hhvm/lib/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: /lib64/mysql
-- MySQL client libraries: mysqlclient_r
-- Found LIBMEMCACHED: /usr/lib64/libmemcached.so
-- Found PCRE: /usr/lib64/libpcre.so
-- Found libevent: /usr/local/hhvm/lib/libevent.so
-- Looking for evhttp_bind_socket_with_fd
-- Looking for evhttp_bind_socket_with_fd - found
Using custom LIBEVENT
-- Could NOT find LibUODBC (missing: LIBODBC_LIBRARIES LIBODBC_INCLUDE_DIRS)
-- Could NOT find LibVpx (missing: LIBVPX_INCLUDE_DIRS)
-- Found LibJpeg: /usr/lib64/libjpeg.so
-- Found LibPng: /usr/lib64/libpng.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found Freetype: /usr/lib64/libfreetype.so
-- Found CURL: /usr/lib64/libcurl.so (found version "7.32.0")
-- 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 version "2.9.1")
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.1.0")
-- 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/local/hhvm/lib/libjemalloc.so
-- Found Intel TBB
-- Found mcrypt: /usr/lib64/libmcrypt.so
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.1e")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6")
-- 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
-- Looking for dwarf_encode_leb128
-- Looking for dwarf_encode_leb128 - found
Generating Release build
-- Performing Test FOLLY_IFUNC
-- Performing Test FOLLY_IFUNC - Failed
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- 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/local/hhvm/lib/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 file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file assert.h
-- Looking for include file assert.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file dlfcn.h
-- Looking for include file 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 file locale.h
-- Looking for include file locale.h - found
-- Looking for include file limits.h
-- Looking for include file 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 file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - 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
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- system
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBMAGICKWAND_INCLUDE_DIRS (ADVANCED)
used as include directory in directory /usr/local/src/hhvm/hphp/tools/bootstrap
used as include directory in directory /usr/local/src/hhvm/hphp/tools/bootstrap
used as include directory in directory /usr/local/src/hhvm/hphp/tools/bootstrap
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/libafdt
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/libmbfl/mbfl
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/libsqlite3
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/timelib
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/lz4
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/double-conversion
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/folly
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/libzip
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/libzip
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/ti
used as include directory in directory /usr/local/src/hhvm/hphp/third_party/thrift
used as include directory in directory /usr/local/src/hhvm/hphp/vixl
used as include directory in directory /usr/local/src/hhvm/hphp/neo
used as include directory in directory /usr/local/src/hhvm/hphp/parser
used as include directory in directory /usr/local/src/hhvm/hphp/zend
used as include directory in directory /usr/local/src/hhvm/hphp/util
used as include directory in directory /usr/local/src/hhvm/hphp/hhbbc
used as include directory in directory /usr/local/src/hhvm/hphp/compiler
used as include directory in directory /usr/local/src/hhvm/hphp/runtime
used as include directory in directory /usr/local/src/hhvm/hphp/runtime/ext_hhvm
used as include directory in directory /usr/local/src/hhvm/hphp/system
used as include directory in directory /usr/local/src/hhvm/hphp/system
used as include directory in directory /usr/local/src/hhvm/hphp/hhvm
used as include directory in directory /usr/local/src/hhvm/hphp/test
LIBMAGICKWAND_LIBRARIES (ADVANCED)
linked by target "hphp_runtime_static" in directory /usr/local/src/hhvm/hphp/runtime
-- Configuring incomplete, errors occurred!
See also "/usr/local/src/hhvm/CMakeFiles/CMakeOutput.log".
See also "/usr/local/src/hhvm/CMakeFiles/CMakeError.log".
```
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]