Created
September 24, 2018 17:58
-
-
Save JasonDictos/08cae5f4d195f54018133e5f6becc9d0 to your computer and use it in GitHub Desktop.
error with custom toolchain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake . -Bbuild -DCMAKE_TOOLCHAIN_FILE=/home/jason/signalwire/gandalf-build-env/swlib/cmake/toolchains/clang-7-lin-dynamic.cmake | |
| -- cotire 1.7.10 loaded. | |
| -- CC: /usr/bin/clang-7 | |
| -- CXX: /usr/bin/clang++-7 | |
| -- ROOT: /usr | |
| CMake Warning (dev) at swlib/cmake/AddCrossGuid.cmake:2 (project): | |
| Policy CMP0048 is not set: project() command manages VERSION variables. | |
| Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy | |
| command to set the policy and suppress this warning. | |
| The following variable(s) would be set to empty: | |
| PROJECT_VERSION | |
| PROJECT_VERSION_MAJOR | |
| PROJECT_VERSION_MINOR | |
| Call Stack (most recent call first): | |
| swlib/CMakeLists.txt:5 (include) | |
| This warning is for project developers. Use -Wno-dev to suppress it. | |
| -- [hunter] Calculating Toolchain-SHA1 | |
| -- [hunter] Calculating Config-SHA1 | |
| -- [hunter] HUNTER_ROOT: /home/jason/.hunter | |
| -- [hunter] [ Hunter-ID: 70d75a2 | Toolchain-ID: 6bea4ce | Config-ID: c47608d ] | |
| -- [hunter] OPENSSL_ROOT: /home/jason/.hunter/_Base/70d75a2/6bea4ce/c47608d/Install (ver.: 1.1.1) | |
| -- [hunter] Building OpenSSL | |
| loading initial cache file /home/jason/.hunter/_Base/70d75a2/6bea4ce/c47608d/cache.cmake | |
| loading initial cache file /home/jason/.hunter/_Base/70d75a2/6bea4ce/c47608d/Build/OpenSSL/args.cmake | |
| -- CC: /usr/bin/clang-7 | |
| -- CXX: /usr/bin/clang++-7 | |
| -- ROOT: /usr | |
| -- CC: /usr/bin/clang-7 | |
| -- CXX: /usr/bin/clang++-7 | |
| -- ROOT: /usr | |
| -- The C compiler identification is Clang 7.0.0 | |
| -- The CXX compiler identification is Clang 7.0.0 | |
| -- Check for working C compiler: /usr/bin/clang-7 | |
| -- Check for working C compiler: /usr/bin/clang-7 -- works | |
| -- Detecting C compile features | |
| -- Detecting C compile features - done | |
| -- Check for working CXX compiler: /usr/bin/clang++-7 | |
| -- Check for working CXX compiler: /usr/bin/clang++-7 -- works | |
| -- Detecting CXX compile features | |
| -- Detecting CXX compile features - done | |
| -- Configuring done | |
| -- Generating done | |
| -- Build files have been written to: /home/jason/.hunter/_Base/70d75a2/6bea4ce/c47608d/Build/OpenSSL/Build | |
| Scanning dependencies of target OpenSSL | |
| [ 12%] Creating directories for 'OpenSSL' | |
| [ 25%] Performing download step (download, verify and extract) for 'OpenSSL' | |
| -- verifying file... | |
| file='/home/jason/.hunter/_Base/Download/OpenSSL/1.1.1/ac1f780/OpenSSL_1_1_1.tar.gz' | |
| -- File already exists and hash match (skip download): | |
| file='/home/jason/.hunter/_Base/Download/OpenSSL/1.1.1/ac1f780/OpenSSL_1_1_1.tar.gz' | |
| SHA1='ac1f780b1932d9eed79787b388095ebeebddd148' | |
| -- extracting... | |
| src='/home/jason/.hunter/_Base/Download/OpenSSL/1.1.1/ac1f780/OpenSSL_1_1_1.tar.gz' | |
| dst='/home/jason/.hunter/_Base/70d75a2/6bea4ce/c47608d/Build/OpenSSL/Source' | |
| -- extracting... [tar xfz] | |
| -- extracting... [analysis] | |
| -- extracting... [rename] | |
| -- extracting... [clean up] | |
| -- extracting... done | |
| [ 37%] No patch step for 'OpenSSL' | |
| [ 50%] No update step for 'OpenSSL' | |
| [ 62%] Performing configure step for 'OpenSSL' | |
| Operating system: x86_64-whatever-linux2 | |
| Failure! build file wasn't produced. | |
| Please read INSTALL and associated NOTES files. You may also have to look over | |
| your available compiler tool chain or change your configuration. | |
| target already defined - linux-x86_64 (offending arg: -fPIC) | |
| [ 75%] Performing build step for 'OpenSSL' | |
| make: *** No targets specified and no makefile found. Stop. | |
| make[2]: *** [CMakeFiles/OpenSSL.dir/build.make:115: OpenSSL-prefix/src/OpenSSL-stamp/OpenSSL-build] Error 2 | |
| make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/OpenSSL.dir/all] Error 2 | |
| make: *** [Makefile:84: all] Error 2 | |
| [hunter ** FATAL ERROR **] Build step failed (dir: /home/jason/.hunter/_Base/70d75a2/6bea4ce/c47608d/Build/OpenSSL | |
| [hunter ** FATAL ERROR **] [Directory:/home/jason/.hunter/_Base/Download/Hunter/0.23.27/70d75a2/Unpacked/cmake/projects/OpenSSL] | |
| ------------------------------ WIKI ------------------------------- | |
| https://github.com/ruslo/hunter/wiki/error.external.build.failed | |
| ------------------------------------------------------------------- | |
| CMake Error at /home/jason/.hunter/_Base/Download/Hunter/0.23.27/70d75a2/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message): | |
| Call Stack (most recent call first): | |
| /home/jason/.hunter/_Base/Download/Hunter/0.23.27/70d75a2/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_wiki) | |
| /home/jason/.hunter/_Base/Download/Hunter/0.23.27/70d75a2/Unpacked/cmake/modules/hunter_download.cmake:613 (hunter_fatal_error) | |
| /home/jason/.hunter/_Base/Download/Hunter/0.23.27/70d75a2/Unpacked/cmake/projects/OpenSSL/hunter.cmake:424 (hunter_download) | |
| /home/jason/.hunter/_Base/Download/Hunter/0.23.27/70d75a2/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include) | |
| swlib/swLib/CMakeLists.txt:15 (hunter_add_package) | |
| -- Configuring incomplete, errors occurred! | |
| See also "/home/jason/signalwire/gandalf-build-env/build/CMakeFiles/CMakeOutput.log". | |
| jason@jdictos-debian-laptop:~/signalwire/gandalf-build-env$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment