das-labor / neopg

The multiversal cryptoengine!
Other
216 stars 16 forks source link

Fails to build against recent botan #98

Open mweinelt opened 3 years ago

mweinelt commented 3 years ago

After upgrading botan2 from 2.9.0 to 2.17.2 neopg 0.0.6 fails to build.

❯ nix-build -A neopg
these derivations will be built:
  /nix/store/vrp0lffg377x1jx9aj8dn6lx7xnh00hz-neopg-0.0.6.drv
building '/nix/store/vrp0lffg377x1jx9aj8dn6lx7xnh00hz-neopg-0.0.6.drv' on 'ssh://hexa@phoibe.cysec.de'...
copying path '/nix/store/wxd902wy32yvwa5300npha7baygh927r-rhash-1.4.0' from 'https://cache.nixos.org'...
copying path '/nix/store/06d9sbafqk2jk426nhi0z4fgqpz1wx7g-sqlite-3.33.0-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/kl3ysil590r8k0h268qsiklbjf9lhd1y-systemd-minimal-246.6-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/b2s6wzq5wcz838b4x7016rf4sf2jzja6-libusb-1.0.23-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/21cib7707fqxwg9xpjx0hfa5p9bx8hvh-cmake-3.18.4' from 'https://cache.nixos.org'...
copying path '/nix/store/waa7sz7dnsmw9gmggqd4rjygxzzgxl60-sqlite-3.33.0-dev' from 'https://cache.nixos.org'...
unpacking sources
unpacking source archive /nix/store/xzhm6685vamb86bqzf789hhcm0wav492-source
source root is source
patching sources
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 -DCMAKE_INSTALL_LOCALEDIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/share/doc/neopg -DCMAKE_INSTALL_INFODIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/p3kn26g5nhmx6spn37ar3mn0xjbzks3g-binutils-2.31.1/bin/strip -DCMAKE_RANLIB=/nix/store/p3kn26g5nhmx6spn37ar3mn0xjbzks3g-binutils-2.31.1/bin/ranlib -DCMAKE_AR=/nix/store/p3kn26g5nhmx6spn37ar3mn0xjbzks3g-binutils-2.31.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/ncjn6whq05j526darbbl8i0isyfic480-neopg-0.0.6
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- The CXX compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/s3j2gpc2s7cdn2wafm192jfp9k8jfvhs-gcc-wrapper-9.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- NeoPG v0.0.6
-- The C compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/s3j2gpc2s7cdn2wafm192jfp9k8jfvhs-gcc-wrapper-9.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found PkgConfig: pkg-config (found version "0.29.2")
-- Checking for module 'sqlite3'
--   Found sqlite3, version 3.33.0
-- Checking for module 'botan-2'
--   Found botan-2, version 2.17.2
-- Checking for module 'libusb-1.0'
--   Found libusb-1.0, version 1.0.23
-- Checking for module 'gnutls'
--   Found gnutls, version 3.6.15
Package libtasn1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libtasn1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libtasn1', required by 'gnutls', not found
Package libtasn1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libtasn1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libtasn1', required by 'gnutls', not found
Package libtasn1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libtasn1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libtasn1', required by 'gnutls', not found
Package libtasn1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libtasn1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libtasn1', required by 'gnutls', not found
-- Found Boost: /nix/store/cdsa5329z5sxklx7nbgnsl87dhi2492h-boost-1.69.0-dev/include (found version "1.69.0") found components: locale date_time
-- Found CURL: /nix/store/izq29d1nqgc348pi96rjlr8cvxysimsx-curl-7.73.0/lib/libcurl.so (found version "7.73.0")
-- Found Gettext: /nix/store/ddb7nbpq53xvdf9zdhafd1vfpyxicfqg-gettext-0.21/bin/msgmerge (found version "0.21")
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DOCDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR

