Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Amarok can't create music collection
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
darkscreamer
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2006
Posts: 134
Location: The Pirate State of Napoli

PostPosted: Sun May 23, 2010 7:51 pm    Post subject: Amarok can't create music collection Reply with quote

First of all portage complains about amarok blocking the latest version of mysql:

Code:
[ebuild     U ] dev-db/mysql-5.1.46 [5.0.90-r2] USE="community embedded perl ssl -big-tables -cluster -debug -extraengine -latin1 -max-idx-128 -minimal -pbxt% -profiling (-selinux) -static -test -xtradb% (-berkdb%*)" 0 kB
[ebuild     U ] virtual/mysql-5.1 [5.0] 0 kB
[blocks B     ] media-sound/amarok[embedded] ("media-sound/amarok[embedded]" is blocking dev-db/mysql-5.1.46)

Total: 2 packages (2 upgrades), Size of downloads: 0 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'media-sound/amarok-2.3.0.90', 'nomerge') pulled in by
    media-sound/amarok required by world

  ('ebuild', '/', 'dev-db/mysql-5.1.46', 'merge') pulled in by
    =dev-db/mysql-5.1* required by ('ebuild', '/', 'virtual/mysql-5.1', 'merge')
    mysql


Amarok is built with embedded, lastfm and opengl use flags. I have mysql-5.0.90-r2 with berkdb, community, embedded, perl, ssl, use flags.

Amarok scans my directories for music files, and the collection is still empty. Is there an issue with mysql?

Here are some infos about my system:

Code:
emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 23 May 2010 07:45:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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="-march=core2 -O2 -pipe -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://mirror.switch.ch/ftp/mirror/gentoo/ "
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mrpouet /var/lib/layman/dottout /var/lib/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa amd64 amr berkdb bzip2 cli cracklib custom-cflags custom-optimization cxx dbus dri dvd ffmpeg fortran gpm hal iconv id3tag jpeg kde lame matroska mmx mmxext modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp optimisememory pam pcre perl png pppd python qt3support qt4 readline reflection session spl sse sse2 ssl ssse3 svg sysfs tcpd theora truetype udev unicode vorbis webkit x264 xorg xvid zlib" 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" 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="it" RUBY_TARGETS="ruby18" 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, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Jimini
l33t
l33t


Joined: 31 Oct 2006
Posts: 601
Location: Germany

PostPosted: Tue May 25, 2010 9:07 am    Post subject: Reply with quote

I experienced this problem a few weeks ago, too. I could resolve it by deleting current.xspf (the playlist) and collection.scan.files (the index of your collection) in ~/.kde4/share/apps/amarok. Afterwards, rescan your collection and it should work now. For being on the safe side, better backup these two files first.

Best regards,
Jimini
_________________
"The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu)
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Tue May 25, 2010 9:00 pm    Post subject: Reply with quote

Mysql-5.1 does not work with embedded use flag :(
So you have 2 options:
1. stick with mysql-5.0 and embedded
2. update mysql, remerge amarok with USE="-embedded" and setup external mysql server.
Hate the options? You are not alone. If only clementine would be a bit more mature, it's lightning fast and looks very, very nice. :twisted:
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
darkscreamer
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2006
Posts: 134
Location: The Pirate State of Napoli

PostPosted: Thu May 27, 2010 8:39 am    Post subject: Reply with quote

Masked all versions of mysql greater than 5.0, and chose to use the embedded database.

Clementine looks nice. Does it use sqlite to handle music collection?
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Thu May 27, 2010 6:19 pm    Post subject: Reply with quote

darkscreamer wrote:

Clementine looks nice. Does it use sqlite to handle music collection?


It looks like it does. Clementine has no db use flags to set.
Well, I need a better playlist management (at least saving them) and rating. As soon as that will be implemented, I think again of switching completely. Amarok gets a real pita sometimes ;)
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
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