Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 772398 - dev-db/mariadb-connector-c-3.1.12 with cmake-3.20.0_rc1: CMake Error at cmake/ConnectorName.cmake:30 (ENDMACRO): Flow control statements are not properly nested
Summary: dev-db/mariadb-connector-c-3.1.12 with cmake-3.20.0_rc1: CMake Error at cmake...
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 MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-24 15:32 UTC by Perfect Gentleman
Modified: 2021-03-02 17:15 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,10.84 KB, text/x-log)
2021-02-24 15:32 UTC, Perfect Gentleman
Details
CMakeOutput.log (CMakeOutput.log,71.75 KB, text/x-log)
2021-02-24 15:33 UTC, Perfect Gentleman
Details
CMakeError.log (CMakeError.log,41.11 KB, text/x-log)
2021-02-24 15:33 UTC, Perfect Gentleman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2021-02-24 15:32:28 UTC
Created attachment 688251 [details]
build.log

~ $ emerge --info mariadb-connector-c
Portage 3.0.15 (python 3.9.2-final-0, default/linux/amd64/17.1/no-multilib, gcc-10.2.0, glibc-2.33, 5.11.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.11.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-glibc2.33
KiB Mem:    16085804 total,   8132392 free
KiB Swap:   13720572 total,  13552892 free
Head commit of repository guru: 810bddc18838f1a174a4be265059d671b5894534

Head commit of repository pf4public: 9d8c10d3ed2ccdbc2a371edfda508e212e735c82

Head commit of repository gentoo: e3a80ce04c0cfafdeadbb1ba8a08ddcc925ad7d9

Head commit of repository qt: 907a0ff98c5de2f0c717c40f66e2d9d1f1f39b46

Head commit of repository kde: dc3032279ef2611f64209685a68115905143cebf

Head commit of repository pg_overlay: 54024b462a1667b35895697429469b0e3f0dc2e5

sh bash 5.1_p4
ld GNU ld (Gentoo 2.36.1 p1) 2.36.1
ccache version 4.2 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p7::pg_overlay, 3.9.2::pg_overlay
dev-util/ccache:          4.2::gentoo
dev-util/cmake:           3.20.0_rc1::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::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:

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: -3
    eclass-overrides: guru gentoo qt kde pg_overlay

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/PF4Public/gentoo-overlay.git
    masters: gentoo
    priority: -1
    eclass-overrides: guru gentoo qt kde pg_overlay

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: 5
    eclass-overrides: guru gentoo qt kde pg_overlay
    sync-git-clone-extra-opts: --depth=1 --progress --verbose --single-branch --branch master

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 9
    eclass-overrides: guru gentoo qt kde pg_overlay

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: 11
    eclass-overrides: guru gentoo qt kde pg_overlay

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://gitlab.com/Perfect_Gentleman/PG_Overlay.git
    masters: gentoo
    priority: 13
    eclass-overrides: guru gentoo qt kde pg_overlay

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O3 -pipe -fdata-sections -fdevirtualize-at-ltrans -ffunction-sections -fgraphite-identity -fipa-pta -flto=9 -flto-compression-level=9 -floop-interchange -floop-nest-optimize -floop-parallelize-all -fomit-frame-pointer -fsched-pressure -ftree-parallelize-loops=8 -fuse-linker-plugin -fno-asynchronous-unwind-tables -fno-plt -fno-semantic-interposition -fno-stack-protector -s"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -fdata-sections -fdevirtualize-at-ltrans -ffunction-sections -fgraphite-identity -fipa-pta -flto=9 -flto-compression-level=9 -floop-interchange -floop-nest-optimize -floop-parallelize-all -fomit-frame-pointer -fsched-pressure -ftree-parallelize-loops=8 -fuse-linker-plugin -fno-asynchronous-unwind-tables -fno-plt -fno-semantic-interposition -fno-stack-protector -s"
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="-march=native -mtune=native -O3 -pipe -fdata-sections -fdevirtualize-at-ltrans -ffunction-sections -fgraphite-identity -fipa-pta -flto=9 -flto-compression-level=9 -floop-interchange -floop-nest-optimize -floop-parallelize-all -fomit-frame-pointer -fsched-pressure -ftree-parallelize-loops=8 -fuse-linker-plugin -fno-asynchronous-unwind-tables -fno-plt -fno-semantic-interposition -fno-stack-protector -s"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch 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="-march=native -mtune=native -O3 -pipe -fdata-sections -fdevirtualize-at-ltrans -ffunction-sections -fgraphite-identity -fipa-pta -flto=9 -flto-compression-level=9 -floop-interchange -floop-nest-optimize -floop-parallelize-all -fomit-frame-pointer -fsched-pressure -ftree-parallelize-loops=8 -fuse-linker-plugin -fno-asynchronous-unwind-tables -fno-plt -fno-semantic-interposition -fno-stack-protector -s"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/lib/systemd /usr/lib/systemd /usr/share/fish /usr/share/zsh"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--sort-common -Wl,-z,norelro -march=native -mtune=native -O3 -pipe -fdata-sections -fdevirtualize-at-ltrans -ffunction-sections -fgraphite-identity -fipa-pta -flto=9 -flto-compression-level=9 -floop-interchange -floop-nest-optimize -floop-parallelize-all -fomit-frame-pointer -fsched-pressure -ftree-parallelize-loops=8 -fuse-linker-plugin -fno-asynchronous-unwind-tables -fno-plt -fno-semantic-interposition -fno-stack-protector -s"
LINGUAS="en en_US en-US ru ru_RU ru-RU"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
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="/tmp"
USE="acl alsa amd64 bash-completion bzip2 cairo cli cups custom-cflags cxx dbus dri elogind ffmpeg flac fontconfig gdbm gif gmp iconv icu introspection jpeg kde lcms libglvnd libtirpc lzma lzo mmap mtp ncurses nls nptl ogg opengl openmp orc pam pch pcre png pulseaudio readline seccomp split-usr ssl svg symlink threads tiff truetype udev unicode vaapi vorbis vulkan wavpack wayland webp xattr xcb xft xmpp zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 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 sse sse2 sse3 sse4_1 sse4_2 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="libinput" KERNEL="linux" L10N="en en_US en-US ru ru_RU ru-RU" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-db/mariadb-connector-c-3.1.11::gentoo was built with the following:
USE="curl ssl -gnutls -kerberos (-libressl) -static-libs -test"
CFLAGS="-march=native -mtune=native -O3 -pipe -fdata-sections -fdevirtualize-at-ltrans -ffunction-sections -fgraphite-identity -fipa-pta -flto=9 -flto-compression-level=9 -floop-interchange -floop-nest-optimize -floop-parallelize-all -fomit-frame-pointer -fuse-linker-plugin -fno-asynchronous-unwind-tables -fno-plt -fno-semantic-interposition -fno-stack-protector -s"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -fdata-sections -fdevirtualize-at-ltrans -ffunction-sections -fgraphite-identity -fipa-pta -flto=9 -flto-compression-level=9 -floop-interchange -floop-nest-optimize -floop-parallelize-all -fomit-frame-pointer -fuse-linker-plugin -fno-asynchronous-unwind-tables -fno-plt -fno-semantic-interposition -fno-stack-protector -s"
FEATURES="qa-unresolved-soname-deps binpkg-logs config-protect-if-modified distlocks network-sandbox strict userpriv parallel-install usersandbox multilib-strict unmerge-orphans sandbox preserve-libs pid-sandbox unknown-features-warn binpkg-dostrip parallel-fetch sfperms assume-digests metadata-transfer fixlafiles unmerge-logs ipc-sandbox protect-owned news usersync xattr merge-sync userfetch ebuild-locks binpkg-docompress"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--sort-common -Wl,-z,norelro -march=native -mtune=native -O3 -pipe -fdata-sections -fdevirtualize-at-ltrans -ffunction-sections -fgraphite-identity -fipa-pta -flto=9 -flto-compression-level=9 -floop-interchange -floop-nest-optimize -floop-parallelize-all -fomit-frame-pointer -fuse-linker-plugin -fno-asynchronous-unwind-tables -fno-plt -fno-semantic-interposition -fno-stack-protector -s"
Comment 1 Perfect Gentleman 2021-02-24 15:33:25 UTC
Created attachment 688254 [details]
CMakeOutput.log
Comment 2 Perfect Gentleman 2021-02-24 15:33:43 UTC
Created attachment 688257 [details]
CMakeError.log
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2021-02-24 16:03:33 UTC
Caused by 3.20.0_rc1.
Comment 4 Perfect Gentleman 2021-02-24 17:11:19 UTC
(In reply to Thomas Deutschmann from comment #3)
> Caused by 3.20.0_rc1.

Will it fixed in 3.20.0 release?
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2021-02-24 18:01:32 UTC
Looks like it's a changed caused by https://gitlab.kitware.com/cmake/cmake/-/commit/12f6e37eb79ad66c30269a3f19dfc28a9cb834e2 which means packages need fixing. This will take a lot of time...
Comment 6 Andreas Sturmlechner gentoo-dev 2021-02-25 09:07:32 UTC
Easy fix in the reported file:

>   IF(IS64)
>     SET(MACHINE_NAME "x64")
>   ELSE()
>     SET(MACHINE_NAME "32")
>   END()
>      ^^

Should be ENDIF() of course.
Comment 7 Perfect Gentleman 2021-02-25 09:58:59 UTC
(In reply to Andreas Sturmlechner from comment #6)
> Easy fix in the reported file:
> 
> >   IF(IS64)
> >     SET(MACHINE_NAME "x64")
> >   ELSE()
> >     SET(MACHINE_NAME "32")
> >   END()
> >      ^^
> 
> Should be ENDIF() of course.

Thanx.
Comment 8 Larry the Git Cow gentoo-dev 2021-03-02 17:15:50 UTC
The bug has been closed via the following commit(s):

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

commit 23e96561eec030b2c42fc38a6a9b163aea2f1c88
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-03-02 16:24:45 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-03-02 17:15:44 +0000

    dev-db/mariadb-connector-c: fix flow control statement
    
    Closes: https://bugs.gentoo.org/772398
    Package-Manager: Portage-3.0.16, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 ...adb-connector-c-3.1.11-fix-flow-control-statement.patch | 14 ++++++++++++++
 .../mariadb-connector-c/mariadb-connector-c-3.1.11.ebuild  |  3 ++-
 .../mariadb-connector-c/mariadb-connector-c-3.1.12.ebuild  |  1 +
 3 files changed, 17 insertions(+), 1 deletion(-)