You are not logged in.

#1 2011-06-27 14:46:42

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Anything wrong with the latest amarok package?

Hi,

after the latest update amarok refuses to start. This is what the error message says:

$ cd /pfad/zu/Amarok/Quellcode/
$ su -c "make uninstall"
$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` && su -c "make install"
$ kbuildsycoca4 --noincremental
$ amarok

Is there something wrong the the package itself?

Offline

#2 2011-06-27 14:50:25

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Anything wrong with the latest amarok package?

Barghest wrote:

Hi,

after the latest update amarok refuses to start. This is what the error message says:

$ cd /pfad/zu/Amarok/Quellcode/
$ su -c "make uninstall"
$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` && su -c "make install"
$ kbuildsycoca4 --noincremental
$ amarok

Is there something wrong the the package itself?

That's not an error message. Are you trying to compile it yourself?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-06-27 14:57:41

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Anything wrong with the latest amarok package?

Looks like an error message to me:

tOTk0Mw

It comes up when I try to start amarok.

Offline

#4 2011-06-27 15:01:24

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: Anything wrong with the latest amarok package?

Barghest wrote:

Looks like an error message to me:

http://ompldr.org/tOTk0Mw

It comes up when I try to start amarok.


I like how you selectively quoted the error message.

Offline

#5 2011-06-27 15:03:12

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Anything wrong with the latest amarok package?

GogglesGuy wrote:
Barghest wrote:

Looks like an error message to me:

http://ompldr.org/tOTk0Mw

It comes up when I try to start amarok.


I like how you selectively quoted the error message.

Didn't want to bore you with the German gibberish and was convinced from the might of your crystal ball ;b

Sorry for that!

Last edited by Barghest (2011-06-27 15:05:15)

Offline

#6 2011-06-27 15:05:07

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: Anything wrong with the latest amarok package?

Barghest wrote:
GogglesGuy wrote:
Barghest wrote:

Looks like an error message to me:

http://ompldr.org/tOTk0Mw

It comes up when I try to start amarok.


I like how you selectively quoted the error message.

Didn't want to bore you with the German gibberish ;b

Sorry for that.

The german gibberish is the actual error message. What you quoted seems to be a possible solution (ie. how to correctly build and install amarok).

Offline

#7 2011-06-27 15:06:30

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Anything wrong with the latest amarok package?

But then it should be corrected in the original build, too?

Offline

#8 2011-06-27 15:47:47

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: Anything wrong with the latest amarok package?

I've got it too.

Amarok could not find any collection plugins. It is possible that Amarok is installed under the wrong prefix, please fix your installation using:
$ cd /path/to/amarok/source-code/
$ su -c "make uninstall"
$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` && su -c "make install"
$ kbuildsycoca4 --noincremental
$ amarok

Registered Linux user #436067

Offline

#9 2011-06-27 15:50:38

estevao
Member
From: Vitória, ES - Brazil
Registered: 2009-10-13
Posts: 100
Website

Re: Anything wrong with the latest amarok package?

Same issue here.

Offline

#10 2011-06-27 15:54:56

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: Anything wrong with the latest amarok package?

Offline

#11 2011-06-27 15:58:57

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Anything wrong with the latest amarok package?

The abs only gives me the older version (2.4.1-1) even after updating. Don't know what was changed between 2.4.1-1 and 2.4.1-2 but when I have the latest version I try to rebuild it with the recommended changes.

Offline

#12 2011-06-27 16:08:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Anything wrong with the latest amarok package?

Barghest wrote:

The abs only gives me the older version (2.4.1-1) even after updating. Don't know what was changed between 2.4.1-1 and 2.4.1-2 but when I have the latest version I try to rebuild it with the recommended changes.

abs is updated once a day https://bugs.archlinux.org/task/24537

http://projects.archlinux.org/svntogit/ … 6/PKGBUILD

Offline

#13 2011-06-27 16:10:40

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Anything wrong with the latest amarok package?

Wasn't aware of this. Thanks karol.

Offline

#14 2011-06-27 16:54:00

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Anything wrong with the latest amarok package?

Ok,

with this PKGBUILD:

pkgname=amarok
replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
pkgver=2.4.1
pkgrel=2
pkgdesc="The powerful music player for KDE"
arch=("i686" "x86_64")
url="http://amarok.kde.org"
license=('GPL2' 'LGPL2.1' 'FDL')
depends=('kdebase-runtime' 'mysql' 'qtscriptgenerator' 'taglib-extras'
        'liblastfm' 'ffmpeg' 'libofa' 'qjson')
makedepends=('pkgconfig' 'automoc4' 'cmake' 'libgpod' 'libmtp' 'loudmouth'
             'libmygpo-qt')
optdepends=("libgpod: support for Apple iPod audio devices"
            "libmtp: support for portable media devices"
            "loudmouth: backend needed by mp3tunes for syncing"
            "ifuse: support for Apple iPod Touch and iPhone"
            "libmygpo-qt: gpodder.net Internet Service")
install="${pkgname}.install"
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('4c65c5cd4d7bd267bdbef8e912fd6cb6')

build() {
  cd ${srcdir}
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr\
    -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
  make
}

package(){
  cd ${srcdir}/build
  make DESTDIR=${pkgdir} install
}

and this amarok.install

post_install() {
    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
    kbuildsycoca4 --noincremental
}

post_upgrade() {
    post_install
}

post_remove() {
    post_install
}

I was able to build a working package.

Maybe I should have tried it without a new amarok.install but I just made everything that was suggested in the error message smile

Offline

#15 2011-06-27 17:35:00

diegoviola
Member
Registered: 2010-12-16
Posts: 134

Re: Anything wrong with the latest amarok package?

Deleted.

Last edited by diegoviola (2023-04-17 22:33:59)

Offline

#16 2011-06-27 22:05:03

diegoviola
Member
Registered: 2010-12-16
Posts: 134

Re: Anything wrong with the latest amarok package?

Deleted.

Last edited by diegoviola (2023-04-17 22:33:42)

Offline

#17 2011-06-28 06:25:25

Vegita
Member
Registered: 2009-10-06
Posts: 111

Re: Anything wrong with the latest amarok package?

for me still unfixed, created a testuser, I  could start amarok with it, then I saw, it uses phonon-vlc instead of phonon-xine. Actually the whole phonon-xine is broken, as I go to systemsettings, and systemsettings crashes, after setting from phonon-vlc to phonon-xine systesettings crashes on clicking phonon with my testuser too sad Package dowgrade evenm doesn't help:


$ amarok
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
amarok: symbol lookup error: /usr/lib/xine/plugins/1.29/xineplug_inp_cdda.so: undefined symbol: xine_get_homedir
unnamed app(7315): Communication problem with  "amarok" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.amarok was not provided by any .service files" "

Offline

#18 2011-06-30 07:02:06

Chickencha
Member
Registered: 2009-10-22
Posts: 7

Re: Anything wrong with the latest amarok package?

Vegita wrote:

for me still unfixed...

I have the same problem. Does anyone know how to fix it?

Offline

#19 2011-06-30 17:55:00

estevao
Member
From: Vitória, ES - Brazil
Registered: 2009-10-13
Posts: 100
Website

Re: Anything wrong with the latest amarok package?

@Vegita: try recompiling phonon-xine from AUR... it's working here.

Last edited by estevao (2011-06-30 17:55:57)

Offline

#20 2011-07-06 05:20:38

Chickencha
Member
Registered: 2009-10-22
Posts: 7

Re: Anything wrong with the latest amarok package?

For anyone else having the same problem I had, I solved it by switching to phonon's vlc backend:

pacman -S phonon-vlc
pacman -R phonon-xine

Offline

#21 2011-07-06 14:16:40

estevao
Member
From: Vitória, ES - Brazil
Registered: 2009-10-13
Posts: 100
Website

Re: Anything wrong with the latest amarok package?

@Chickencha: the only "problem" is that phonon-vlc does not have equalizer support _yet_. If you want some equalizer capabilities you can install phonon-xine from AUR... it should work.

Last edited by estevao (2011-07-06 14:18:05)

Offline

Board footer

Powered by FluxBB