sys-fs/cryfs
This wiki page is about a gentoo ebuild. Include any information about how to install it (emerge it), potential problems and how to resolve them. Be bold and improve it!
If you have any questions or experience any problem related to this ebuild, don't hesitate to open a new ticket and we'll do our best to assist you.
Table of Contents
Troubleshooting
undefined reference to `non-virtual thunk to CryptoPP::Rijndael::Base::AlgorithmProvider[abi:cxx11]() const'
FAILED: src/cryfs-cli/cryfs
: && /usr/bin/x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -O3 -Wl,-O1 -Wl,--as-needed -rdynamic src/cryfs-cli/CMakeFiles/cryfs-cli_bin.dir/main.cpp.o -o src/cryfs-cli/cryfs src/cryfs-cli/libcryfs-cli.a src/cryfs/libcryfs.a src/blobstore/libblobstore.a src/blockstore/libblockstore.a -lboost_program_options-mt src/gitversion/libgitversion.a src/fspp/fuse/libfspp-fuse.a src/fspp/fs_interface/libfspp-interface.a src/cpp-utils/libcpp-utils.a -lcurl -ldl vendor/spdlog/libspdlog.a -lcryptopp -lboost_filesystem-mt -lboost_system-mt -lboost_thread-mt -lpthread -lboost_chrono-mt -lboost_date_time-mt -lboost_atomic-mt -lrt -lfuse && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/cryfs/libcryfs.a(CryCipher.cpp.o):(.data.rel.ro._ZTVN8CryptoPP16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEE[_ZTVN8CryptoPP16BlockCipherFinalILNS_9CipherDirE0ENS_8Rijndael3EncEEE]+0x100): undefined reference to `non-virtual thunk to CryptoPP::Rijndael::Base::AlgorithmProvider[abi:cxx11]() const'
collect2: error: ld returned 1 exit status
[187/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -DNDEBUG -march=native -O2 -pipe -O3 -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/stats/CMakeFiles/stats.dir/main.cpp.o -MF src/stats/CMakeFiles/stats.dir/main.cpp.o.d -o src/stats/CMakeFiles/stats.dir/main.cpp.o -c ../src/stats/main.cpp
ninja: build stopped: subcommand failed.
* ERROR: sys-fs/cryfs-0.10.2::gentoo failed (compile phase):
* ninja -v -j4 -l0 failed
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 3504: Called cmake_src_compile
* environment, line 1110: Called cmake_build
* environment, line 1089: Called eninja
* environment, line 1534: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
Solution: rebulid dev-libs/crypto++
first, then re-emerge cryfs.
External resources
- Gentoo package: Package: sys-fs/cryfs.
- Gentoo bugs: Bugs: sys-fs/cryfs.