FS#27709 - [clementine] fails to start, buildflag seem culprit.

Attached to Project: Community Packages
Opened by Stefan Wilkens (stefanwilkens) - Saturday, 24 December 2011, 21:22 GMT
Last edited by Stéphane Gaudreault (stephane) - Tuesday, 07 February 2012, 23:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Stéphane Gaudreault (stephane)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
clementine in [community] was built with -DSTATIC_SQLITE=0, currently this causes the application to fail first start (if no valid database is available in ~/.config/Clementine/). Drops to terminal: "Unable to update music library database"

removing this build flag and recompiling clementine solves the issue.

Additional info:
* clementine 0.7.1
* sqlite3 3.7.9

Steps to reproduce:
1. install clementine from [community]
2. attempt to start clementine

alternatively, if clementine was already installed:
1. remove ~/.config/Clementine/
2. attempt to start clementine
This task depends upon

Closed by  Stéphane Gaudreault (stephane)
Tuesday, 07 February 2012, 23:14 GMT
Reason for closing:  None
Additional comments about closing:  from Ingo ingo.gb@gmail.com
to stephane@archlinux.org
date Tue, Feb 7, 2012 at 9:17 AM
subject Clementine bug report

Hi,

I accidentally requested for bug  FS#27709  to be reopened. My mistake,
please ignore...

All the best,

toad
Comment by Stefan Wilkens (stefanwilkens) - Sunday, 25 December 2011, 10:23 GMT
developer comments that sqlite is built static for a good reason, doesn't mention why:
http://code.google.com/p/clementine-player/issues/detail?id=2507#c3

However, from CMakeList.txt:
# We compile our own qsqlite3 by default now, because in Qt 4.7 the symbols we
# need from it are private.
option(STATIC_SQLITE "Compile and use a static sqlite3 library" ON)
Comment by ingo (toad) - Tuesday, 07 February 2012, 23:13 GMT
Apparently not fixed... Tried git and rc from the AUR as well - all display the same error.

toad@deskarch 970\32 ~ > clementine
15:05:00.892 ERROR unknown Unable to update music library database
Aborted

toad@deskarch 970\33 ~ > pacman -Qi clementine
Name : clementine
Version : 1.0.1-1
URL : http://www.clementine-player.org/
Licences : GPL
Groups : None
Provides : None
Depends On : gstreamer0.10-base taglib glew liblastfm libgpod libmtp libplist hicolor-icon-theme qt libimobiledevice qjson libcdio protobuf qca
qca-ossl
Optional Deps : gstreamer0.10-base-plugins: for more open formats
gstreamer0.10-good-plugins: for use with "Good" plugin libraries
gstreamer0.10-bad-plugins: for use with "Bad" plugin libraries
gstreamer0.10-ugly-plugins: for use with "Ugly" plugin libraries
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 16932.00 KiB
Packager : Stéphane Gaudreault <stephane@archlinux.org>
Architecture : x86_64
Build Date : Tue 24 Jan 2012 02:40:56 CET
Install Date : Tue 07 Feb 2012 15:00:54 CET
Install Reason : Explicitly installed
Install Script : Yes
Description : A music player and library organizer

Loading...