After upgrading mail-client/evolution to 3.40.0, it failed to emerge gnome-extra/evolution-ews-3.40.0 $ sudo emerge -av1 evolution-ews These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] gnome-extra/evolution-ews-3.40.0::gentoo [3.38.4::gentoo] USE="-test" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) gnome-extra/evolution-ews-3.40.0::gentoo * evolution-ews-3.40.0.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking evolution-ews-3.40.0.tar.xz to /var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work >>> Source unpacked in /var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work >>> Preparing source in /var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0 ... * Working in BUILD_DIR: "/var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0_build" * Disabling deprecation warnings ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0 ... * Working in BUILD_DIR: "/var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0_build" cmake -C /var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DWITH_MSPACK=ON -DENABLE_TESTS=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0_build/gentoo_toolchain.cmake /var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0 loading initial cache file /var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 10.3.0 -- 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 CMake Error at cmake/modules/PrintableOptions.cmake:38 (message): variable name cannot be empty Call Stack (most recent call first): CMakeLists.txt:70 (add_printable_variable) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0_build/CMakeFiles/CMakeOutput.log". * ERROR: gnome-extra/evolution-ews-3.40.0::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 2600: Called cmake_src_configure * environment, line 984: 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 '=gnome-extra/evolution-ews-3.40.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=gnome-extra/evolution-ews-3.40.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/gnome-extra/evolution-ews-3.40.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/evolution-ews-3.40.0/temp/environment'. * Working directory: '/var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0_build' * S: '/var/tmp/portage/gnome-extra/evolution-ews-3.40.0/work/evolution-ews-3.40.0' Reproducible: Always
Created attachment 700452 [details] emerge --info '=gnome-extra/evolution-ews-3.40.0::gentoo'
Created attachment 700455 [details] build.log
Created attachment 700458 [details] CMakeOutput.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7bcc8fd0b8d8c96313911bc04f7fac98517c6a commit 8b7bcc8fd0b8d8c96313911bc04f7fac98517c6a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-04-18 05:23:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-04-18 05:24:08 +0000 gnome-extra/evolution-ews: fix build with CMake 3.20.1 Closes: https://bugs.gentoo.org/783603 Signed-off-by: Sam James <sam@gentoo.org> .../evolution-ews/evolution-ews-3.38.4.ebuild | 3 + .../evolution-ews/evolution-ews-3.40.0.ebuild | 3 + .../files/evolution-ews-3.38.4-cmake-3.20.1.patch | 71 ++++++++++++++++++++++ 3 files changed, 77 insertions(+)