-- Build files have been written to: /build/source
cmake: enabled parallel building
building
build flags: -j64 -l64 SHELL=/nix/store/516z50fm1jbpcl32qnzy7kynrh0vl22w-bash-4.4-p23/bin/bash
Scanning dependencies of target translations_1
Scanning dependencies of target neopg
Scanning dependencies of target gtest
Scanning dependencies of target gpg-error
[  0%] Generating de.gmo
[  0%] Building CXX object legacy/CMakeFiles/gpg-error.dir/libgpg-error/src/b64dec.cpp.o
[  1%] Building CXX object legacy/CMakeFiles/gpg-error.dir/libgpg-error/src/code-from-errno.cpp.o
[  1%] Building CXX object legacy/CMakeFiles/gpg-error.dir/libgpg-error/src/estream.cpp.o
[  1%] Building CXX object legacy/CMakeFiles/gpg-error.dir/libgpg-error/src/visibility.cpp.o
[  1%] Building CXX object legacy/CMakeFiles/gpg-error.dir/libgpg-error/src/code-to-errno.cpp.o
[  1%] Building CXX object legacy/CMakeFiles/gpg-error.dir/libgpg-error/src/strerror.cpp.o
[  1%] Building CXX object legacy/CMakeFiles/gpg-error.dir/libgpg-error/src/estream-printf.cpp.o
[  2%] Building CXX object legacy/CMakeFiles/gpg-error.dir/libgpg-error/src/init.cpp.o
[  2%] Building CXX object 3rdparty/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[  2%] Built target translations_1
[  2%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/compressed_data_packet.cpp.o
[  2%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/literal_data_packet.cpp.o
[  2%] Building CXX object neopg/CMakeFiles/neopg.dir/crypto/rng.cpp.o
[  2%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/marker_packet.cpp.o
[  3%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/modification_detection_code_packet.cpp.o
[  3%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/multiprecision_integer.cpp.o
[  3%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/object_identifier.cpp.o
[  3%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/packet.cpp.o
[  3%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/data/v3_public_key_data.cpp.o
[  4%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/packet_header.cpp.o
[  4%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key_packet.cpp.o
[  4%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/data/v4_public_key_data.cpp.o
[  4%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/material/raw_public_key_material.cpp.o
[  4%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/material/dsa_public_key_material.cpp.o
[  4%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/material/ecdh_public_key_material.cpp.o
[  5%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/material/eddsa_public_key_material.cpp.o
[  5%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/material/ecdsa_public_key_material.cpp.o
[  5%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/material/elgamal_public_key_material.cpp.o
[  5%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/material/rsa_public_key_material.cpp.o
[  5%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/public_key_data.cpp.o
[  6%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_key/public_key_material.cpp.o
[  6%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/public_subkey_packet.cpp.o
[  6%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/raw_packet.cpp.o
[  6%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature_packet.cpp.o
[  6%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/data/v3_signature_data.cpp.o
[  7%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/data/v4_signature_subpacket_data.cpp.o
[  7%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/data/v4_signature_data.cpp.o
[  7%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/material/raw_signature_material.cpp.o
[  7%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/material/rsa_signature_material.cpp.o
[  7%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/material/dsa_signature_material.cpp.o
[  7%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/material/eddsa_signature_material.cpp.o
[  8%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/material/ecdsa_signature_material.cpp.o
[  8%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/signature_data.cpp.o
[ 10%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/embedded_signature_subpacket.cpp.o
[ 10%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/exportable_certification_subpacket.cpp.o
[ 10%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/signature_material.cpp.o
[ 10%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/signature_subpacket.cpp.o
[ 10%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/features_subpacket.cpp.o
[ 10%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/issuer_subpacket.cpp.o
[ 10%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/key_expiration_time_subpacket.cpp.o
[ 10%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/notation_data_subpacket.cpp.o
[ 10%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/key_flags_subpacket.cpp.o
[ 11%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/key_server_preferences_subpacket.cpp.o
[ 11%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/policy_uri_subpacket.cpp.o
[ 11%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/preferred_compression_algorithms_subpacket.cpp.o
[ 11%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/preferred_hash_algorithms_subpacket.cpp.o
[ 11%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/preferred_key_server_subpacket.cpp.o
[ 12%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/preferred_symmetric_algorithms_subpacket.cpp.o
[ 12%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/primary_user_id_subpacket.cpp.o
[ 12%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/reason_for_revocation_subpacket.cpp.o
[ 13%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/revocable_subpacket.cpp.o
[ 13%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/raw_signature_subpacket.cpp.o
[ 13%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/revocation_key_subpacket.cpp.o
[ 13%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/regular_expression_subpacket.cpp.o
[ 13%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/signature_expiration_time_subpacket.cpp.o
/build/source/legacy/libgpg-error/src/estream-printf.cpp: In function 'int pr_integer(estream_printf_out_t, void*, argspec_t, value_t, size_t*)':
/build/source/legacy/libgpg-error/src/estream-printf.cpp:879:12: note: the ABI of passing union with long double has changed in GCC 4.4
  879 | static int pr_integer(estream_printf_out_t outfnc, void *outfncarg,
      |            ^~~~~~~~~~
[ 13%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/signature_creation_time_subpacket.cpp.o
[ 13%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/signature_target_subpacket.cpp.o
[ 13%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/trust_signature_subpacket.cpp.o
[ 14%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/signature/subpacket/signers_user_id_subpacket.cpp.o
[ 14%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/symmetrically_encrypted_data_packet.cpp.o
[ 14%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/symmetrically_encrypted_integrity_protected_data_packet.cpp.o
[ 14%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/trust_packet.cpp.o
[ 14%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/user_attribute/subpacket/image_attribute_subpacket.cpp.o
In file included from /build/source/neopg/openpgp/literal_data_packet.cpp:6:
/build/source/neopg/openpgp/literal_data_packet.h:14:38: warning: 'visibility' attribute ignored [-Wattributes]
   14 | const NEOPG_UNSTABLE_API std::string LITERAL_DATA_CONSOLE = "_CONSOLE";
      |                                      ^~~~~~~~~~~~~~~~~~~~
[ 15%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/user_attribute/subpacket/raw_user_attribute_subpacket.cpp.o
[ 15%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/user_attribute/user_attribute_subpacket.cpp.o
[ 15%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/user_attribute_packet.cpp.o
[ 15%] Building CXX object neopg/CMakeFiles/neopg.dir/openpgp/user_id_packet.cpp.o
[ 15%] Building CXX object neopg/CMakeFiles/neopg.dir/parser/openpgp.cpp.o
[ 15%] Building CXX object neopg/CMakeFiles/neopg.dir/proto/http.cpp.o
[ 16%] Building CXX object neopg/CMakeFiles/neopg.dir/parser/parser_input.cpp.o
[ 16%] Building CXX object neopg/CMakeFiles/neopg.dir/proto/uri.cpp.o
[ 16%] Building CXX object neopg/CMakeFiles/neopg.dir/utils/stream.cpp.o
[ 16%] Building CXX object neopg/CMakeFiles/neopg.dir/utils/time.cpp.o
[ 16%] Linking CXX static library libgpg-error.a
[ 16%] Built target gpg-error
Scanning dependencies of target ksba
Scanning dependencies of target assuan
[ 16%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/system-posix.cpp.o
[ 17%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-buffer.cpp.o
[ 17%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-error.cpp.o
[ 17%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-handler.cpp.o
[ 17%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-inquire.cpp.o
[ 17%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-io.cpp.o
[ 17%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/reader.cpp.o
[ 17%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/writer.cpp.o
[ 19%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/asn1-parse.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-listen.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/asn1-func.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-logging.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-pipe-connect.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-pipe-server.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-socket.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/der-encoder.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/asn1-func2.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/ber-decoder.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan-uds.cpp.o
[ 20%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/ber-help.cpp.o
[ 21%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/assuan.cpp.o
[ 21%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/client.cpp.o
[ 22%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/cert.cpp.o
[ 22%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/context.cpp.o
[ 22%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/cms.cpp.o
[ 22%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/cms-parser.cpp.o
[ 22%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/certreq.cpp.o
[ 22%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/crl.cpp.o
[ 22%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/debug.cpp.o
[ 23%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/system.cpp.o
[ 23%] Building CXX object legacy/CMakeFiles/assuan.dir/libassuan/src/server.cpp.o
[ 24%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/ocsp.cpp.o
[ 24%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/keyinfo.cpp.o
[ 24%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/oid.cpp.o
[ 24%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/name.cpp.o
[ 25%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/dn.cpp.o
[ 25%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/time.cpp.o
[ 25%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/util.cpp.o
/build/source/neopg/openpgp/object_identifier.cpp: In member function 'const string NeoPG::ObjectIdentifier::as_string() const':
/build/source/neopg/openpgp/object_identifier.cpp:99:24: warning: 'std::string Botan::OID::as_string() const' is deprecated: Use OID::to_string [-Wdeprecated-declarations]
   99 |   return oid.as_string();
      |                        ^
In file included from /nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/ber_dec.h:11,
                 from /build/source/neopg/openpgp/object_identifier.cpp:8:
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/asn1_obj.h:252:58: note: declared here
  252 |       std::string BOTAN_DEPRECATED("Use OID::to_string") as_string() const
      |                                                          ^~~~~~~~~
[ 25%] Building CXX object legacy/CMakeFiles/ksba.dir/libksba/src/asn1-tables.cpp.o
[ 25%] Linking CXX static library libassuan.a
[ 25%] Built target assuan
[ 25%] Linking CXX static library libksba.a
[ 25%] Built target ksba
[ 26%] Linking CXX shared library libneopg.so
[ 26%] Built target neopg
Scanning dependencies of target neopg-tool
Scanning dependencies of target gcrypt
[ 26%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/src/context.cpp.o
[ 26%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/src/global.cpp.o
[ 28%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/src/sexp.cpp.o
[ 28%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/src/hmac256.cpp.o
[ 28%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/src/misc.cpp.o
[ 28%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/src/secmem.cpp.o
[ 28%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/src/visibility.cpp.o
[ 28%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/crc.cpp.o
[ 28%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/src/stdmem.cpp.o
[ 28%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/ecc.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/ecc-eddsa.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/ecc-gost.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/ecc-misc.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/ecc-curves.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/elgamal.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/ecc-ecdsa.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/des.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/dsa.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/rsa.cpp.o
[ 30%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/sha1.cpp.o
[ 31%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/sha512.cpp.o
[ 31%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/sha256.cpp.o
[ 31%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/whirlpool.cpp.o
[ 31%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/cat_command.cpp.o
[ 31%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/md4.cpp.o
[ 31%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/armor_command.cpp.o
[ 31%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/md5.cpp.o
[ 32%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/hash_command.cpp.o
[ 32%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/command.cpp.o
[ 32%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/keccak.cpp.o
[ 32%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/packet/dump/json_dump.cpp.o
[ 32%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/compress_command.cpp.o
[ 33%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/rmd160.cpp.o
[ 33%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/packet/dump/hex_dump.cpp.o
[ 33%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/camellia-glue.cpp.o
[ 33%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/camellia.cpp.o
[ 33%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/packet/dump_packet_command.cpp.o
[ 33%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/packet/dump/legacy_dump.cpp.o
[ 33%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/blowfish.cpp.o
[ 34%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/random_command.cpp.o
[ 34%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/packet_command.cpp.o
[ 34%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/packet/dump_packet_sink.cpp.o
[ 34%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/cli/version_command.cpp.o
[ 34%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/io/streams.cpp.o
[ 34%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/rijndael.cpp.o
[ 34%] Building CXX object neopg-tool/CMakeFiles/neopg-tool.dir/io/hex_filter.cpp.o
[ 35%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/idea.cpp.o
[ 35%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cast5.cpp.o
[ 35%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/twofish.cpp.o
[ 35%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/rfc2268.cpp.o
[ 35%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/mac-cmac.cpp.o
[ 35%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher.cpp.o
[ 37%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-cbc.cpp.o
[ 37%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-cfb.cpp.o
[ 37%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-ofb.cpp.o
[ 37%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-ctr.cpp.o
[ 37%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-aeswrap.cpp.o
[ 38%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-ccm.cpp.o
[ 38%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-cmac.cpp.o
[ 38%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-gcm.cpp.o
[ 38%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-poly1305.cpp.o
[ 38%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-ocb.cpp.o
[ 38%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-xts.cpp.o
[ 39%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/cipher-selftest.cpp.o
[ 39%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/pubkey.cpp.o
[ 39%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/pubkey-util.cpp.o
[ 39%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/mac.cpp.o
[ 40%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/mac-hmac.cpp.o
[ 40%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/md.cpp.o
[ 40%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/mac-gmac.cpp.o
[ 40%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/mac-poly1305.cpp.o
[ 40%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/kdf.cpp.o
[ 40%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/poly1305.cpp.o
[ 40%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/primegen.cpp.o
[ 41%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/scrypt.cpp.o
[ 41%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/hash-common.cpp.o
[ 41%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/dsa-common.cpp.o
[ 41%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/cipher/rsa-common.cpp.o
[ 41%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/ec.cpp.o
[ 42%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-add.cpp.o
[ 42%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-bit.cpp.o
[ 42%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-cmp.cpp.o
[ 42%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpicoder.cpp.o
[ 42%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-div.cpp.o
[ 43%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-gcd.cpp.o
[ 43%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpih-div.cpp.o
[ 43%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpih-mul.cpp.o
[ 43%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-inline.cpp.o
[ 43%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-inv.cpp.o
[ 44%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-mod.cpp.o
[ 44%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-mpow.cpp.o
[ 44%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-mul.cpp.o
[ 44%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-pow.cpp.o
[ 44%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpi-scan.cpp.o
[ 44%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpiutil.cpp.o
[ 46%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/mpih-add1.cpp.o
[ 46%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/generic/mpih-mul1.cpp.o
[ 46%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/generic/mpih-lshift.cpp.o
[ 46%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/generic/mpih-mul2.cpp.o
[ 46%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/generic/mpih-mul3.cpp.o
[ 47%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/generic/mpih-rshift.cpp.o
[ 47%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/mpi/generic/mpih-sub1.cpp.o
[ 47%] Building CXX object legacy/CMakeFiles/gcrypt.dir/libgcrypt/random/random.cpp.o
In file included from /build/source/neopg-tool/cli/compress_command.cpp:8:
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/comp_filter.h:11:24: error: expected constructor, destructor, or type conversion before '(' token
   11 | BOTAN_DEPRECATED_HEADER(comp_filter.h)
      |                        ^
In file included from /nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/types.h:14,
                 from /nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/secmem.h:11,
                 from /nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/filters.h:12,
                 from /nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/comp_filter.h:13,
                 from /build/source/neopg-tool/cli/compress_command.cpp:8:
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/mem_ops.h: In function 'void Botan::copy_mem(T*, const T*, std::size_t)':
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/mem_ops.h:136:4: error: 'assertion_failure' is not a member of 'Botan'
  136 |    BOTAN_ASSERT_IMPLICATION(n > 0, in != nullptr && out != nullptr,
      |    ^~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/mem_ops.h: In function 'std::size_t Botan::buffer_insert(std::vector<_Tp, _Alloc>&, std::size_t, const T*, std::size_t)':
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/mem_ops.h:233:4: error: 'assertion_failure' is not a member of 'Botan'
  233 |    BOTAN_ASSERT_NOMSG(buf_offset <= buf.size());
      |    ^~~~~~~~~~~~~~~~~~
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/mem_ops.h: In function 'std::size_t Botan::buffer_insert(std::vector<_Tp, _Alloc>&, std::size_t, const std::vector<T, Alloc2>&)':
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/mem_ops.h:247:4: error: 'assertion_failure' is not a member of 'Botan'
  247 |    BOTAN_ASSERT_NOMSG(buf_offset <= buf.size());
      |    ^~~~~~~~~~~~~~~~~~
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/filter.h: In member function 'void Botan::Filter::send(const std::vector<unsigned char, Alloc>&, std::size_t)':
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/filter.h:83:10: error: 'assertion_failure' is not a member of 'Botan'
   83 |          BOTAN_ASSERT_NOMSG(length <= in.size());
      |          ^~~~~~~~~~~~~~~~~~
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/cipher_mode.h: In member function 'void Botan::Cipher_Mode::update(Botan::secure_vector<unsigned char>&, std::size_t)':
/nix/store/am5drb1pqlwfyrgz62c0f8c0pv589lwi-botan-2.17.2/include/botan-2/botan/cipher_mode.h:114:10: error: 'assertion_failure' is not a member of 'Botan'
  114 |          BOTAN_ASSERT(buffer.size() >= offset, "Offset ok");
      |          ^~~~~~~~~~~~
[ 47%] Linking CXX static library libgcrypt.a
[ 47%] Built target gcrypt
make[2]: *** [neopg-tool/CMakeFiles/neopg-tool.dir/build.make:121: neopg-tool/CMakeFiles/neopg-tool.dir/cli/compress_command.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 47%] Linking CXX shared library libgtest.so
[ 47%] Built target gtest
Scanning dependencies of target gtest_main
[ 48%] Building CXX object 3rdparty/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 48%] Linking CXX shared library libgtest_main.so
[ 48%] Built target gtest_main
Scanning dependencies of target gcrypt-secmem-test
Scanning dependencies of target gpg-error-test
Scanning dependencies of target ksba-test
Scanning dependencies of target assuan-test
Scanning dependencies of target test-libneopg
Scanning dependencies of target gcrypt-test
[ 48%] Building CXX object legacy/CMakeFiles/gcrypt-secmem-test.dir/libgcrypt/tests/t-secmem.cpp.o
[ 48%] Building CXX object legacy/CMakeFiles/ksba-test.dir/libksba/tests/ksba-test.cpp.o
[ 48%] Building CXX object legacy/CMakeFiles/gcrypt-secmem-test.dir/libgcrypt/tests/gcrypt-secmem-test.cpp.o
[ 48%] Building CXX object legacy/CMakeFiles/gpg-error-test.dir/libgpg-error/tests/t-strerror.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/gpg-error-test.dir/libgpg-error/tests/gpg-error-test.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/ksba-test.dir/libksba/tests/t-oid.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/gpg-error-test.dir/libgpg-error/tests/t-b64dec.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/ksba-test.dir/libksba/tests/t-dnparser.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/gpg-error-test.dir/libgpg-error/tests/t-printf.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/gpg-error-test.dir/libgpg-error/tests/t-syserror.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/ksba-test.dir/libksba/tests/t-crl-parser.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/assuan-test.dir/libassuan/tests/fdpassing.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/gcrypt-test.dir/libgcrypt/tests/gcrypt-test.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/assuan-test.dir/libassuan/tests/assuan-test.cpp.o
[ 50%] Building CXX object legacy/CMakeFiles/gcrypt-test.dir/libgcrypt/tests/hmac.cpp.o
[ 50%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/marker_packet_tests.cpp.o
[ 50%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/multiprecision_integer_tests.cpp.o
[ 50%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/literal_data_packet_tests.cpp.o
[ 50%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/compressed_data_packet_tests.cpp.o
[ 51%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/modification_detection_code_packet_tests.cpp.o
[ 51%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/material/eddsa_public_key_material_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/object_identifier_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key_packet_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/packet_header_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/data/v4_public_key_data_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/data/v3_public_key_data_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/material/elgamal_public_key_material_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/material/raw_public_key_material_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/material/dsa_public_key_material_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/material/ecdsa_public_key_material_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/material/ecdh_public_key_material_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/public_key_material_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/public_key_data_tests.cpp.o
[ 53%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_key/material/rsa_public_key_material_tests.cpp.o
[ 55%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature_packet_tests.cpp.o
[ 55%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/public_subkey_packet_tests.cpp.o
[ 55%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/signature_data_tests.cpp.o
[ 55%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/data/v3_signature_data_tests.cpp.o
[ 55%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/data/v4_signature_data_tests.cpp.o
[ 55%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/material/raw_signature_material_tests.cpp.o
[ 56%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/material/dsa_signature_material_tests.cpp.o
[ 56%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/data/v4_signature_subpacket_data_tests.cpp.o
[ 56%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/material/rsa_signature_material_tests.cpp.o
[ 56%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/material/eddsa_signature_material_tests.cpp.o
[ 57%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/signature_material_tests.cpp.o
[ 57%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/material/ecdsa_signature_material_tests.cpp.o
[ 57%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/signature_subpacket_tests.cpp.o
[ 57%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/embedded_signature_subpacket_tests.cpp.o
[ 57%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/exportable_certification_subpacket_tests.cpp.o
[ 57%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/features_subpacket_tests.cpp.o
[ 58%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/issuer_subpacket_tests.cpp.o
[ 58%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/key_expiration_time_subpacket_tests.cpp.o
[ 58%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/key_flags_subpacket_tests.cpp.o
[ 58%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/key_server_preferences_subpacket_tests.cpp.o
[ 58%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/notation_data_subpacket_tests.cpp.o
[ 59%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/policy_uri_subpacket_tests.cpp.o
[ 59%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/preferred_compression_algorithms_subpacket_tests.cpp.o
[ 59%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/preferred_hash_algorithms_subpacket_tests.cpp.o
[ 59%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/preferred_key_server_subpacket_tests.cpp.o
[ 59%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/preferred_symmetric_algorithms_subpacket_tests.cpp.o
[ 59%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/primary_user_id_subpacket_tests.cpp.o
[ 59%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/reason_for_revocation_subpacket_tests.cpp.o
[ 60%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/raw_signature_subpacket_tests.cpp.o
[ 60%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/regular_expression_subpacket_tests.cpp.o
[ 60%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/revocable_subpacket_tests.cpp.o
[ 61%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/signature_creation_time_subpacket_tests.cpp.o
[ 61%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/revocation_key_subpacket_tests.cpp.o
[ 61%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/signature_target_subpacket_tests.cpp.o
[ 61%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/signature_expiration_time_subpacket_tests.cpp.o
[ 61%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/signers_user_id_subpacket_tests.cpp.o
In file included from /build/source/neopg/openpgp/literal_data_packet_tests.cpp:6:
/build/source/neopg/openpgp/literal_data_packet.h:14:38: warning: 'visibility' attribute ignored [-Wattributes]
   14 | const NEOPG_UNSTABLE_API std::string LITERAL_DATA_CONSOLE = "_CONSOLE";
      |                                      ^~~~~~~~~~~~~~~~~~~~
[ 61%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/signature/subpacket/trust_signature_subpacket_tests.cpp.o
[ 62%] Linking CXX executable gcrypt-secmem-test
[ 62%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/symmetrically_encrypted_data_packet_tests.cpp.o
[ 64%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/symmetrically_encrypted_integrity_protected_data_packet_tests.cpp.o
[ 64%] Linking CXX executable ksba-test
[ 64%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/trust_packet_tests.cpp.o
[ 64%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/user_attribute/subpacket/image_attribute_subpacket_tests.cpp.o
[ 64%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/user_attribute/subpacket/raw_user_attribute_subpacket_tests.cpp.o
[ 64%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/user_attribute/user_attribute_subpacket_tests.cpp.o
[ 65%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/user_attribute_packet_tests.cpp.o
[ 65%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/openpgp/user_id_packet_tests.cpp.o
[ 65%] Linking CXX executable gpg-error-test
[ 65%] Built target gcrypt-secmem-test
[ 65%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/parser/openpgp_tests.cpp.o
[ 65%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/parser/parser_input_tests.cpp.o
[ 65%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/proto/http_tests.cpp.o
[ 65%] Built target ksba-test
[ 65%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/utils/stream_tests.cpp.o
[ 66%] Building CXX object neopg/tests/CMakeFiles/test-libneopg.dir/__/proto/uri_tests.cpp.o
[ 66%] Built target gpg-error-test
[ 66%] Linking CXX executable assuan-test
[ 66%] Built target assuan-test
[ 66%] Linking CXX executable gcrypt-test
[ 66%] Built target gcrypt-test
make[1]: *** [CMakeFiles/Makefile2:1658: neopg-tool/CMakeFiles/neopg-tool.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 66%] Linking CXX executable test-libneopg
[ 66%] Built target test-libneopg
make: *** [Makefile:160: all] Error 2
builder for '/nix/store/vrp0lffg377x1jx9aj8dn6lx7xnh00hz-neopg-0.0.6.drv' failed with exit code 2