Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 783603 - gnome-extra/evolution-ews-3.40.0 fails to merge with CMake 3.20.1 (CMake Error at cmake/modules/PrintableOptions.cmake:38 (message): variable name cannot be empty)
Summary: gnome-extra/evolution-ews-3.40.0 fails to merge with CMake 3.20.1 (CMake Erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-18 05:10 UTC by Marius Stoica
Modified: 2021-04-18 05:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=gnome-extra/evolution-ews-3.40.0::gentoo' (emerge.info,6.36 KB, application/x-info)
2021-04-18 05:12 UTC, Marius Stoica
Details
build.log (build.log,3.44 KB, text/x-log)
2021-04-18 05:13 UTC, Marius Stoica
Details
CMakeOutput.log (CMakeOutput.log,20.84 KB, text/x-log)
2021-04-18 05:13 UTC, Marius Stoica
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Stoica 2021-04-18 05:10:46 UTC
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
Comment 1 Marius Stoica 2021-04-18 05:12:36 UTC
Created attachment 700452 [details]
emerge --info '=gnome-extra/evolution-ews-3.40.0::gentoo'
Comment 2 Marius Stoica 2021-04-18 05:13:17 UTC
Created attachment 700455 [details]
build.log
Comment 3 Marius Stoica 2021-04-18 05:13:48 UTC
Created attachment 700458 [details]
CMakeOutput.log
Comment 4 Larry the Git Cow gentoo-dev 2021-04-18 05:24:17 UTC
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(+)