Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249327 - app-office/akonadi-server-4.1.3 requires mysql
Summary: app-office/akonadi-server-4.1.3 requires mysql
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-29 23:59 UTC by Daniel Franke
Modified: 2009-02-22 20:23 UTC (History)
1 user (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 Daniel Franke 2008-11-29 23:59:18 UTC
akonadi-server has the mysql use-flag. I disabled mysql globally in my make.conf.

However, there is no point disabling the mysql-backend as there is no other. This FAQ describes the situation (section 5):
    http://techbase.kde.org/Projects/PIM/Akonadi#Akonadi_FAQ

Further, if one tries to run the akonadi-service without mysql, it crashes heavily (see below). To fix this, I'd suggest to force the mysql usage on akonadi-server.

$> akonadictl start                                
Starting Akonadi Server...                                         
   done.                                                           

[akonadiserver] ASSERT failure in AkonadiServer::startDatabaseProcess(): "mysqld was not found during compile time, you need to start a MySQL server yourself first and configure Akonadi accordingly", file /var/tmp/portage/app-office/akonadi-server-1.0.0/work/akonadi-1.0.0/server/src/akonadi.cpp, line 209                                                                                             
[                                                                                                                                          
0: akonadiserver(_Z10kBacktracev+0x36) [0x80497d6]                                                                                         
1: akonadiserver [0x8049bda]                                                                                                               
2: [0xb7fad400]                                                                                                                            
3: [0xb7fad424]                                                                                                                            
4: /lib/libc.so.6(gsignal+0x50) [0xb77efc20]                                                                                               
5: /lib/libc.so.6(abort+0x188) [0xb77f1478]                                                                                                
6: /usr/lib/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8d) [0xb7b01fbd]                                                       
7: /usr/lib/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x56) [0xb7b02086]                                                                            
8: /usr/lib/qt4/libQtCore.so.4(_Z11qt_assert_xPKcS0_S0_i+0x3c) [0xb7b020cc]                                                                
9: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x54) [0xb7ec2f34]                                   
10: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x20d) [0xb7ec5f3d]                                             
11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x53) [0xb7ec6d63]                                               
12: akonadiserver(main+0x42) [0x8049402]                                                                                                   
13: /lib/libc.so.6(__libc_start_main+0xe5) [0xb77dc005]                                                                                    
14: akonadiserver(__gxx_personality_v0+0xad) [0x8049301]                                                                                   
]                                                                                                                                          
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)                                                    
[akonadiserver] ASSERT failure in AkonadiServer::startDatabaseProcess(): "mysqld was not found during compile time, you need to start a MySQL server yourself first and configure Akonadi accordingly", file /var/tmp/portage/app-office/akonadi-server-1.0.0/work/akonadi-1.0.0/server/src/akonadi.cpp, line 209                                                                                                                
[                                                                                                                                          
0: akonadiserver(_Z10kBacktracev+0x36) [0x80497d6]                                                                                         
1: akonadiserver [0x8049bda]                                                                                                               
2: [0xb800a400]                                                                                                                            
3: [0xb800a424]                                                                                                                            
4: /lib/libc.so.6(gsignal+0x50) [0xb784cc20]                                                                                               
5: /lib/libc.so.6(abort+0x188) [0xb784e478]                                                                                                
6: /usr/lib/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8d) [0xb7b5efbd]                                                       
7: /usr/lib/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x56) [0xb7b5f086]                                                                            
8: /usr/lib/qt4/libQtCore.so.4(_Z11qt_assert_xPKcS0_S0_i+0x3c) [0xb7b5f0cc]                                                                
9: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x54) [0xb7f1ff34]                                   
10: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x20d) [0xb7f22f3d]                                             
11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x53) [0xb7f23d63]                                               
12: akonadiserver(main+0x42) [0x8049402]                                                                                                   
13: /lib/libc.so.6(__libc_start_main+0xe5) [0xb7839005]                                                                                    
14: akonadiserver(__gxx_personality_v0+0xad) [0x8049301]                                                                                   
]                                                                                                                                          
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)                                                    
[akonadiserver] ASSERT failure in AkonadiServer::startDatabaseProcess(): "mysqld was not found during compile time, you need to start a MySQL server yourself first and configure Akonadi accordingly", file /var/tmp/portage/app-office/akonadi-server-1.0.0/work/akonadi-1.0.0/server/src/akonadi.cpp, line 209                                                                                                                
[                                                                                                                                          
0: akonadiserver(_Z10kBacktracev+0x36) [0x80497d6]                                                                                         
1: akonadiserver [0x8049bda]                                                                                                               
2: [0xb7f7f400]                                                                                                                            
3: [0xb7f7f424]                                                                                                                            
4: /lib/libc.so.6(gsignal+0x50) [0xb77c1c20]                                                                                               
5: /lib/libc.so.6(abort+0x188) [0xb77c3478]                                                                                                
6: /usr/lib/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8d) [0xb7ad3fbd]                                                       
7: /usr/lib/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x56) [0xb7ad4086]                                                                            
8: /usr/lib/qt4/libQtCore.so.4(_Z11qt_assert_xPKcS0_S0_i+0x3c) [0xb7ad40cc]                                                                
9: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x54) [0xb7e94f34]                                   
10: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x20d) [0xb7e97f3d]                                             
11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x53) [0xb7e98d63]                                               
12: akonadiserver(main+0x42) [0x8049402]                                                                                                   
13: /lib/libc.so.6(__libc_start_main+0xe5) [0xb77ae005]                                                                                    
14: akonadiserver(__gxx_personality_v0+0xad) [0x8049301]
]
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
[akonadiserver] ASSERT failure in AkonadiServer::startDatabaseProcess(): "mysqld was not found during compile time, you need to start a MySQL server yourself first and configure Akonadi accordingly", file /var/tmp/portage/app-office/akonadi-server-1.0.0/work/akonadi-1.0.0/server/src/akonadi.cpp, line 209
[
0: akonadiserver(_Z10kBacktracev+0x36) [0x80497d6]
1: akonadiserver [0x8049bda]
2: [0xb7ff4400]
3: [0xb7ff4424]
4: /lib/libc.so.6(gsignal+0x50) [0xb7836c20]
5: /lib/libc.so.6(abort+0x188) [0xb7838478]
6: /usr/lib/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8d) [0xb7b48fbd]
7: /usr/lib/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x56) [0xb7b49086]
8: /usr/lib/qt4/libQtCore.so.4(_Z11qt_assert_xPKcS0_S0_i+0x3c) [0xb7b490cc]
9: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x54) [0xb7f09f34]
10: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x20d) [0xb7f0cf3d]
11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x53) [0xb7f0dd63]
12: akonadiserver(main+0x42) [0x8049402]
13: /lib/libc.so.6(__libc_start_main+0xe5) [0xb7823005]
14: akonadiserver(__gxx_personality_v0+0xad) [0x8049301]
]
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
[akonadiserver] ASSERT failure in AkonadiServer::startDatabaseProcess(): "mysqld was not found during compile time, you need to start a MySQL server yourself first and configure Akonadi accordingly", file /var/tmp/portage/app-office/akonadi-server-1.0.0/work/akonadi-1.0.0/server/src/akonadi.cpp, line 209
[
0: akonadiserver(_Z10kBacktracev+0x36) [0x80497d6]
1: akonadiserver [0x8049bda]
2: [0xb8034400]
3: [0xb8034424]
4: /lib/libc.so.6(gsignal+0x50) [0xb7876c20]
5: /lib/libc.so.6(abort+0x188) [0xb7878478]
6: /usr/lib/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8d) [0xb7b88fbd]
7: /usr/lib/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x56) [0xb7b89086]
8: /usr/lib/qt4/libQtCore.so.4(_Z11qt_assert_xPKcS0_S0_i+0x3c) [0xb7b890cc]
9: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x54) [0xb7f49f34]
10: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x20d) [0xb7f4cf3d]
11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x53) [0xb7f4dd63]
12: akonadiserver(main+0x42) [0x8049402]
13: /lib/libc.so.6(__libc_start_main+0xe5) [0xb7863005]
14: akonadiserver(__gxx_personality_v0+0xad) [0x8049301]
]
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted!

Reproducible: Always
Comment 1 Daniel Franke 2008-11-30 00:38:08 UTC
While at it, also require USE=mysql for x11-libs/qt-sql ...
Comment 2 Wormo (RETIRED) gentoo-dev 2008-11-30 07:48:45 UTC
Thanks for the report. Sounds like mysql should be a hard dependency until at least one of those other databases is supported. Assigning to maintainers.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-22 20:23:51 UTC
akonadi has by default +mysql and kde requires the akonadi-server with mysql enabled by default. so there is really nothing much to fix.