LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-31-2017, 04:34 AM   #16
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 3,587
Blog Entries: 1

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942

Yesterday's updates,

Quote:
Wed Aug 30 22:34:34 UTC 2017
a/e2fsprogs-1.43.6-x86_64-1.txz: Upgraded.
ap/sqlite-3.20.1-x86_64-1.txz: Upgraded.
d/perl-5.24.0-x86_64-2.txz: Rebuilt.
Recompiled against mariadb-10.2.8.
Upgraded to DBD-mysql-4.043, DBI-1.637, URI-1.72, and XML-Simple-2.24.
kde/amarok-2.8.0-x86_64-4.txz: Rebuilt.
Recompiled against mariadb-10.2.8.
kde/calligra-2.9.11-x86_64-14.txz: Rebuilt.
Recompiled against mariadb-10.2.8.
l/qt-4.8.7-x86_64-7.txz: Rebuilt.
Recompiled against mariadb-10.2.8.
l/redland-1.0.17-x86_64-2.txz: Rebuilt.
Recompiled against mariadb-10.2.8.
n/ulogd-2.0.5-x86_64-2.txz: Rebuilt.
Recompiled against mariadb-10.2.8.
+--------------------------+
 
Old 08-31-2017, 04:42 AM   #17
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,850

Rep: Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901
yep, Pat (thanks!) also fixed linuxdoc-tools (most probably through the perl updates) so that sgml2html generates the html docs correctly.

EDIT: ah, I just saw the ulogd.SlackBuild: he moved away the "set -e" instead

Last edited by ponce; 08-31-2017 at 05:23 AM. Reason: correction
 
Old 08-31-2017, 04:44 AM   #18
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,008

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Quote:
Originally Posted by cwizardone View Post
Yesterday's updates,
Yes, but these changes doesn't solve the akonadi problem.
 
Old 08-31-2017, 09:45 AM   #19
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 1,287

Rep: Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522
Code:
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/local/sbin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/bin", "/bin", "/usr/games", "/usr/lib64/kde4/libexec", "/usr/lib64/qt/bin", "/usr/share/texmf/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
Found mysql_install_db:  "/usr/bin/mysql_install_db" 
Found mysqlcheck:  "/usr/bin/mysqlcheck" 
MySQL version OK (required "5.1" , available "10.2" ) 
Database error: Cannot open database.
Last driver error: "QMYSQL: Unable to connect"
Last database error: "Plugin pvio_socket could not be loaded: not initialized"
QSqlQuery::exec: database not open
Unable to open database "Plugin pvio_socket could not be loaded: not initialized QMYSQL: Unable to connect"
"[
0: akonadiserver(_Z11akBacktracev+0x39) [0x46ada9]
1: akonadiserver() [0x46b080]
2: /lib64/libc.so.6(+0x36d10) [0x7fa220d72d10]
3: /lib64/libc.so.6(gsignal+0x9f) [0x7fa220d72c9f]
4: /lib64/libc.so.6(abort+0x1a7) [0x7fa220d74717]
5: /usr/lib64/qt/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x70) [0x7fa222997d90]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa0) [0x46d710]
7: /usr/lib64/qt/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x159) [0x7fa222a33459]
8: /usr/lib64/qt/lib/libQtCore.so.4(+0x129360) [0x7fa222a40360]
9: /usr/lib64/qt/lib/libQtCore.so.4(_ZN11QTextStreamD2Ev+0x31) [0x7fa222a48e31]
10: akonadiserver(_ZN7Akonadi6Server13AkonadiServer4initEv+0x526) [0x4715e6]
11: akonadiserver() [0x5553d9]
12: /usr/lib64/qt/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x1b1) [0x7fa222abde61]
13: /usr/lib64/qt/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x6e) [0x7fa222aa4ffe]
14: /usr/lib64/qt/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2e2) [0x7fa222aa7e92]
15: /usr/lib64/qt/lib/libQtCore.so.4(+0x1bc16e) [0x7fa222ad316e]
16: /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x2c7) [0x7fa2202381a7]
17: /usr/lib64/libglib-2.0.so.0(+0x493b8) [0x7fa2202383b8]
18: /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fa22023843c]
19: /usr/lib64/qt/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x76) [0x7fa222ad32d6]
20: /usr/lib64/qt/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x34) [0x7fa222aa36e4]
21: /usr/lib64/qt/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x196) [0x7fa222aa39f6]
22: /usr/lib64/qt/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x8c) [0x7fa222aa908c]
23: akonadiserver(main+0x200) [0x463e00]
24: /lib64/libc.so.6(__libc_start_main+0xea) [0x7fa220d5d02a]
25: akonadiserver(_start+0x2a) [0x46468a]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted!
This, on the latest slackware(64)-current, with a clean installation. And yes, it worked fine with previous MySQL package.

To note this pvio_socket plugin tried to be loaded. The fun is that this one is specific to Windows environment, from what I understand...

Last edited by Darth Vader; 08-31-2017 at 10:18 AM.
 
1 members found this post helpful.
Old 08-31-2017, 01:34 PM   #20
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,262

Rep: Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517
Quote:
Originally Posted by gmgf View Post
Yes, but these changes doesn't solve the akonadi problem.
Yes, I know, but at least things are otherwise a little better than without the recompiles. When I moved things to use mariadb 10.2.x I hadn't fully grasped the extent to which the API has become incompatible... and frankly, I still haven't. I'll be looking into what can be done to get things working again (help appreciated, of course). Otherwise reverting back to the older mariadb branch and related packages is still an option, as is dumping the incompatible KDE4 packages and just moving ahead to plasma if things work better there. I'd rather not step onto that treadmill just yet though. IMHO there's still some life left in KDE4.

My apologies for the blunder in first not noticing the library soname bumps and renames and breaking things that linked to the old names, and then for not realizing that it wasn't going to be as simple as just recompiling against the new ones. We'll get to the bottom of this though.
 
11 members found this post helpful.
Old 08-31-2017, 01:54 PM   #21
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,008

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Quote:
Originally Posted by volkerdi View Post
Yes, I know, but at least things are otherwise a little better than without the recompiles. When I moved things to use mariadb 10.2.x I hadn't fully grasped the extent to which the API has become incompatible... and frankly, I still haven't. I'll be looking into what can be done to get things working again (help appreciated, of course). Otherwise reverting back to the older mariadb branch and related packages is still an option, as is dumping the incompatible KDE4 packages and just moving ahead to plasma if things work better there. I'd rather not step onto that treadmill just yet though. IMHO there's still some life left in KDE4.

My apologies for the blunder in first not noticing the library soname bumps and renames and breaking things that linked to the old names, and then for not realizing that it wasn't going to be as simple as just recompiling against the new ones. We'll get to the bottom of this though.
No problem Pat, thanks for your answer, another solution, it seem the mariadb 10.1 Series do not have this problem

this version is used by many other distro but.....
 
Old 08-31-2017, 02:31 PM   #22
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 1,287

Rep: Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522
Just to note that looks like even Plasma 5 has problems and struggle with the MariaDB 10.2.x ...

And looks like those nutty scientists who develop MariaDB have a very personal take on the software versioning.

Because that goddamned 10.2.x looks like a freaking ELEVEN all the way! And I think is better us to take it as it is, for real: MariaDB 11.x

BTW, maybe that pvio_socket plugin issue could be a path to follow for fixing the things, at least on KDE4.

PS. Looks like there are others who hit on this pvio_socket issue too: https://forums.gentoo.org/viewtopic-p-8102400.html and https://bugs.gentoo.org/show_bug.cgi?id=626464

PS2. Also a bug report there: https://bugs.kde.org/show_bug.cgi?id=383991 and it is taken as UNCONFIRMED.

Last edited by Darth Vader; 08-31-2017 at 03:07 PM.
 
1 members found this post helpful.
Old 08-31-2017, 04:12 PM   #23
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,262

Rep: Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517Reputation: 3517
Quote:
Originally Posted by Darth Vader View Post
Because that goddamned 10.2.x looks like a freaking ELEVEN all the way! And I think is better us to take it as it is, for real: MariaDB 11.x
I'm with you on that assessment, Darth.
 
Old 08-31-2017, 05:29 PM   #24
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 468

Rep: Reputation: 69
Quote:
Originally Posted by Darth Vader View Post
...BTW, maybe that pvio_socket plugin issue could be a path to follow for fixing the things, at least on KDE4.

https://bugs.gentoo.org/show_bug.cgi?id=626464
Nice find Darth! The quoted link I left above from your post had a patch for akonadi. Specifics listed in #3 below. I now have a fully updated slackware64-current running a recompiled akonadi package.

#1 - I deleted my Akonadi database directory which (may or may not need this step):
Code:
rm ~/.local/share/akonadi/db-data
#2 - modified the /usr/share/config/akonadi/mysql-global.conf to remove a deprecated MariaDB command.
Code:
# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M)
# Deprecated in MySQL >= 5.6.3
#innodb_additional_mem_pool_size=1M
#3 - Rebuild the akonadi package in /tmp after applying the change listed below. (Thanks Darth!)
Code:
/tmp/akonadi-1.13.0/server/src/storage/dbconfigmysql.cpp
Code:
         }
     }

-    QSqlDatabase::removeDatabase(initCon);
+    //QSqlDatabase::removeDatabase(initCon);
     return success;
 }
Restarted Akonadi using the System Settings / Personal Information icon in KDE4.

Shazam! Akonadi is working in slackware64-current fully updated to Wed Aug 30 22:34:34 UTC 2017 (plus the recompiled akonadi package)!

Last edited by Chuck56; 08-31-2017 at 05:31 PM.
 
Old 08-31-2017, 07:46 PM   #25
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 3,587
Blog Entries: 1

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by gmgf View Post
Yes, but these changes doesn't solve the akonadi problem.

Here you go,

Quote:
Thu Aug 31 21:14:43 UTC 2017
l/akonadi-1.13.0-x86_64-5.txz: Rebuilt.
Merged an upstream patch and global config change to allow akonadi to work
properly with mariadb-10.2.8. Thanks to Heinz Wiesinger.
l/glib2-2.52.3-x86_64-2.txz: Rebuilt.
Fixed a race condition bug when using /etc/mtab. Thanks to ChrisVV.
 
Old 08-31-2017, 07:54 PM   #26
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cwizardone View Post
Here you go
People in -current with KDE4 should be happy now!

For the ones with KDE5, let's wait for AlienBOB's annoucement.
 
1 members found this post helpful.
Old 09-01-2017, 02:58 AM   #27
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,008

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Quote:
Originally Posted by denydias View Post
People in -current with KDE4 should be happy now!

For the ones with KDE5, let's wait for AlienBOB's annoucement.
I have posted the solution (for akonadi plasma5) on Eric blog yesterday, But he is overworked in this moment...
 
1 members found this post helpful.
Old 09-01-2017, 03:08 AM   #28
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gmgf View Post
I have posted the solution (for akonadi plasma5) on Eric blog yesterday, But he is overworked in this moment...
Yeah, I have read your post there. Thanks for let him now and to provide a patch. Let's give the guy the time he needs.

Right now we have two workarounds:
  1. Users who DON'T upgraded MariaDB: pin some packages (see bellow).
  2. Users who upgraded MariaDB: downgrade MariaDB, rebuild Akonadi's db and pin some packages.
Until a fix for AlienBOB's KDE5 hit the wild, packages in the black/grey list for the moment are:

Code:
mariadb
jemalloc
perl
amarok
calligra
qt
redland
ulogd

Last edited by denydias; 09-01-2017 at 03:15 AM.
 
Old 09-12-2017, 12:34 AM   #29
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 69

Original Poster
Rep: Reputation: Disabled
Yesterday Eric (aka AlienBOB) released new KDE 5_17.09 packages.

After removing ~/.local/share/akonadi and try to 'akonadictl start', CLI says:

Code:
$ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Installing MariaDB/MySQL system tables in '~/.local/share/akonadi/db_data/' ...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:

'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h minsky password 'new-password'

Alternatively you can run:
'/usr/bin/mysql_secure_installation'

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.

You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='~/.local/share/akonadi/db_data/'

You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl

Please report any problems at http://mariadb.org/jira

The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

/usr/bin/mysqlcheck: Got error: 1049: Unknown database 'akonadi' when selecting the database
org.kde.pim.akonadiserver: Database error: Cannot open database.
org.kde.pim.akonadiserver:   Last driver error: "QMYSQL: Unable to connect"
org.kde.pim.akonadiserver:   Last database error: "Plugin pvio_socket could not be loaded: not initialized"
QSqlQuery::exec: database not open
org.kde.pim.akonadiserver: Database error: Cannot open database.
org.kde.pim.akonadiserver:   Last driver error: "QMYSQL: Unable to connect"
org.kde.pim.akonadiserver:   Last database error: "Plugin pvio_socket could not be loaded: not initialized"
QSqlQuery::exec: database not open
org.kde.pim.akonadiserver: Unable to open database "Plugin pvio_socket could not be loaded: not initialized QMYSQL: Unable to connect"
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...
It looks like it came without the patch pointed out by @gmgf to fix the issue.

The ones relying on KDE 5 in -current are still in mud waters with MariaDB 10.2.8.

PS: I've already warned Eric about the issue on the release post.

Last edited by denydias; 09-12-2017 at 01:12 AM.
 
Old 09-12-2017, 04:44 PM   #30
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by denydias View Post
PS: I've already warned Eric about the issue on the release post.
Eric have replied to mine and others comments regarding this issue. The underlying issue is Qt related, not Akonadi itself. There is no solution yet. So we have to wait further.
 
  


Reply

Tags
akonadi, current, mysql


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Akonadi in Debian 8 platypo Linux - Software 9 11-13-2016 09:25 PM
[SOLVED] current, akonadi, mariadb, mysql and kmail pchristy Slackware 4 03-17-2016 07:43 AM
Akonadi GlennsPref Mandriva 7 03-04-2011 05:56 AM
Akonadi x42bn6 Linux - Newbie 5 12-11-2009 07:07 AM
Has Anyone Gotten Akonadi to Work? tronayne Slackware 13 10-23-2009 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration