Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775047 - kde-apps/akonadi: dev-db/mysql-connector-c-8.0.23 breaks akonadi 5.16.3 (20.12.3)
Summary: kde-apps/akonadi: dev-db/mysql-connector-c-8.0.23 breaks akonadi 5.16.3 (20.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-09 13:42 UTC by Alexandre Ferreira
Modified: 2021-03-11 18:25 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Ferreira 2021-03-09 13:42:50 UTC
akonadi fails with error:
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
akonadiserver: /var/tmp/portage/dev-db/mysql-connector-c-8.0.23/work/mysql-8.0.23/libmysql/libmysql.cc:3498: bool setup_one_fetch_function(MYSQL_BIND*, MYSQL_FIELD*): Assertion `param->buffer_length != 0' failed.
KCrash: crashing... crashRecursionCounter = 2

when dev-db/mysql-connector-c-8.0.23 is used. It works fine with dev-db/mysql-connector-c-8.0.22

Reproducible: Always

Steps to Reproduce:
1. Compile dev-db/mysql-connector-c-8.0.23 and akonadi
2. Start akonadi (akonadictl start)
3. 
Actual Results:  
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
akonadiserver: /var/tmp/portage/dev-db/mysql-connector-c-8.0.23/work/mysql-8.0.23/libmysql/libmysql.cc:3498: bool setup_one_fetch_function(MYSQL_BIND*, MYSQL_FIELD*): Assertion `param->buffer_length != 0' failed.

Expected Results:  
Akonadi starts
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-09 13:46:18 UTC
Akondai version? emerge --info too.
Comment 2 Alexandre Ferreira 2021-03-09 14:01:08 UTC
$ akonadictl -v
akonadictl 5.16.3 (20.12.3)

# emerge --info
Portage 3.0.17 (python 3.8.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.2.0, glibc-2.32-r8, 5.11.4-gentoo-ubuntu2 x86_64)
=================================================================
System uname: Linux-5.11.4-gentoo-ubuntu2-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.2.5
KiB Mem:    65869768 total,  19767496 free
KiB Swap:   16383996 total,  15943932 free
Timestamp of repository gentoo: Tue, 09 Mar 2021 07:45:01 +0000
Head commit of repository gentoo: 941680667f44ce1f6b19066106bbb0b3e73df870
sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
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_p7::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/cmake:           3.19.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r5::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.32-r8::gentoo
Repositories:

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

brother-overlay
    location: /var/lib/layman/brother-overlay
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

crossdev
    location: /usr/portages-other/crossdev
    masters: gentoo qt kde
    priority: 100

personal
    location: /usr/portages-other/my_portage
    masters: gentoo kde personal
    priority: 100

Installed sets: @kde-frameworks, @kde-plasma-5.21, @kde-release-service-20.12, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /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="-march=native -O3 -pipe"
DISTDIR="/usr/portage/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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch 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 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US pt_BR"
PKGDIR="/usr/portage/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="3dnow X Xaw3d a52 aac aalib accessibility acl acpi activities alsa amd64 apache2 asf ati atk audiofile avahi avi berkdb blas bluetooth branding btrfs bzip2 bzlib cairo cdda cddb cdr cgroup-hybrid chromecast cleartype cli corefontsusb cross crypt cscope ctype cups curl curlwrappers cxx dba dbus declarative desktopglobe dhcpcd divx divx4linux dmraid doc dot dri dri3 dts dvd dvdr dvdread egl emboss encode eselect-ldso ethereal exif fat ffmpeg flac fontconfig foomaticdb fortran g3dvl gd gdbm ggi gif git glamor gles gles1 gles2 glitz glut gmp go gpm graphviz gstreamer gtk gtk2 gtk3 gtkhtml gui guile h323 hal http2 iconv icq icu imagemagick imap imlib innodb ipv6 jabber jadetex java java5 jce joystick jpeg jpeg2k kde kdeprefix kipi kwallet lapack laptop latex lcms legacy-systray lesstif libcaca libg++ libglvnd libkms libnotify libtirpc libv4l libv4l2 lm-sensors logrotate lua lxc lzo mad matroska mcal mdadm mime mjpeg mmap mng modemmanager motif mp3 mp4 mpeg mplayer msn mtp multilib musicbrainz mysql ncurses networking networkmanager nftables nls no-seamonkey nptl nptlonly nsplugin ntfs ofx ogg oggvorbis okteta openal opengl openmp openssl opus pam pango pcre pdf pdfimport pdflib perl phonon php pic plasma plotutils png policykit postgres postproc ppds pulseaudio python qml qt5 qthelp quicktime rdesktop readline real rtc rtsp ruby samba scanner screencast sdl seccomp secure-delete semantic-desktop session shared sip sipim slp sna sndfile soap sockets speex spell split-usr sql sqlite srt ssl startup-notification static-ppds subversion svc svg systemd tcltk tcpd theora threads tiff tk truetype type1 udev udf udisks unicode upnp upower usb user-session v4l v4l2 vim-syntax vlc vnc vorbis vulkan wav wayland webkit widevine widgets win32codecs wlm wmp wxwidgets wxwindows x264 xattr xcb xcomposite xine xinerama xml xml2 xpm xscreensaver xsl xulrunner xv xvid xvmc zeroconf zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US pt-BR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="accent act220l alsa_usb asusdh atilibusb audio audio_alsa avermedia_vdomate awlibusb bte bw6130 caraca chronos commandir creative creative_infracd devinput digimatrix dsp dvico ea65 ene0100 exaudio ftdi hauppauge hauppauge_dvb smarttv_stereo i2cuser iguanaIR inputlirc irlink irman irreal it87 ite8709 knc_one leadtek_0010 leadtek_pvr2000 livedrive_midi livedrive_seq logitech macmini mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay pcmak pcmak_usb pctv pixelview_bt878 pixelview_pak provideo realmagic remote_wonder_plus remotemaster samsung sb0540 silitek slinke streamzap tira ttusbir tuxbox tvbox udp uirt2 uirt2_raw usb_uirt_raw usbx userspace xboxusball" LLVM_TARGETS="AArch64 ARM BPF MSP430 X86" 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" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm aarch64" QEMU_USER_TARGETS="arm armeb aarch64 i386 mips mipsel ppc ppc64 ppc64le ppc64abi32 x86_64" RUBY_TARGETS="ruby25 ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 PrSo 2021-03-09 14:46:33 UTC
I can confirm this.
I have the same situation on my rig.

kde-apps/akonadi-20.12.3:5::gentoo

dev-db/mysql-connector-c-8.0.23:0/21::gentoo
Comment 4 Andreas Sturmlechner gentoo-dev 2021-03-09 14:50:42 UTC
Not again.
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-11 14:01:47 UTC
I was able to reproduce.
Comment 6 Larry the Git Cow gentoo-dev 2021-03-11 18:25:26 UTC
The bug has been closed via the following commit(s):

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

commit d1a22fa531c41c3b0d5f8c99437ec52bc19c96ac
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-03-11 16:30:10 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-03-11 18:25:22 +0000

    dev-db/mysql-connector-c: disable debug options
    
    Previous version used now deprecated cmake-utils eclass
    which added -DNDEBUG to CPP flags. With new cmake eclass
    we have to do that on our own.
    
    Let us do it the same way we do it for dev-db/mysql, i.e. set
    CMAKE_BUILD_TYPE and corresponding CMAKE_CXX_FLAGS_RELWITHDEBINFO
    option.
    
    Closes: https://bugs.gentoo.org/775047
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 ...-connector-c-8.0.23.ebuild => mysql-connector-c-8.0.23-r1.ebuild} | 5 +++++
 1 file changed, 5 insertions(+)