Skip to content

Instantly share code, notes, and snippets.

@SCOTT-HAMILTON
Created May 18, 2020 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SCOTT-HAMILTON/bd5015b9bef7a9738b830d2651057169 to your computer and use it in GitHub Desktop.
Save SCOTT-HAMILTON/bd5015b9bef7a9738b830d2651057169 to your computer and use it in GitHub Desktop.
these derivations will be built:
/nix/store/bp3nkqdqp0ydk0226bfls2d1xr34vk1b-OTPGen-0.9.3.drv
building '/nix/store/bp3nkqdqp0ydk0226bfls2d1xr34vk1b-OTPGen-0.9.3.drv'...
unpacking sources
unpacking source archive /nix/store/v7ibzsdxbcrymr0i58bp2v3bfx4j9w3w-source
source root is source
patching sources
applying patch /nix/store/wq2500f91b0m29vban537db82b8drv0b-b25cbbddfdd4732560c4b91f0262eec123fc5b6c.patch
patching file Source/Core/CMakeLists.txt
Hunk #1 succeeded at 30 (offset -4 lines).
applying patch /nix/store/14i9fb016jj1i5a14jchrljlf992ixsa-afd3fc87c4422bdf4f3978d4a2de1565a1d93283.patch
patching file CMakeLists.txt
Hunk #1 succeeded at 38 (offset -4 lines).
applying patch /nix/store/sg923g9aizn5rj1nw4i2gq3d3ppqi0km-Cereal-remove.patch
patching file Source/Core/CMakeLists.txt
prePatch
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/share/doc/ -DCMAKE_INSTALL_INFODIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/include -DCMAKE_INSTALL_SBINDIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_FIND_FRAMEWORK=last -DCMAKE_STRIP=/nix/store/1zf4cnaaidjajwb4gx4mnkqc5dypkcdy-binutils-2.31.1/bin/strip -DCMAKE_RANLIB=/nix/store/1zf4cnaaidjajwb4gx4mnkqc5dypkcdy-binutils-2.31.1/bin/ranlib -DCMAKE_AR=/nix/store/1zf4cnaaidjajwb4gx4mnkqc5dypkcdy-binutils-2.31.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/xdvk1hvjfq2mpwnvkw2fgm0z7p3dqf27-OTPGen-0.9.3
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /nix/store/xh3bh8nir5d45zk45dz9xxfs2j95cby4-gcc-wrapper-9.2.0/bin/gcc
-- Check for working C compiler: /nix/store/xh3bh8nir5d45zk45dz9xxfs2j95cby4-gcc-wrapper-9.2.0/bin/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: /nix/store/xh3bh8nir5d45zk45dz9xxfs2j95cby4-gcc-wrapper-9.2.0/bin/g++
-- Check for working CXX compiler: /nix/store/xh3bh8nir5d45zk45dz9xxfs2j95cby4-gcc-wrapper-9.2.0/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using configuration type: Release
CMake Warning (dev) at CMakeLists.txt:54 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:73 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:79 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:88 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:97 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Building with QR code support.
-- ==> Configuring target "Core"...
CMake Warning (dev) at Source/Core/CMakeLists.txt:20 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PkgConfig: /nix/store/qaa99594lmxrbfbnl0s93qgxs4k1dgh4-pkg-config-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libcryptopp'
-- Found libcryptopp, version 8.2
CMake Warning (dev) at CMakeLists.txt:116 (set):
Cannot set "LIBOTPGEN_INCLUDE_DIR": current scope has no parent.
This warning is for project developers. Use -Wno-dev to suppress it.
-- ==> Configuring target "QRCodeSupportLib"...
-- -> Configuring zxing-cpp...
-- Looking for iconv
-- Looking for iconv - found
-- -> Configured zxing-cpp.
-- ==> Configured target "QRCodeSupportLib".
-- ==> Configuring target "Shared"...
-- ==> Configuring target "CLI"...
-- ==> Configuring target "GUI"...
-- Finding Qt...
-- Enabling Qt automoc...
-- Enabling Qt autorcc...
CMake Warning (dev) at Source/Gui/CMakeLists.txt:66 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Building with Qt Keychain support.
-- -> Configuring QtKeychain...
CMake Warning (dev) at Source/Gui/CMakeLists.txt:71 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Source/Gui/CMakeLists.txt:72 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Source/Gui/CMakeLists.txt:73 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Source/Gui/CMakeLists.txt:74 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for module 'libsecret-1'
-- No package 'libsecret-1' found
-- -> Configured QtKeychain.
CMake Warning (dev) at Source/Gui/CMakeLists.txt:84 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Source/Gui/CMakeLists.txt:85 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Source/Gui/CMakeLists.txt:86 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Using shared zlib.
-- Found ZLIB: /nix/store/kf2sh7c2fmizvycqq02aad1rfp6xswgv-zlib-1.2.11/lib/libz.so (found version "1.2.11")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
-- Build files have been written to: /build/source/build
cmake: enabled parallel building
building
build flags: -j4 -l4 SHELL=/nix/store/x7fr0bvnwvqvr3zg60di9jxvfwimcw7m-bash-4.4-p23/bin/bash
Scanning dependencies of target CliDependencies
Scanning dependencies of target BoostLib
Scanning dependencies of target CoreLib
Scanning dependencies of target libzxing
[ 1%] Building CXX object Source/Cli/CMakeFiles/CliDependencies.dir/__/__/Libs/PlatformFolders/sago/platform_folders.cpp.o
[ 2%] Building CXX object Source/Core/CMakeFiles/CoreLib.dir/AppSupport/Authy.cpp.o
[ 3%] Building CXX object qrcodesupport/libzxing/CMakeFiles/libzxing.dir/core/src/bigint/BigInteger.cc.o
[ 3%] Building CXX object Source/Cli/CMakeFiles/BoostLib.dir/__/__/Libs/boost/src/filesystem/codecvt_error_category.cpp.o
[ 3%] Building CXX object qrcodesupport/libzxing/CMakeFiles/libzxing.dir/core/src/bigint/BigIntegerAlgorithms.cc.o
[ 4%] Building CXX object qrcodesupport/libzxing/CMakeFiles/libzxing.dir/core/src/bigint/BigIntegerUtils.cc.o
In file included from /build/source/Source/Core/AppSupport/Authy.cpp:10:
/nix/store/6ky93idh7ms4rsin1dy26jf1fywh7dzr-cereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:88:36: error: expected ';' at end of member declaration
88 | virtual const char *what() const CEREAL_NOEXCEPT override
| ^~~~~
| ;
/nix/store/6ky93idh7ms4rsin1dy26jf1fywh7dzr-cereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:88:42: error: 'CEREAL_NOEXCEPT' does not name a type
88 | virtual const char *what() const CEREAL_NOEXCEPT override
| ^~~~~~~~~~~~~~~
/nix/store/6ky93idh7ms4rsin1dy26jf1fywh7dzr-cereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:88:29: error: looser throw specifier for 'virtual const char* cereal::rapidxml::parse_error::what() const'
88 | virtual const char *what() const CEREAL_NOEXCEPT override
| ^~~~
In file included from /nix/store/mjvz9b02v42lngkn4dxal6n1xrv8wx9l-gcc-9.2.0/include/c++/9.2.0/exception:38,
from /nix/store/mjvz9b02v42lngkn4dxal6n1xrv8wx9l-gcc-9.2.0/include/c++/9.2.0/new:40,
from /nix/store/mjvz9b02v42lngkn4dxal6n1xrv8wx9l-gcc-9.2.0/include/c++/9.2.0/ext/new_allocator.h:33,
from /nix/store/mjvz9b02v42lngkn4dxal6n1xrv8wx9l-gcc-9.2.0/include/c++/9.2.0/x86_64-unknown-linux-gnu/bits/c++allocator.h:33,
from /nix/store/mjvz9b02v42lngkn4dxal6n1xrv8wx9l-gcc-9.2.0/include/c++/9.2.0/bits/allocator.h:46,
from /nix/store/mjvz9b02v42lngkn4dxal6n1xrv8wx9l-gcc-9.2.0/include/c++/9.2.0/string:41,
from /build/source/Source/Core/Tokens/OTPToken.hpp:4,
from /build/source/Source/Core/Tokens/TOTPToken.hpp:4,
from /build/source/Source/Core/AppSupport/Authy.hpp:4,
from /build/source/Source/Core/AppSupport/Authy.cpp:1:
/nix/store/mjvz9b02v42lngkn4dxal6n1xrv8wx9l-gcc-9.2.0/include/c++/9.2.0/bits/exception.h:75:5: note: overridden function is 'virtual const char* std::exception::what() const noexcept'
75 | what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW;
| ^~~~
[ 5%] Building CXX object Source/Cli/CMakeFiles/BoostLib.dir/__/__/Libs/boost/src/filesystem/operations.cpp.o
[ 5%] Building CXX object qrcodesupport/libzxing/CMakeFiles/libzxing.dir/core/src/bigint/BigUnsigned.cc.o
cc1plus: warning: unrecognized command line option '-Wno-unused-command-line-argument'
make[2]: *** [Source/Core/CMakeFiles/CoreLib.dir/build.make:63: Source/Core/CMakeFiles/CoreLib.dir/AppSupport/Authy.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:228: Source/Core/CMakeFiles/CoreLib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 6%] Building CXX object qrcodesupport/libzxing/CMakeFiles/libzxing.dir/core/src/bigint/BigUnsignedInABase.cc.o
[ 6%] Linking CXX static library ../../lib-static/libCliDependencies.a
[ 6%] Built target CliDependencies
[ 6%] Building CXX object qrcodesupport/libzxing/CMakeFiles/libzxing.dir/core/src/zxing/aztec/AztecDetectorResult.cpp.o
[ 7%] Building CXX object qrcodesupport/libzxing/CMakeFiles/libzxing.dir/core/src/zxing/aztec/AztecReader.cpp.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment