Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519548 - dev-qt/qtsql:4 with dev-db/mysql-5.5.39 - QSqlDatabase: QMYSQL driver not loaded
Summary: dev-qt/qtsql:4 with dev-db/mysql-5.5.39 - QSqlDatabase: QMYSQL driver not loaded
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 520206 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-10 05:29 UTC by kavol
Modified: 2014-08-18 19:36 UTC (History)
2 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 kavol 2014-08-10 05:29:52 UTC
After recent MySQL update, kmail stopped working for me complaining that it cannot start Akonadi.
Trying to start akonadi server from commandline, I got a mesasage that qmysql driver was not loaded and some weird trace.
Trying to rebuild akonadi-server did _not_ help.
Rebuilding qtsql did help.

If mysql ebuild is able to trigger qtsql rebuild on upgrade, then it should be done, otherwise at least some news item should be released, IMHO. I don't remember this happenning in prior versions (now it was 5.1.70 => 5.5.39), so probably this isn't generally known issue.

Note that the same problem would be most probably also with mariadb ...

Reproducible: Always
Comment 1 Jouni Kosonen 2014-08-11 03:14:03 UTC
> Note that the same problem would be most probably also with mariadb ...

Just a datapoint here, then:
mariadb update 5.5.38-r1 -> 10.0.12 did not cause any such difficulties for akonadi-server 1-12.1-r1, even without a rebuild of qtsql-4.8.5 .

The 5.1.67 -> 5.5.30 update back in March 2013 might have, except from the logs it looks like a rebuild of qtsql-4.8.4 actually was triggered at the time.
Comment 2 Christopher Schwan 2014-08-11 10:46:55 UTC
dev-qt/qtsql caused a revdep-rebuild on my box. If someone decides mysql to be subslotted qtsql should properly depend on it.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-11 21:46:37 UTC
1) Please post your `emerge --info dev-qt/qtsql dev-db/mysql' output in a comment.
2) Please post the akonadi output including the "weird trace" in a comment.
Comment 4 kavol 2014-08-12 12:44:07 UTC
(In reply to Jeroen Roovers from comment #3)
> 1) Please post your `emerge --info dev-qt/qtsql dev-db/mysql' output in a
> comment.

this is from machine I've already fixed:

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.2
KiB Mem:     8177644 total,    814788 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Tue, 12 Aug 2014 11:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo kde sunrise printer-drivers
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.1 AdobeFlash-10.3 AdobeFlash-11.x dlj-1.1 googleearth"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/sunrise /var/lib/layman/printer-drivers"
USE="X a52 aac aacplus acpi aften alsa amd64 berkdb branding bzip2 cdda cdr cli consolekit cracklib crypt css cups cxx dbus declarative desktopglobe dga distinct-l dri dts dv dvd dvdr emboss encode exif fam farstream ffmpeg firefox flac fortran gdbm gif gimp gphoto2 gstreamer iconv ieee1394 jabber java jbig jingle jpeg jpeg2k kde kipi kvm lcms libnotify mad mms mmx mng modules mp3 mp4 mpeg mplayer multilib ncurses network-cron nls nptl nsplugin offensive ogg openexr opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline scanner scrobbler sdl semantic-desktop session sip smp speex spell sqlite sse sse2 sse4_1 ssl ssse3 startup-notification svg symlink tcpd theora threads tiff timidity truetype udev udisks unicode upower usb uvm v4l vaapi vdpau video vlc vnc vorbis vpx webgl webkit webkit2 wxwidgets x264 xcb xcomposite xml xmpp xscreensaver xv xvid zeroconf zip zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport" LINGUAS="cs cs_CZ en sk" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

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

dev-qt/qtsql-4.8.5 was built with the following:
USE="exceptions mysql (policykit) qt3support sqlite (-aqua) -debug (-firebird) -freetds -oci8 -odbc -pch -postgres" ABI_X86="64"


dev-db/mysql-5.5.39 was built with the following:
USE="community perl ssl -bindist -cluster -debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -static-libs -systemtap -tcmalloc -test" ABI_X86="64"
CFLAGS="-O2 -pipe -march=native -ggdb -fno-strict-aliasing"
CXXFLAGS="-O2 -pipe -march=native -ggdb -fno-strict-aliasing -felide-constructors -fno-implicit-templates -fno-exceptions -fno-rtti -fno-strict-aliasing"



another machine, qtsql still not rebuilt:

Portage 2.2.8-r1 (default/linux/amd64/13.0/no-multilib, gcc-4.7.3, glibc-2.19-r1, 3.12.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.2
KiB Mem:     8171724 total,   1289492 free
KiB Swap:    8388604 total,   8233988 free
Timestamp of tree: Tue, 12 Aug 2014 05:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x11 gamerlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.3 AdobeFlash-11.x NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/gamerlay"
USE="X a52 aac aacplus alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dbus dri dv encode exif farstream ffmpeg flac fortran gdbm gif iconv icu jabber java jingle jpeg jpeg2k kde kerberos kipi kvm lzma mad mikmod mmx mng modules mp3 mp4 mplayer ncurses network-cron nls nptl ogg opengl openmp pam pcre pdf pkcs11 png qt3support qt4 raw readline redeyes scrobbler sdl semantic-desktop session sip smp spell sqlite sse sse2 sse4_1 ssl ssse3 svg symlink theora tiff truetype unicode upnp usb uvm v4l vdpau video vorbis webgl webkit webkit2 webstart x264 xcomposite xine xmp xv xvid zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="cs cs_CZ" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

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

dev-qt/qtsql-4.8.5 was built with the following:
USE="exceptions mysql qt3support sqlite (-aqua) -debug (-firebird) -freetds -oci8 -odbc -pch -postgres"


dev-db/mysql-5.5.39 was built with the following:
USE="community perl ssl -bindist -cluster -debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -static-libs -systemtap -tcmalloc -test"
CFLAGS="-march=native -O2 -pipe -ggdb -fno-strict-aliasing"
CXXFLAGS="-march=native -O2 -pipe -ggdb -fno-strict-aliasing -felide-constructors -fno-implicit-templates -fno-exceptions -fno-rtti -fno-strict-aliasing"
Comment 5 kavol 2014-08-12 12:44:17 UTC
> 2) Please post the akonadi output including the "weird trace" in a comment.

I haven't saved the output from the first one, but the other one seems to reproduce quite nicely:

kavol@kavol ~ $ akonadictl start                       
kavol@kavol ~ $ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/games/bin", "/opt/cuda/bin", "/opt/cuda/libnvvp", "/home/kavol/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /var/tmp/portage/app-office/akonadi-server-1.11.0/work/akonadi-1.11.0/server/src/storage/dbconfigmysql.cpp, line 172
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x45de34]
1: akonadiserver() [0x45e251]
2: /lib64/libc.so.6(+0x38810) [0x7fe4168e5810]
3: /lib64/libc.so.6(gsignal+0x35) [0x7fe4168e5795]
4: /lib64/libc.so.6(abort+0x148) [0x7fe4168e6c18]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7fe4183b07d4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77958) [0x7fe4183b0958]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x94) [0x7fe4183b0ae4]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x10f8) [0x4d0dd8]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x460d97]
10: akonadiserver(_ZN7Akonadi13AkonadiServer4initEv+0x85) [0x462c25]
11: /usr/lib64/qt4/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x26e) [0x7fe4184d0afe]
12: /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e) [0x7fe4184b720e]
13: /usr/lib64/qt4/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x361) [0x7fe4184ba821]
14: /usr/lib64/qt4/libQtCore.so.4(+0x1ac50e) [0x7fe4184e550e]
15: /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x244) [0x7fe4163a8664]
16: /usr/lib64/libglib-2.0.so.0(+0x4c898) [0x7fe4163a8898]
17: /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x34) [0x7fe4163a8954]
18: /usr/lib64/qt4/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x7e) [0x7fe4184e56ae]
19: /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7fe4184b5ebf]
20: /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x138) [0x7fe4184b6148]
21: /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x88) [0x7fe4184bb388]
22: akonadiserver(main+0x1b3) [0x458ba3]
23: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fe4168d1db5]
24: akonadiserver() [0x459221]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/games/bin", "/opt/cuda/bin", "/opt/cuda/libnvvp", "/home/kavol/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /var/tmp/portage/app-office/akonadi-server-1.11.0/work/akonadi-1.11.0/server/src/storage/dbconfigmysql.cpp, line 172
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x45de34]
1: akonadiserver() [0x45e251]
2: /lib64/libc.so.6(+0x38810) [0x7f9180586810]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f9180586795]
4: /lib64/libc.so.6(abort+0x148) [0x7f9180587c18]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f91820517d4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77958) [0x7f9182051958]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x94) [0x7f9182051ae4]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x10f8) [0x4d0dd8]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x460d97]
10: akonadiserver(_ZN7Akonadi13AkonadiServer4initEv+0x85) [0x462c25]
11: /usr/lib64/qt4/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x26e) [0x7f9182171afe]
12: /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e) [0x7f918215820e]
13: /usr/lib64/qt4/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x361) [0x7f918215b821]
14: /usr/lib64/qt4/libQtCore.so.4(+0x1ac50e) [0x7f918218650e]
15: /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x244) [0x7f9180049664]
16: /usr/lib64/libglib-2.0.so.0(+0x4c898) [0x7f9180049898]
17: /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x34) [0x7f9180049954]
18: /usr/lib64/qt4/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x7e) [0x7f91821866ae]
19: /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7f9182156ebf]
20: /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x138) [0x7f9182157148]
21: /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x88) [0x7f918215c388]
22: akonadiserver(main+0x1b3) [0x458ba3]
23: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f9180572db5]
24: akonadiserver() [0x459221]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/games/bin", "/opt/cuda/bin", "/opt/cuda/libnvvp", "/home/kavol/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /var/tmp/portage/app-office/akonadi-server-1.11.0/work/akonadi-1.11.0/server/src/storage/dbconfigmysql.cpp, line 172
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x45de34]
1: akonadiserver() [0x45e251]
2: /lib64/libc.so.6(+0x38810) [0x7ffbc814a810]
3: /lib64/libc.so.6(gsignal+0x35) [0x7ffbc814a795]
4: /lib64/libc.so.6(abort+0x148) [0x7ffbc814bc18]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7ffbc9c157d4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77958) [0x7ffbc9c15958]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x94) [0x7ffbc9c15ae4]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x10f8) [0x4d0dd8]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x460d97]
10: akonadiserver(_ZN7Akonadi13AkonadiServer4initEv+0x85) [0x462c25]
11: /usr/lib64/qt4/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x26e) [0x7ffbc9d35afe]
12: /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e) [0x7ffbc9d1c20e]
13: /usr/lib64/qt4/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x361) [0x7ffbc9d1f821]
14: /usr/lib64/qt4/libQtCore.so.4(+0x1ac50e) [0x7ffbc9d4a50e]
15: /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x244) [0x7ffbc7c0d664]
16: /usr/lib64/libglib-2.0.so.0(+0x4c898) [0x7ffbc7c0d898]
17: /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x34) [0x7ffbc7c0d954]
18: /usr/lib64/qt4/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x7e) [0x7ffbc9d4a6ae]
19: /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7ffbc9d1aebf]
20: /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x138) [0x7ffbc9d1b148]
21: /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x88) [0x7ffbc9d20388]
22: akonadiserver(main+0x1b3) [0x458ba3]
23: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7ffbc8136db5]
24: akonadiserver() [0x459221]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/games/bin", "/opt/cuda/bin", "/opt/cuda/libnvvp", "/home/kavol/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /var/tmp/portage/app-office/akonadi-server-1.11.0/work/akonadi-1.11.0/server/src/storage/dbconfigmysql.cpp, line 172
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x45de34]
1: akonadiserver() [0x45e251]
2: /lib64/libc.so.6(+0x38810) [0x7fca3d625810]
3: /lib64/libc.so.6(gsignal+0x35) [0x7fca3d625795]
4: /lib64/libc.so.6(abort+0x148) [0x7fca3d626c18]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7fca3f0f07d4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77958) [0x7fca3f0f0958]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x94) [0x7fca3f0f0ae4]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x10f8) [0x4d0dd8]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x460d97]
10: akonadiserver(_ZN7Akonadi13AkonadiServer4initEv+0x85) [0x462c25]
11: /usr/lib64/qt4/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x26e) [0x7fca3f210afe]
12: /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e) [0x7fca3f1f720e]
13: /usr/lib64/qt4/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x361) [0x7fca3f1fa821]
14: /usr/lib64/qt4/libQtCore.so.4(+0x1ac50e) [0x7fca3f22550e]
15: /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x244) [0x7fca3d0e8664]
16: /usr/lib64/libglib-2.0.so.0(+0x4c898) [0x7fca3d0e8898]
17: /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x34) [0x7fca3d0e8954]
18: /usr/lib64/qt4/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x7e) [0x7fca3f2256ae]
19: /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7fca3f1f5ebf]
20: /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x138) [0x7fca3f1f6148]
21: /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x88) [0x7fca3f1fb388]
22: akonadiserver(main+0x1b3) [0x458ba3]
23: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fca3d611db5]
24: akonadiserver() [0x459221]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted! 






... now I'm going to fix it too, as I need kmail working :-)
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2014-08-14 09:57:27 UTC
Nothing we can do until virtual/mysql and its providers gain a subslot we can depend on using :=

@mysql: are you interested/is it feasible to add a subslot to mysql/mariadb?
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2014-08-14 11:01:48 UTC
IIRC, there was as an so bump from 5.1 to 5.5, so emerge @preserved-rebuild should have caused the rebuild.
I'll let Robin and Brian comment about the use of sub-slots, but I tend to see them as causing more issues than fixing.
Comment 8 Brian Evans (RETIRED) gentoo-dev 2014-08-14 12:42:02 UTC
A subslot could be applied to the virtual.

I don't think hardly any ebuilds use virtual/mysql:= or similar. I count 2 packages at this time in a quick search. So even in this case, it would not have done much to prevent it.

I could revbump the virtuals with subslots: 5.5 and 5.6 to 0/0.18.  But again, this would have little effect until the next soversion.
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2014-08-14 13:08:24 UTC
(In reply to Brian Evans from comment #8)
> I could revbump the virtuals with subslots: 5.5 and 5.6 to 0/0.18.  But
> again, this would have little effect until the next soversion.

Yes, it's too late for this bump, but the subslot can prevent this issue from happening again at next ABI break.

In any case, if you think it isn't worthwhile, I'm fine with closing as WONT/CANTFIX.
Comment 10 Brian Evans (RETIRED) gentoo-dev 2014-08-14 14:30:39 UTC
Added a subslot to virtual/mysql-5.6-r1 .
There is no soversion change between 5.5 and 5.6 so packages will have time to ease into it.
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2014-08-14 23:28:30 UTC
Thanks.
I've added the slot operators to qtsql-4.8.6 and later (in overlay).
Comment 12 Johannes Huber (RETIRED) gentoo-dev 2014-08-18 19:36:32 UTC
*** Bug 520206 has been marked as a duplicate of this bug. ***