Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ SOLVED ] Amarok Collection fails - Database issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
the.root
Apprentice
Apprentice


Joined: 29 Apr 2007
Posts: 210
Location: -84.706059324915, -62.4843750666430

PostPosted: Mon Nov 02, 2009 4:26 am    Post subject: [ SOLVED ] Amarok Collection fails - Database issues Reply with quote

This is a new build. I cannot get Amarok to scan and build a collection for the life of me. I'm trying to use the built in sqlite and i keep getting the error messages:
Code:
[ERROR!] GREPME MySQLe query failed! No database selected  on


I've tried using an external mysql database, building it correctly and setting up per the documentation. I can get it to build a collection of artists and albums, but it will not populate any of the tracks, I cant expand any of the album trees to see any tracks nor add an album to the playlist.

I've searched for a while, tried compiling wit the -fPIC flag or the --as-needed ldflags, neither helped.

I've recompiled mysql with and without community embedded minimal, none resolved. Tried using mysql-community instead, didnt help. recompiled sqlite, didnt help. Tried downgrading to amarok 2.1.1, didn't help.. I've removed ~/.kde/share/apps/amarok, and all other amarok files left on my drive. nothing..

Any advice would be great!

Code:
emerge --info mysql sqlite amarok                                                                                                                             
Portage 2.1.7.3 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r0, 2.6.31-gentoo-r3 x86_64)                                                                           
=================================================================                                                                                                                 
                        System Settings                                                                                                                                           
=================================================================                                                                                                                 
System uname: Linux-2.6.31-gentoo-r3-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.1                                                                                 
Timestamp of tree: Sun, 01 Nov 2009 18:30:21 +0000                                                                                                                               
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                                                                                         
ccache version 2.4 [disabled]                                                                                                                                                     
app-shells/bash:     4.0_p35                                                                                                                                                     
dev-java/java-config: 2.1.9-r1                                                                                                                                                   
dev-lang/python:     2.6.4, 3.1.1-r1                                                                                                                                             
dev-util/ccache:     2.4-r8                                                                                                                                                       
dev-util/cmake:      2.6.4-r3                                                                                                                                                     
sys-apps/baselayout: 2.0.1                                                                                                                                                       
sys-apps/openrc:     0.5.2-r1                                                                                                                                                     
sys-apps/sandbox:    2.2                                                                                                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                                                                                                               
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                                                                                                             
sys-devel/binutils:  2.20                                                                                                                                                         
sys-devel/gcc-config: 1.4.1                                                                                                                                                       
sys-devel/libtool:   2.2.6a                                                                                                                                                       
virtual/os-headers:  2.6.30-r1                                                                                                                                                   
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                     
CFLAGS="-march=amdfam10 -O2 -pipe -msse3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://osmirrors.cerias.purdue.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 arts berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups custom-cflags custom-cxxflags custom-optimization custom-optimizations dbus dri dts dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fng fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv jpeg kde kdehiddenvisibility ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pertty png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd thread threads thunar tiff truetype type1 unicode usb visualizations vorbis x264 xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

dev-db/mysql-5.0.84-r1 was built with the following:
USE="berkdb community embedded (multilib) perl ssl -big-tables -cluster -debug -extraengine -latin1 -max-idx-128 -minimal -profiling (-selinux) -static"
CFLAGS="-march=amdfam10 -O2 -pipe -msse3 -fomit-frame-pointer -DPIC -fPIC -DPIC -fPIC -DPIC -fPIC -DPIC -fPIC -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DPIC -fPIC -DPIC -fPIC -DPIC -fPIC"
CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3 -fomit-frame-pointer -DPIC -fPIC -DPIC -fPIC -DPIC -fPIC -DPIC -fPIC -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-strict-aliasing -DPIC -fPIC -DPIC -fPIC -DPIC -fPIC"


dev-db/sqlite-3.6.19 was built with the following:
USE="(multilib) readline threadsafe -debug -doc -icu -soundex -tcl"


media-sound/amarok-2.1.1 was built with the following:
USE="cdda ipod mp3tunes mtp (multilib) opengl semantic-desktop (-aqua) -daap -debug" LINGUAS="-bg -ca -cs -da -de -el -en_GB -es -et -eu -fr -gl -he -is -it -ja -km -ku -lt -lv -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -sl -sv -th -tr -uk -wa -zh_CN -zh_TW"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"



amarok --debug
http://pastebin.com/m5aff37dc

another debug (with some rescanning of an album, more errors)
http://pastebin.com/m6d0f816a


Thanks!!
_________________
Ps = (1.5 x 6 x .75) / {(4/3) (pi) [(31.039 x 10^15) (46.5 x 10^9)]^3}
Seems like a waste..


Last edited by the.root on Tue Nov 03, 2009 1:54 am; edited 1 time in total
Back to top
View user's profile Send private message
the.root
Apprentice
Apprentice


Joined: 29 Apr 2007
Posts: 210
Location: -84.706059324915, -62.4843750666430

PostPosted: Tue Nov 03, 2009 1:53 am    Post subject: Reply with quote

I downgraded mysql to 5.0.83, recompiled all dependencies of mysql and amarok, and then was able to get amarok-2.2.0 to use the external mysql DB. couldnt get it to use the embedded one still though (still got the same error messages), but oh well. I guess amarok is just having problems with the newer mysql's

Thanks..
_________________
Ps = (1.5 x 6 x .75) / {(4/3) (pi) [(31.039 x 10^15) (46.5 x 10^9)]^3}
Seems like a waste..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum