Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Streamtuner segfault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
l33tmmx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2005
Posts: 91
Location: Pirkkala, Finland

PostPosted: Fri Mar 25, 2005 10:14 pm    Post subject: Streamtuner segfault Reply with quote

Has anyone managed to get streamtuner-0.99.99 running on PPC? On my iBook G4 it just shows the splash screen and then segfaults :cry: .

emerge info:

Portage 2.0.51.19 (default-linux/ppc/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 ppc)
=================================================================
System uname: 2.6.10-gentoo-r6 ppc 7447A, altivec supported
Gentoo Base System version 1.6.10
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 24 2005, 22:48:53)]
dev-lang/python: 2.3.5
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.9.5, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3
sys-devel/binutils: 2.15.90.0.3-r4
sys-devel/libtool: 1.5.14
virtual/os-headers: 2.4.22-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac alsa altivec berkdb bitmap-fonts cdr crypt cups curl divx4linux dv dvd emboss fam fbcon ffmpeg flac font-server fortran gdbm gif gtk gtk2 imagemagick imap imlib jpeg kde lcms mad matroska mikmod mp3 mpeg ncurses nls nodrm oggvorbis opengl pam perl png ppc python qt quicktime radeon readline sdl slang sndfile ssl tcltk theora tiff truetype truetype-fonts type1-fonts unicode xml xml2 xprint xv zlib linguas_en linguas_fi"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
_________________
"Trust me, I know what I'm doing!"
- Sledge Hammer

Follow me on Twitter
Back to top
View user's profile Send private message
FatherBusa
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 165

PostPosted: Wed Mar 30, 2005 2:40 am    Post subject: And on x86 . . . Reply with quote

Not just PPC. I've been getting the exact same behavior for weeks on my x86 box, and I've tried rebuilding everything I can think could possibly be related.
Back to top
View user's profile Send private message
l33tmmx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2005
Posts: 91
Location: Pirkkala, Finland

PostPosted: Wed Mar 30, 2005 3:05 pm    Post subject: Reply with quote

This must be Gentoo-specific, then :cry: On my Slackware-running x86 desktop several versions of the Streamtuner have worked faultlessly, including version 0.99.99... It's time to make a bug-report.
_________________
"Trust me, I know what I'm doing!"
- Sledge Hammer

Follow me on Twitter
Back to top
View user's profile Send private message
l33tmmx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2005
Posts: 91
Location: Pirkkala, Finland

PostPosted: Wed Mar 30, 2005 3:25 pm    Post subject: Reply with quote

Yo, someone has already reported this bug (Should have checked Gentoo-bugzilla earlier :oops: ). See here: https://bugs.gentoo.org/show_bug.cgi?id=87149. PyGtk =>2.5 is the culprit, there's a patch available to allow Streamtuner co-operate with it.

I have to test the patch as soon as my iBook stops its world-update :wink: . Or maybe I just downgrade to PyGtk 2.4.

Hopefully the Streamtuner ebuild maintainer includes this patch soon...
_________________
"Trust me, I know what I'm doing!"
- Sledge Hammer

Follow me on Twitter
Back to top
View user's profile Send private message
l33tmmx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2005
Posts: 91
Location: Pirkkala, Finland

PostPosted: Wed Mar 30, 2005 8:04 pm    Post subject: Reply with quote

Okay, what I'm NOW doing wrong?:

I need to patch Streamtuner before compiling & installing. I run 'ebuild /usr/portage/net-misc/streamtuner/streamtuner-0.99.99.ebuild fetch', that goes without errors, but when I next run 'ebuild /usr/portage/net-misc/streamtuner/streamtuner-0.99.99.ebuild unpack', I got the following error:

Code:
>>> md5 src_uri ;-) streamtuner-0.99.99.tar.gz
/usr/lib/portage/bin/ebuild.sh: line 1702: /var/db/pkg/net-misc/streamtuner-0.99.99/streamtuner-0.99.99.ebuild: File or directory doesn't exist.

!!! ERROR: net-misc/streamtuner-0.99.99 failed.
!!! Function , Line 1702, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.


This is the first time I'm trying to do anything like this, and I'm following the instructions in: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=6
_________________
"Trust me, I know what I'm doing!"
- Sledge Hammer

Follow me on Twitter
Back to top
View user's profile Send private message
haven
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 141
Location: Belfast, Uk

PostPosted: Sun Apr 03, 2005 1:47 pm    Post subject: Reply with quote

The patch file didnt work for me initially - it looks to patch "src/plugins/python/pst-main.c" which doesnt exist. But I managed to get it to work and have outlined instructions below.

Extract the ebuild:
Code:
ebuild /usr/portage/net-misc/streamtuner/streamtuner-0.99.ebuild unpack


cd to the location of the extracted files:
Code:
cd /var/tmp/portage/streamtuner-0.99/work/streamtuner-0.99/src/plugins/python

then grab the patch:
Code:
wget http://savannah.nongnu.org/download/streamtuner/streamtuner-0.99.99-pygtk-2.6.diff

and force it to patch against spy-main.c i.e.
Code:
patch -p0 spy-main.c streamtuner-0.99.99-pygtk-2.6.diff

It will only manage to patch partially but it still works so dont panic.

Then build the ebuild as shown by the url l333tmmx posted i.e.

Code:
ebuild /usr/portage/net-misc/streamtuner/streamtuner-0.99.ebuild compile

Code:
ebuild /usr/portage/net-misc/streamtuner/streamtuner-0.99.ebuild install

Code:
ebuild /usr/portage/net-misc/streamtuner/streamtuner-0.99.ebuild qmerge



Streamtuner then worked fine for me using pygtk 2.6.1 on a 64 bit AMD system.

l33tmmx try following the instructions I just posted - you werent looking in the right place for the ebuild files in your code example.

Regards
Back to top
View user's profile Send private message
l33tmmx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2005
Posts: 91
Location: Pirkkala, Finland

PostPosted: Sun Apr 03, 2005 2:05 pm    Post subject: Reply with quote

Thank you for your hard work :). My Gentoo system is currently unusable (I'm writing this on OS X), but I'll try your instructions when I get it fixed...
_________________
"Trust me, I know what I'm doing!"
- Sledge Hammer

Follow me on Twitter
Back to top
View user's profile Send private message
dencar
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2003
Posts: 108
Location: Noosa, Australia

PostPosted: Sun Apr 03, 2005 10:43 pm    Post subject: Reply with quote

Thank you, haven[b], that worked for me. It also taught me a lot about the repair process.:)
_________________
dencar
Back to top
View user's profile Send private message
haven
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 141
Location: Belfast, Uk

PostPosted: Sun Apr 03, 2005 11:04 pm    Post subject: Reply with quote

I'm glad it worked dencar, you are welcome :)
Back to top
View user's profile Send private message
l33tmmx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2005
Posts: 91
Location: Pirkkala, Finland

PostPosted: Thu Apr 07, 2005 6:13 am    Post subject: Reply with quote

Haven, are you aware that you forcibly patched streamtuner-0.99 (i.e. older version) with a patch intended for streamtuner-0.99.99 (the latest version) :? ? No wonder it complained...

I'm so stubborn that I still wanted the latest version, and continued experiments with the 0.99.99. But regardless of whatever I do, ebuild still refuses to unpack streamtuner-0.99.99. I don't understand why :cry:

Fortunately, it's not necessary to fight any more, there's a new ebuild available for streamtuner-0.99.99 in Gentoo-Bugzilla :D Here's a list of steps I took to build the streamtuner-0.99.99 (If you have already setup your Portage overlay directory, please skip/adjust accordingly):
Code:
mkdir -p /usr/local/portage/net-misc/streamtuner
echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/make.conf
cp -r /usr/portage/net-misc/streamtuner/* /usr/local/portage/net-misc/streamtuner/
cp /path/to/streamtuner-0.99.99-pygtk-2.6.diff /usr/local/portage/net-misc/streamtuner/files/
cp /path/to/streamtuner-0.99.99-r1.ebuild /usr/local/portage/net-misc/streamtuner/
ebuild /usr/local/portage/net-misc/streamtuner/streamtuner-0.99.99-r1.ebuild digest
emerge -av streamtuner

...and you have a working, latest version of the StreamTuner...:lol:

No doubt the new ebuid will soon find its way to official Portage tree, but in the meantime you impatient out there could use these instructions to install streamtuner.
_________________
"Trust me, I know what I'm doing!"
- Sledge Hammer

Follow me on Twitter
Back to top
View user's profile Send private message
haven
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 141
Location: Belfast, Uk

PostPosted: Thu Apr 07, 2005 10:00 am    Post subject: Reply with quote

Yes I knew I was forcing it, I just wanted it to work and it achieved the desired result - I wasnt surprised it complained and knew what I was doing :) *shrugs*. Hopefully as you pointed out, the fixed ebuild will make it into the unstable tree soon. Ta for the updated info.
Back to top
View user's profile Send private message
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Sat Jun 25, 2005 1:29 am    Post subject: Finally we have music Reply with quote

None of the above techiniques worked
I downfgraded and still no joy.

Then I deleted the cache file in the .streamtuner directory of my home directory and viola! no more segfault.
Back to top
View user's profile Send private message
ticapix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 138
Location: France, Paris

PostPosted: Wed Aug 17, 2005 12:30 pm    Post subject: Reply with quote

Hi

I just got the same error this afternoon.
strace streamtuner showed errors with python libs....
solved by emerging net-misc/streamtuner-0.99.99-r1

Pierre
Back to top
View user's profile Send private message
Alejandro Nova
n00b
n00b


Joined: 08 Sep 2004
Posts: 50

PostPosted: Mon Oct 10, 2005 7:00 pm    Post subject: Reply with quote

Do anybody know if StreamTuner .99.99 is working properly with pygtk 2.8 series?
_________________
Becoming someone beautiful, through my music, my silent devotion...
Alejandro Nova™.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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