View previous topic :: View next topic |
Author |
Message |
Achilles Apprentice


Joined: 03 Jun 2002 Posts: 259 Location: Chicago
|
Posted: Tue Oct 14, 2003 2:18 am Post subject: Frequent rhythmbox crashes? |
|
|
Everytime I try to stop listening to an internet radio station in rhythmbox, the program freezes. Does anyone else experience this problem? If not, how/where would I submit a bug? |
|
Back to top |
|
 |
Lovechild Advocate


Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Tue Oct 14, 2003 10:27 am Post subject: |
|
|
there's a memory leak in the latest stable version of Rhythmbox - I run CVS right now since that fixes it and adds the much requested database backend.
gstreamer is still prone to errors though, so building against xine might be a good idea for the time being. |
|
Back to top |
|
 |
Kesereti Guru


Joined: 07 Nov 2002 Posts: 520
|
Posted: Tue Oct 14, 2003 2:07 pm Post subject: |
|
|
Is there an ebuild floating around somewhere for Rhythmbox-cvs? I seem to remember seeing one somewhere, but I can't recall where =\ |
|
Back to top |
|
 |
kerrick Tux's lil' helper


Joined: 22 Apr 2003 Posts: 141 Location: Strongbadia
|
Posted: Tue Oct 14, 2003 2:27 pm Post subject: |
|
|
gstreamer-6.4 just came out. Combining that with Rhythmbox CVS (It worked last night, it may work today), everything works great. _________________ Real men use every GAIM protocol. |
|
Back to top |
|
 |
Lovechild Advocate


Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Tue Oct 14, 2003 6:24 pm Post subject: |
|
|
Kesereti wrote: | Is there an ebuild floating around somewhere for Rhythmbox-cvs? I seem to remember seeing one somewhere, but I can't recall where =\ |
BMG had one, but it was taken down
something like this might work . I have an skel file for CVS which I use to figure out deps sometimes - I basically stuffed that in the rhythmbox ebuild from portage.
Code: |
# Copyright 1999-2003
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils gnome2
inherit cvs libtool
inherit flag-o-matic debug
strip-flags
unset SRC_URI
DESCRIPTION="Rhythmbox CVS"
HOMEPAGE="http://www.rhythmbox.org/"
LICENSE="GPL-2"
ECVS_SERVER="anoncvs.gnome.org:/cvs/gnome"
ECVS_MODULE="rhythmbox"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
S=${WORKDIR}/${ECVS_MODULE}
SLOT="0"
KEYWORDS="~x86"
IUSE="oggvorbis mad xine"
RDEPEND=">=x11-libs/gtk+-2.2
>=gnome-base/libgnomeui-2.0
>=gnome-base/libbonoboui-2.0
>=gnome-base/gconf-2.0
>=media-libs/musicbrainz-2.0
>=media-libs/flac-1.0
oggvorbis? ( >=media-libs/libvorbis-1.0 )
mad? ( >=media-libs/libid3tag-0.15 )
!xine? ( >=media-libs/gstreamer-0.6.3
>=media-libs/gst-plugins-0.6.3
>=media-plugins/gst-plugins-gnomevfs-0.6.3
flac? ( >=media-plugins/gst-plugins-flac-0.6.3 )
mad? ( >=media-plugins/gst-plugins-mad-0.6.3 )
oggvorbis? ( >=media-plugins/gst-plugins-vorbis-0.6.3 )
)
xine? ( >=media-libs/xine-lib-1_rc0 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
app-text/scrollkeeper"
use xine && G2CONF="${G2CONF} --enable-xine"
G2CONF="${G2CONF} \
$(use_enable oggvorbis vorbis) \
$(use_enable mad mp3) \
--disable-schemas-install"
src_compile() {
cd ${S}
mv configure.in configure.in.old
sed -e "s|GNOME_DEBUG_CHECK||" configure.in.old > configure.in
./autogen.sh
gnome2_src_configure "--enable-compile-warnings=no" || die
emake
}
DOCS="AUTHORS COPYING* ChangeLog HACKING INSTALL NEWS README"
export GST_INSPECT=/bin/true
|
|
|
Back to top |
|
 |
Quatre n00b

Joined: 09 Jun 2003 Posts: 20
|
Posted: Wed Oct 15, 2003 4:55 am Post subject: |
|
|
You'll get an access violation with that ebuild, but this works:
Code: | # Copyright 1999-2003
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils gnome2
inherit cvs libtool
inherit flag-o-matic debug
strip-flags
unset SRC_URI
DESCRIPTION="Rhythmbox CVS"
HOMEPAGE="http://www.rhythmbox.org/"
LICENSE="GPL-2"
ECVS_SERVER="anoncvs.gnome.org:/cvs/gnome"
ECVS_MODULE="rhythmbox"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
S=${WORKDIR}/${ECVS_MODULE}
SLOT="0"
KEYWORDS="~x86"
IUSE="oggvorbis mad xine"
RDEPEND=">=x11-libs/gtk+-2.2
>=gnome-base/libgnomeui-2.0
>=gnome-base/libbonoboui-2.0
>=gnome-base/gconf-2.0
>=media-libs/musicbrainz-2.0
>=media-libs/flac-1.0
oggvorbis? ( >=media-libs/libvorbis-1.0 )
mad? ( >=media-libs/libid3tag-0.15 )
!xine? ( >=media-libs/gstreamer-0.6.3
>=media-libs/gst-plugins-0.6.3
>=media-plugins/gst-plugins-gnomevfs-0.6.3
flac? ( >=media-plugins/gst-plugins-flac-0.6.3 )
mad? ( >=media-plugins/gst-plugins-mad-0.6.3 )
oggvorbis? ( >=media-plugins/gst-plugins-vorbis-0.6.3 )
)
xine? ( >=media-libs/xine-lib-1_rc0 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
app-text/scrollkeeper"
use xine && G2CONF="${G2CONF} --enable-xine"
G2CONF="${G2CONF} \
$(use_enable oggvorbis vorbis) \
$(use_enable mad mp3) \
--disable-schemas-install"
src_compile() {
cd ${S}
mv configure.in configure.in.old
sed -e "s|GNOME_DEBUG_CHECK||" configure.in.old > configure.in
rm -f ${S}/corba/*.{c,h}
./autogen.sh
gnome2_omf_fix ${S}/help/C/Makefile.in
gnome2_src_configure "--enable-compile-warnings=no" || die
emake
}
DOCS="AUTHORS COPYING* ChangeLog HACKING INSTALL NEWS README"
export GST_INSPECT=/bin/true
|
|
|
Back to top |
|
 |
At0mic n00b


Joined: 11 May 2003 Posts: 43
|
Posted: Wed Oct 15, 2003 5:30 am Post subject: |
|
|
[nm.. looks like it got fixed re-emerged it and it worked] |
|
Back to top |
|
 |
Lovechild Advocate


Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed Oct 15, 2003 9:17 am Post subject: |
|
|
hehe, I don't normally hit those access violations, I have sandbox perm. disabled in make.conf - but as I said it was just a suggestion to how one could do it. The rhythmbox website also show you how to grab the lastest tree using arch (the cvs is a mirror of the arch tree it's sometimes a bit behind though).
But nobody seems to like doing manual labor anymore, so CVS ebuilds will do the trick. |
|
Back to top |
|
 |
Achilles Apprentice


Joined: 03 Jun 2002 Posts: 259 Location: Chicago
|
Posted: Wed Oct 15, 2003 7:48 pm Post subject: |
|
|
Lovechild, I tried putting your ebuild in a file called rhythmbox-cvs.ebuild then running it. This is what I got:
Code: | root@127 david # emerge /usr/portage/media-sound/rhythmbox/rhythmbox-cvs.ebuild Calculating dependencies \Traceback (most recent call last):
File "/usr/bin/emerge", line 2114, in ?
retval,favorites=mydepgraph.select_files(myfiles)
File "/usr/bin/emerge", line 787, in select_files
if not self.create(["ebuild",portage.root,mykey],None,"--onlydeps" not in myopts):
File "/usr/bin/emerge", line 738, in create
edepend[x]=string.join(portage.portdb.aux_get(mykey,[x]), " ")
File "/usr/lib/python2.2/site-packages/portage.py", line 3642, in aux_get
myebuild,in_overlay=self.findname2(mycpv)
ValueError: need more than 0 values to unpack |
What am I doing wrong? I assume its something simple, because I've never made an ebuild before  |
|
Back to top |
|
 |
Serengeti n00b

Joined: 13 Apr 2003 Posts: 10 Location: Lublin, Poland
|
Posted: Sat Oct 18, 2003 4:41 pm Post subject: |
|
|
I get a very similar error:
Code: | hythmbox-cvs.ebuild sound # emerge -p /usr/local/portage/media-sound/rhythmbox/rh
These are the packages that I would merge, in order:
Calculating dependencies \Traceback (most recent call last):
File "/usr/bin/emerge", line 2034, in ?
retval,favorites=mydepgraph.select_files(myfiles)
File "/usr/bin/emerge", line 724, in select_files
if not self.create(["ebuild",portage.root,mykey],None,"--onlydeps" not in myopts):
File "/usr/bin/emerge", line 675, in create
edepend[x]=string.join(portage.portdb.aux_get(mykey,[x]), " ")
File "/usr/lib/python2.2/site-packages/portage.py", line 3463, in aux_get
myebuild,in_overlay=self.findname2(mycpv)
ValueError: need more than 0 values to unpack
|
please help  _________________ 'No, no! Sam, you old ass!' said Frodo. |
|
Back to top |
|
 |
Quatre n00b

Joined: 09 Jun 2003 Posts: 20
|
Posted: Sun Oct 19, 2003 2:26 am Post subject: |
|
|
Make sure PORTDIR_OVERLAY is set in /etc/make.conf, and put the ebuild in {$PORTDIR_OVERLAY/}/media-sound/rhythmbox-cvs named as rhythmbox-cvs-0.6.ebuild, for example. When it's in media-sound/rhythmbox, Portage is thinking that "cvs" is the version number, and those characters aren't allowed for the version number. And without the "-0.6", portage doesn't know what the version is at all. |
|
Back to top |
|
 |
Serengeti n00b

Joined: 13 Apr 2003 Posts: 10 Location: Lublin, Poland
|
Posted: Sun Oct 19, 2003 11:46 am Post subject: |
|
|
Thank you very much Quatre, it works for me now  _________________ 'No, no! Sam, you old ass!' said Frodo. |
|
Back to top |
|
 |
Serengeti n00b

Joined: 13 Apr 2003 Posts: 10 Location: Lublin, Poland
|
Posted: Fri Nov 07, 2003 4:32 pm Post subject: |
|
|
news from the battlefield : the ebuild used to work, but apparently it doesn't any longer. The compilation starts and after a while it crashes with an error saying something like, "no rule to make test-corba.c". I was however able to get the current Rhythmbox source using this "arch" thing they explain on their web page (http://www.rhythmbox.org/development.html). I ran ./autogen, ./configure CFLAGS="-march=athlon-xp -Os -pipe" --enable-xine, then did make && make install - and guess what, I have Rhythmbox 0.5.99 playing Paradise Radio right now  _________________ 'No, no! Sam, you old ass!' said Frodo. |
|
Back to top |
|
 |
ronmon Veteran


Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Fri Nov 07, 2003 5:48 pm Post subject: |
|
|
I also tried both ebuilds without success. However, grabbing the archive with 'tla', as Serengeti suggested, worked great.
Radio Paradise also happens to be one of my favorites and is playing at this very moment. Hope we're not slashdotting them  |
|
Back to top |
|
 |
|