Just need to use a later version of cryfs:
Code: Select all
echo sys-fs/cryfs/ >> /etc/portage/package.accept_keywords/cryfsemerge @world is failing. No idea why.
Halp?
Code: Select all
>>> Emerging (13 of 50) sys-fs/cryfs-1.0.1-r1::gentoo
>>> Failed to emerge sys-fs/cryfs-1.0.1-r1, Log file:
>>> '/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/temp/build.log'
* Package: sys-fs/cryfs-1.0.1-r1:0
* Repository: gentoo
* Maintainer: iohann.s.titov@gmail.com proxy-maint@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /usr/src/linux-6.18.4-gentoo
* Found sources for kernel version:
* 6.18.4-gentoo
* Checking for suitable kernel configuration options ... [ ok ]
* Checking whether python3_13 is suitable ...
* dev-lang/python:3.13 ... [ ok ]
* python_check_deps ...
* dev-python/versioneer[python_targets_python3_13(-)] ... [ ok ]
* Using python3.13 to build (via PYTHON_COMPAT iteration)
* Applying cryfs-1.0.1-unbundle-vendored-libs.patch ... [ ok ]
* Applying cryfs-1.0.1-boost-1.88.patch ... [ ok ]
* QA Notice: S=WORKDIR is deprecated for cmake.eclass.
* Please relocate the sources in src_unpack.
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work"
* Build directory (BUILD_DIR): "/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work/cryfs-1.0.1_build"
* Hardcoded definition(s) removed in CMakeLists.txt:
* set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE INTERNAL "CMAKE_BUILD_TYPE")
* Hardcoded definition(s) removed in vendor/cryptopp/vendor_cryptopp_cmake/cryptopp/CMakeLists.txt:
* set(CMAKE_BUILD_TYPE RelWithDebInfo)
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work"
* Build directory (BUILD_DIR): "/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work/cryfs-1.0.1_build"
cmake -C /var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work/cryfs-1.0.1_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=no -DCRYFS_UPDATE_CHECKS=OFF -DUSE_SYSTEM_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work/cryfs-1.0.1_build/gentoo_toolchain.cmake /var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work
loading initial cache file /var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work/cryfs-1.0.1_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 15.2.1
-- The CXX compiler identification is GNU 15.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at cmake-utils/Dependencies.cmake:8 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:44 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /usr/lib64/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
Could not find a package configuration file provided by "boost_system"
(requested version 1.89.0) with any of the following names:
boost_systemConfig.cmake
boost_system-config.cmake
Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
"boost_system_DIR" to a directory containing one of the above files. If
"boost_system" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/usr/lib64/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
/usr/share/cmake/Modules/FindBoost.cmake:609 (find_package)
cmake-utils/Dependencies.cmake:8 (find_package)
CMakeLists.txt:44 (include)
-- Configuring incomplete, errors occurred!
* ERROR: sys-fs/cryfs-1.0.1-r1::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 143: Called src_configure
* environment, line 3129: Called cmake_src_configure
* environment, line 1783: 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 '=sys-fs/cryfs-1.0.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/cryfs-1.0.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work/cryfs-1.0.1_build'
* S: '/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work'
* Messages for package sys-fs/cryfs-1.0.1-r1:
* ERROR: sys-fs/cryfs-1.0.1-r1::gentoo failed (configure phase):
* cmake failed
* Call stack:
* ebuild.sh, line 143: Called src_configure
* environment, line 3129: Called cmake_src_configure
* environment, line 1783: 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 '=sys-fs/cryfs-1.0.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/cryfs-1.0.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work/cryfs-1.0.1_build'
* S: '/var/tmp/portage/sys-fs/cryfs-1.0.1-r1/work'
!!! existing preserved libs found

