Skip to content

Instantly share code, notes, and snippets.

@seifertm
Created February 17, 2015 14:48
Show Gist options
  • Save seifertm/932e6ff8205e9b4917e7 to your computer and use it in GitHub Desktop.
Save seifertm/932e6ff8205e9b4917e7 to your computer and use it in GitHub Desktop.
CMake error during standalone build of Lunchbox-1.10.0
 * Package: dev-libs/lunchbox-1.10.0
 * Repository: x-portage
 * Maintainer: mseifert@error-reports.org
 * USE: abi_x86_64 amd64 elibc_glibc jpeg kernel_linux openmp userland_GNU zeroconf
 * FEATURES: distcc preserve-libs sandbox userpriv usersandbox
 * Package: dev-libs/lunchbox-1.10.0
 * Repository: x-portage
 * Maintainer: mseifert@error-reports.org
 * USE: abi_x86_64 amd64 elibc_glibc jpeg kernel_linux openmp userland_GNU zeroconf
 * FEATURES: distcc preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking 1.10.0.tar.gz to /var/tmp/portage/dev-libs/lunchbox-1.10.0/work
>>> Source unpacked in /var/tmp/portage/dev-libs/lunchbox-1.10.0/work
>>> Preparing source in /var/tmp/portage/dev-libs/lunchbox-1.10.0/work/Lunchbox-1.10.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/lunchbox-1.10.0/work/Lunchbox-1.10.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/lunchbox-1.10.0/work/lunchbox-1.10.0_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/dev-libs/lunchbox-1.10.0/work/lunchbox-1.10.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DDISABLE_BUILDYARD=ON -DBUILD_DOC=OFF -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-libs/lunchbox-1.10.0/work/lunchbox-1.10.0_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/lunchbox-1.10.0/work/lunchbox-1.10.0_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/lunchbox-1.10.0/work/Lunchbox-1.10.0
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/dev-libs/lunchbox-1.10.0/work/lunchbox-1.10.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib64/distcc/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.2.2")
-- git clone https://github.com/Eyescale/CMake.git /var/tmp/portage/dev-libs/lunchbox-1.10.0/work/Lunchbox-1.10.0/CMake/common
-- Check if the system is big endian
-- Searching 16 bit integer
-- 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 unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Can't determine github organization for
-- Found cppcheck: /usr/bin/cppcheck --enable=all --enable=unusedFunction --enable=style --quiet -I some/include/path (found suitable version "1.63", minimum required is "1.61")
-- Found cppcheck 1.63 in /usr/bin/cppcheck
-- Found PythonInterp: /usr/bin/python (found version "2.7.9")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.9")
-- Found cpplint: TRUE
-- Found cpplint in /var/tmp/portage/dev-libs/lunchbox-1.10.0/work/Lunchbox-1.10.0/CMake/common/util/cpplint.py
-- C++11 features PASSED: sharedptr tuple auto nullptr array final_override unordered_map template_alias, FAILED:
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'hwloc>=1.3'
-- package 'hwloc>=1.3' not found
-- checking for module 'hwloc>=1.3'
-- package 'hwloc>=1.3' not found
-- Found DNSSD: /usr/lib64/libdns_sd.so
-- Found ZeroConf in /usr/include;/usr/lib64/libdns_sd.so
CMake Warning at CMake/FindPackages.cmake:27 (find_package):
By not providing "Findavahi-client.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"avahi-client", but CMake did not find one.
Could not find a package configuration file provided by "avahi-client" with
any of the following names:
avahi-clientConfig.cmake
avahi-client-config.cmake
Add the installation prefix of "avahi-client" to CMAKE_PREFIX_PATH or set
"avahi-client_DIR" to a directory containing one of the above files. If
"avahi-client" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:43 (include)
-- checking for module 'avahi-client'
-- found avahi-client, version 0.6.31
-- checking for module 'LibJpegTurbo'
-- package 'LibJpegTurbo' not found
-- Found LibJpegTurbo in /usr/include;/usr/lib64/libturbojpeg.so
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- checking for module 'MPI'
-- package 'MPI' not found
-- Can't find leveldb header file leveldb/db.h.
-- Version not found in .
-- checking for module 'leveldb'
-- package 'leveldb' not found
CMake Warning at CMake/FindPackages.cmake:72 (find_package):
By not providing "Findskv.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "skv", but
CMake did not find one.
Could not find a package configuration file provided by "skv" with any of
the following names:
skvConfig.cmake
skv-config.cmake
Add the installation prefix of "skv" to CMAKE_PREFIX_PATH or set "skv_DIR"
to a directory containing one of the above files. If "skv" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:43 (include)
-- checking for module 'skv'
-- package 'skv' not found
-- Boost version: 1.56.0
-- Found the following Boost libraries:
-- regex
-- serialization
-- filesystem
-- system
-- thread
-- Disabling broken dnssd avahi implementation
-- Configured Lunchbox with Gentoo avahi-client LibJpegTurbo OpenMP Boost
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
CMake Error at CMake/common/clangcheckTargets.cmake:42 (get_target_property):
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property "SOURCES" is not allowed.
Call Stack (most recent call first):
CMake/common/TargetHooks.cmake:36 (add_clangcheck)
/usr/share/cmake/Modules/FindThreads.cmake:207 (add_library)
pthreads/CMakeLists.txt:4 (find_package)
CMakeLists.txt:64 (include)
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.5")
-- Can't determine github organization for
-- Using ch.eyescale.lunchbox for documentation
-- Using Unknown as organization
-- Using default LGPL package license
-- LSB-Release system information: Distributor-ID: Gentoo Release: 2.2 Codename: n/a
-- debuild not found, no PPA upload
CMake Warning at CMake/common/GNUModules.cmake:120 (message):
Unsupported platform for GNUModules, please add support here
Call Stack (most recent call first):
CMakeLists.txt:73 (include)
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C -O2 -march=amdfam10 -mtune=amdfam10 -mcx16 -msahf -mpopcnt -pipe -Wall -Wextra -Winvalid-pch -Winit-self -Wno-unknown-pragmas -Wshadow -fmax-errors=5 -fopenmp -fopenmp
C++ -O2 -march=amdfam10 -mtune=amdfam10 -mcx16 -msahf -mpopcnt -pipe -Wall -Wextra -Winvalid-pch -Winit-self -Wno-unknown-pragmas -Wshadow -fmax-errors=5 -Wnon-virtual-dtor -Wsign-promo -Wvla -fno-strict-aliasing -std=c++11 -fopenmp -fopenmp
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed
Module -Wl,-O1 -Wl,--as-needed
Shared -Wl,-O1 -Wl,--as-needed
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-libs/lunchbox-1.10.0/work/lunchbox-1.10.0_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-libs/lunchbox-1.10.0/work/lunchbox-1.10.0_build/CMakeFiles/CMakeError.log".
* ERROR: dev-libs/lunchbox-1.10.0::x-portage failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 2694: Called cmake-utils_src_configure
* environment, line 717: Called _execute_optionally 'src_configure'
* environment, line 280: Called enable_cmake-utils_src_configure
* environment, line 1034: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
*
* If you need support, post the output of `emerge --info '=dev-libs/lunchbox-1.10.0::x-portage'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/lunchbox-1.10.0::x-portage'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/lunchbox-1.10.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/lunchbox-1.10.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/lunchbox-1.10.0/work/lunchbox-1.10.0_build'
* S: '/var/tmp/portage/dev-libs/lunchbox-1.10.0/work/Lunchbox-1.10.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment