Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Amarok and Mysql 5.1 problem !

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
sleepingsun
Guru
Guru
User avatar
Posts: 489
Joined: Wed May 03, 2006 9:29 pm
Location: Bosnia
Contact:
Contact sleepingsun
Website

Amarok and Mysql 5.1 problem !

  • Quote

Post by sleepingsun » Thu Sep 02, 2010 6:26 am

Amarok and Mysql 5.1 problem !

Code: Select all

emerge -av mysql 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-db/mysql-5.1.50 [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.50)

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.

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

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


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Gentoo is Rocks
Top
Veldrin
Veteran
Veteran
User avatar
Posts: 1945
Joined: Tue Jul 27, 2004 5:47 pm
Location: Zurich, Switzerland

  • Quote

Post by Veldrin » Thu Sep 02, 2010 7:18 am

remove the embedded useflag, and you should be fine.
Top
der bastler
Apprentice
Apprentice
User avatar
Posts: 266
Joined: Sun Apr 13, 2003 6:15 pm
Contact:
Contact der bastler
Website

  • Quote

Post by der bastler » Thu Sep 02, 2010 10:16 am

Well, I ran into this problem, too.
Veldrin wrote:remove the embedded useflag, and you should be fine.
I do not need a standalone MySQL server idling in the background just to listen to some music.

So I tried media-sound/clementine, was pleased to have found a good music player just playing music, adjusted my system daemon to access org.mpris.clementine instead of org.kde.amarok and unmerged amarok. Bye bye.

This akonadi Etwas slowing down startup is next on my list -- I just have to find an alternative to KMail... :twisted:
Tempus fugit.
@frank@troet.cafe
Top
WilliamHeuts
n00b
n00b
Posts: 29
Joined: Thu Dec 04, 2003 1:40 pm

  • Quote

Post by WilliamHeuts » Thu Sep 02, 2010 11:07 am

Amarok doesn't work with MySQL 5.1. This has something to do with a change in MySQL coding. Don't ask me precisely what. Just mask 5.1 and use a previous version and it will work fine.
Top
sleepingsun
Guru
Guru
User avatar
Posts: 489
Joined: Wed May 03, 2006 9:29 pm
Location: Bosnia
Contact:
Contact sleepingsun
Website

  • Quote

Post by sleepingsun » Thu Sep 02, 2010 12:37 pm

der bastler wrote:Well, I ran into this problem, too.
Veldrin wrote:remove the embedded useflag, and you should be fine.
I do not need a standalone MySQL server idling in the background just to listen to some music.

So I tried media-sound/clementine, was pleased to have found a good music player just playing music, adjusted my system daemon to access org.mpris.clementine instead of org.kde.amarok and unmerged amarok. Bye bye.

This akonadi Etwas slowing down startup is next on my list -- I just have to find an alternative to KMail... :twisted:
Clementine is masked for 64bit Gentoo !

But i loved to setup amarok becouse i have music database and lot of playlist also i use mysql for my site hope so that amarok soon made upgrade to work with mysql 5.1 ! Till than i back to mysql 5.0 !
Gentoo is Rocks
Top
Veldrin
Veteran
Veteran
User avatar
Posts: 1945
Joined: Tue Jul 27, 2004 5:47 pm
Location: Zurich, Switzerland

  • Quote

Post by Veldrin » Thu Sep 02, 2010 12:40 pm

I need to check back home, but IIRC amarok works perfectly /w mysql-5.1, just not with the embedded version. and even without it, you are still able to run a 'local db, instead of a system wide one, as it was on 1.4.
Top
der bastler
Apprentice
Apprentice
User avatar
Posts: 266
Joined: Sun Apr 13, 2003 6:15 pm
Contact:
Contact der bastler
Website

  • Quote

Post by der bastler » Thu Sep 02, 2010 2:06 pm

sleepingsun wrote:Clementine is masked for 64bit Gentoo !
Yes, I know, and I try to keep my /etc/portage/package.keywords/keywords.base rather short. ;-)

But Clementine works, and has no annoying flaws when it comes to file tagging etc...
Tempus fugit.
@frank@troet.cafe
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Fri Sep 03, 2010 3:29 am

Running Clementine 0.4 here on amd64. Works great! LIke Amarok 1.4 only better in some ways, such as much faster startup and no MySQL. Still missing a few features such as transferring songs to an mp3 player but even as it is now, it is better, much better, than all the others I've tried. It's great now and it should be getting even better in the near future.
Top
forkboy
Apprentice
Apprentice
User avatar
Posts: 200
Joined: Wed Nov 24, 2004 5:32 pm
Location: Blackpool, UK

  • Quote

Post by forkboy » Sat Sep 04, 2010 9:18 pm

Isn't mysql 5.0 vulnerable to security bugs? How vulnerable are we if we just want to use it for amarok? I've no idea how to set the now stable version up to use for my amarok collection.
Top
codestation
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 126
Joined: Sun Nov 09, 2008 8:41 pm
Location: /dev/negi

  • Quote

Post by codestation » Sat Sep 04, 2010 10:37 pm

Amarok works perfectly with mysql-5.1.x and embedded USE flag, if you just care about having Amarok running without starting the mysql server then add the mysql and amarok ebuilds to a local overlay then change the following:

In the amarok ebuild:

Code: Select all

embedded? ( <dev-db/mysql-5.1[embedded,-minimal] )
for

Code: Select all

embedded? ( >=dev-db/mysql-5.1[embedded,-minimal] )
In the mysql ebuild delete or comment the following line:

Code: Select all

RDEPEND="!media-sound/amarok[embedded]"
And finally create the following file

Code: Select all

# cat /etc/portage/env/dev-db/mysql 
CFLAGS="${CFLAGS} -fPIC"
CXXFLAGS="${CXXFLAGS} -fPIC"
That asumption in http://bugs.gentoo.org/show_bug.cgi?id=335433 saying that nodoby wants amarok statically linked to mysql is false. At least we arent stuck with that and can edit the ebuilds, but updating those ebuilds every version bump is a pain :evil: .......
Just feel the code...
Top
forkboy
Apprentice
Apprentice
User avatar
Posts: 200
Joined: Wed Nov 24, 2004 5:32 pm
Location: Blackpool, UK

  • Quote

Post by forkboy » Sun Sep 05, 2010 10:53 am

This is the most fucking stupidest thing that I've ever had to deal with all the years I've been using gentoo.
Top
joaopft
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 86
Joined: Mon Oct 20, 2003 9:28 pm
Location: Lisbon, Portugal

  • Quote

Post by joaopft » Wed Sep 08, 2010 7:36 pm

codestation wrote: That asumption in http://bugs.gentoo.org/show_bug.cgi?id=335433 saying that nodoby wants amarok statically linked to mysql is false.
I second that. I don't want to run the mysql deamon on my netbook. When mysql is only used by amarok, it is perfectly fine to have amarok statically linked to mysql.
Last edited by joaopft on Sat Sep 18, 2010 8:01 pm, edited 2 times in total.
Fiction is obliged to stick to possibilities. Truth isn't.
Mark Twain
Top
iandoug
l33t
l33t
User avatar
Posts: 888
Joined: Fri Feb 11, 2005 5:05 pm
Location: Cape Town, South Africa

  • Quote

Post by iandoug » Thu Sep 09, 2010 10:29 am

Dunno if this is a separate issue ... I got it working by removing the 'embedded' option.

Today, system updated 2 packages (gpm and glib, IIRC), and I renamed a folder while Amarok was playing from it.

Now Amarok refuses to start.

Code: Select all

~ $ amarok
Calling appendChild() on a null node does nothing.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
amarok(4813)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(4813)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(4813)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QGraphicsLinearLayout::removeAt: invalid index 1
amarok(4813)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
<unknown program name>(4812)/: Communication problem with  "amarok" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." " 
Now what? :-)

thanks, Ian
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Top
metalus
n00b
n00b
Posts: 52
Joined: Sun May 09, 2004 1:45 am

  • Quote

Post by metalus » Thu Sep 09, 2010 12:36 pm

If you remove the embedded flag and go straight for emerge world, portage is able to remove the block. So the solution is:

Code: Select all

remove the embedded flag for amarok
emerge world #which recompiles amarok without embedded
Top
iandoug
l33t
l33t
User avatar
Posts: 888
Joined: Fri Feb 11, 2005 5:05 pm
Location: Cape Town, South Africa

  • Quote

Post by iandoug » Thu Sep 09, 2010 1:26 pm

Guess I should have been clearer.

I *HAD* it working for a few days after recompiling it, but today it decided to break, right after I renamed a folder it was playing music from.

Recompiled it anyway but still the same problem.

Should I go muck about in the database?

thanks, Ian
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Top
iandoug
l33t
l33t
User avatar
Posts: 888
Joined: Fri Feb 11, 2005 5:05 pm
Location: Cape Town, South Africa

  • Quote

Post by iandoug » Thu Sep 09, 2010 6:46 pm

fixed by
rm current.xspf

in .kde4/share/apps/amarok

guess it barfs when it can't find a dir in it's list of tracks to play.
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Top
Post Reply

16 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic