Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 781971 - mail-client/evolution-{,data-server-}3.38.4 with cmake-3.20.1: CMake Error at cmake/modules/PrintableOptions.cmake:38 (message): variable name cannot be empty
Summary: mail-client/evolution-{,data-server-}3.38.4 with cmake-3.20.1: CMake Error at...
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-10 15:28 UTC by Kobboi
Modified: 2021-04-18 05:17 UTC (History)
3 users (show)

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


Attachments
CMakeOutput.log (CMakeOutput.log,20.81 KB, text/plain)
2021-04-10 16:01 UTC, Kobboi
Details
build.log (build.log,3.71 KB, text/plain)
2021-04-10 16:02 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2021-04-10 15:28:27 UTC
* Package:    mail-client/evolution-3.38.4
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE:        abi_x86_64 amd64 bogofilter elibc_glibc kernel_linux spell ssl userland_GNU weather
 * FEATURES:   compressdebug installsources network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
 * Working in BUILD_DIR: "/var/tmp/portage/mail-client/evolution-3.38.4/work/evolution-3.38.4_build"
 * Disabling deprecation warnings ...
 [ ok ]
 * Working in BUILD_DIR: "/var/tmp/portage/mail-client/evolution-3.38.4/work/evolution-3.38.4_build"
cmake -C /var/tmp/portage/mail-client/evolution-3.38.4/work/evolution-3.38.4_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DENABLE_SCHEMAS_COMPILE=OFF -DENABLE_GTK_DOC=no -DWITH_OPENLDAP=no -DENABLE_SMIME=yes -DENABLE_GNOME_DESKTOP=ON -DWITH_ENCHANT_VERSION=2 -DENABLE_CANBERRA=ON -DENABLE_AUTOAR=no -DWITH_HELP=ON -DENABLE_YTNEF=OFF -DWITH_BOGOFILTER=yes -DWITH_SPAMASSASSIN=no -DENABLE_GSPELL=yes -DENABLE_TEXT_HIGHLIGHT=no -DENABLE_WEATHER=yes -DENABLE_CONTACT_MAPS=no -DENABLE_YTNEF=no -DENABLE_PST_IMPORT=OFF -DWITH_GLADE_CATALOG=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/mail-client/evolution-3.38.4/work/evolution-3.38.4_build/gentoo_toolchain.cmake  /var/tmp/portage/mail-client/evolution-3.38.4/work/evolution-3.38.4
loading initial cache file /var/tmp/portage/mail-client/evolution-3.38.4/work/evolution-3.38.4_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 11.0.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
CMake Error at cmake/modules/PrintableOptions.cmake:38 (message):
  variable name cannot be empty
Call Stack (most recent call first):
  CMakeLists.txt:122 (add_printable_variable)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/mail-client/evolution-3.38.4/work/evolution-3.38.4_build/CMakeFiles/CMakeOutput.log".
 * ERROR: mail-client/evolution-3.38.4::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2729:  Called cmake_src_configure
 *   environment, line  946:  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 '=mail-client/evolution-3.38.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=mail-client/evolution-3.38.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/mail-client/evolution-3.38.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/evolution-3.38.4/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-client/evolution-3.38.4/work/evolution-3.38.4_build'
 * S: '/var/tmp/portage/mail-client/evolution-3.38.4/work/evoluti

Reproducible: Always
Comment 1 Kobboi 2021-04-10 15:28:39 UTC
Compiles fine with cmake-3.20.0
Comment 2 Kobboi 2021-04-10 16:01:56 UTC
Created attachment 698952 [details]
CMakeOutput.log
Comment 3 Kobboi 2021-04-10 16:02:18 UTC
Created attachment 698955 [details]
build.log
Comment 4 Kobboi 2021-04-10 16:02:48 UTC
Portage 3.0.18 (python 3.8.9-final-0, !../../var/db/repos/kobboi-linux/profiles/kobboi/tanagra, gcc-10.3.0, glibc-2.33, 5.11.12-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.11.12-gentoo-dist-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.2.5
KiB Mem:    32888776 total,  16738112 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sat, 10 Apr 2021 15:30:01 +0000
Head commit of repository gentoo: cd86772c196e6b256cbc336c5c5135ca88ca727f
Timestamp of repository brother-overlay: Wed, 31 Mar 2021 12:54:50 +0000
Head commit of repository brother-overlay: 717a4d4d71a22e400a89907c6dbf5725bd42bf96

Head commit of repository kobboi-linux: 5ad78438c0f51426fcb9f1c23cddbcee546d7eff

Timestamp of repository steam-overlay: Fri, 09 Apr 2021 23:37:06 +0000
Head commit of repository steam-overlay: 32abfbd84412ba2cdcca1d36bf817a02632f0ef9

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.2.1 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p8::gentoo, 3.7.10_p1::gentoo, 3.8.9::gentoo, 3.9.4::gentoo
dev-lang/rust:            1.51.0::gentoo
dev-util/ccache:          4.2.1::gentoo
dev-util/cmake:           3.20.1::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.22::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo

kobboi-linux
    location: /var/db/repos/kobboi-linux
    sync-type: git
    sync-uri: https://github.com/kobboi/kobboi-linux
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

Installed sets: @kobboi-all-packages, @kobboi-machine-tanagra
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver3 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=znver3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver3 -pipe"
GENTOO_MIRRORS="ftp://kobboi-linux:*password*@10.8.0.1/2020.11"
INSTALL_MASK="/usr/src/debug /usr/lib/debug"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="ftp://kobboi-linux:*password*@10.8.0.1/2020.11/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth bzip2 cairo cdda cdr cli colord crypt cups dbus dist-kernel djvu dri dts dvd dvdr eds egl emboss encode evo exif facedetect ffmpeg flac fluidsynth fortran frei0r gdbm gif glade gles gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle gui iconv icu introspection ipv6 jpeg ladspa lcms libass libglvnd libnotify libsecret libtirpc lv2 lz4 lzma lzo mad midi mng modemmanager mono mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl ogg opencv opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 readline samba screencast sdl seccomp smartcard smp spell split-usr ssl startup-notification svg sysprof systemd tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse synaptics libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="vesa radeon nvidia intel amdgpu dummy fbdev nouveau radeonsi v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark
Comment 5 Kobboi 2021-04-10 16:03:58 UTC
Same for evolution-data-server-3.38.4
Comment 6 cyrillic 2021-04-11 13:12:56 UTC
(In reply to Kobboi from comment #1)
> Compiles fine with cmake-3.20.0

Downgrading cmake fixed it for me too.
Comment 7 Nikolay Kichukov 2021-04-14 12:04:07 UTC
I am getting the same behaviour, dev-util/cmake-3.20.1 here.
Comment 8 Nikolay Kichukov 2021-04-14 12:14:13 UTC
gcc-10.3.0 in use.

Strangely, a manual cmake run from the build directory, ie:


/var/tmp/portage/gnome-extra/evolution-data-server-3.40.0/work/evolution-data-server-3.40.0_build # cmake ../evolution-data-server-3.40.0

fails the first time, however if you execute it a second time, it succeeds.
Comment 9 Nikolay Kichukov 2021-04-14 14:59:16 UTC
Milan released a patch here:
https://paste.gnome.org/pyf9nrftr

which allows configuration with cmake 3.20.1 to succeed on first run. This will be committed to evo, eds, ews and evo-mapi repos as the patch is needed for all of them.
Comment 10 Nikolay Kichukov 2021-04-16 09:55:08 UTC
Original patch link no longer works, here is the upstream commit instead:

https://gitlab.gnome.org/GNOME/evolution-data-server/-/commit/c95a70bfeae25ba11fbe50fe759a6cdb29388e44
Comment 11 Larry the Git Cow gentoo-dev 2021-04-16 13:23:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0068bb3863bdee6d3d01f78b7d7ea6a8f23261c

commit c0068bb3863bdee6d3d01f78b7d7ea6a8f23261c
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-16 13:23:24 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-16 13:23:34 +0000

    mail-client/evolution: Add patch for cmake-3.20 compat
    
    Closes: https://bugs.gentoo.org/781971
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 mail-client/evolution/evolution-3.38.4.ebuild      |  2 +
 ...tions.cmake-Correct-variable-name-compari.patch | 75 ++++++++++++++++++++++
 2 files changed, 77 insertions(+)
Comment 12 Matt Turner gentoo-dev 2021-04-16 13:24:33 UTC
Nice. Thanks for the heads up. evolution-data-server handled in bug 783138.