Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] liboil or gstreamer problem?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
cac
n00b
n00b


Joined: 05 Jun 2006
Posts: 29
Location: Columbus, Ohio

PostPosted: Tue Jun 06, 2006 3:32 pm    Post subject: [SOLVED] liboil or gstreamer problem? Reply with quote

Originally posted about the problems I was having emerging totem-1.4.0 here, but the more I look at it I think this is an arch problem. The totem emerge is failing when it looks for playbin. I have re-emerged liboil with CFLAGS stripped of any optimizations settings, but that hasn't changed anything. I am at wits end now. Anyone have any ideas? When I run "gst-inspect-0.10 playbin" or "gst-inspect-0.10" I get:

Code:
sparcy / # gst-inspect-0.10
OIL: ERROR liboilprofile.c 318: _oil_profile_init(): Using gettimeofday() as a timestamp function.  Please add a timestamp function for your platform.
Bus error


so I was beginning to think it was a liboil problem, but "gst-inspect-0.8" outputs:

Code:
sparcy / # gst-inspect-0.8
gstindexers:  memindex: A index that stores entries in memory
gstindexers:  fileindex: A index that stores entries in file
gstfairgthreadscheduler:  fairgthread: A fair scheduler based on gthread cothreads
gstoptgthreadscheduler:  optgthread: An optimal scheduler using gthread cothreads
gstentrygthreadscheduler:  entrygthread: A entry scheduler using gthread cothreads
gstoptomegascheduler:  optomega: An optimal scheduler using omega cothreads
gstentryomegascheduler:  entryomega: A entry scheduler using omega cothreads
gstbasicomegascheduler:  basicomega: A basic scheduler using omega cothreads
gstbasicgthreadscheduler:  basicgthread: A basic scheduler using gthread cothreads
gstoptscheduler:  opt: An optimal scheduler using no cothreads
gstspider:  spider: Spider
gstspider:  spideridentity: SpiderIdentity
gstelements:  aggregator: Aggregator pipe fitting
gstelements:  fakesrc: Fake Source
gstelements:  fakesink: Fake Sink
gstelements:  fdsink: Filedescriptor Sink
gstelements:  fdsrc: Disk Source
gstelements:  filesrc: File Source
gstelements:  filesink: File Sink
gstelements:  identity: Identity
gstelements:  md5sink: MD5 Sink
gstelements:  multifilesrc: Multi File Source
gstelements:  pipefilter: Pipefilter
gstelements:  shaper: Shaper
gstelements:  statistics: Statistics
gstelements:  tee: Tee pipe fitting
gstelements:  typefind: TypeFind
gstcoreelements:  queue: Queue
gstcoreelements:  thread: Threaded container
gstcoreelements:  pipeline: Pipeline object
gstcoreelements:  bin: Generic bin




emerge -s gst-:
Code:
sparcy / # emerge -s gst-
Searching...
[ Results for search key : gst- ]
[ Applications found : 50 ]

*  dev-python/gst-python [ Masked ]
      Latest version available: 0.10.4
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 1,588 kB
      Homepage:    http://gstreamer.freedesktop.org
      Description: A Python Interface to GStreamer
      License:     LGPL-2

*  media-libs/gst-plugins
      Latest version available: 0.8.11
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 2,382 kB
      Homepage:    http://gstreamer.net/
      Description: Basepack of plugins for gstreamer
      License:     GPL-2

*  media-libs/gst-plugins-bad [ Masked ]
      Latest version available: 0.10.3
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 2,794 kB
      Homepage:    http://gstreamer.freedesktop.org/
      Description: Unmaintained plugins for GStreamer
      License:     GPL-2

*  media-libs/gst-plugins-base
      Latest version available: 0.10.7
      Latest version installed: 0.10.7
      Size of downloaded files: 3,416 kB
      Homepage:    http://gstreamer.net/
      Description: Basepack of plugins for gstreamer
      License:     GPL-2

*  media-libs/gst-plugins-good
      Latest version available: 0.10.3
      Latest version installed: 0.10.3
      Size of downloaded files: 1,138 kB
      Homepage:    http://gstreamer.net/
      Description: Basepack of plugins for gstreamer
      License:     GPL-2

*  media-libs/gst-plugins-ugly [ Masked ]
      Latest version available: 0.10.3
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 591 kB
      Homepage:    http://gstreamer.net/
      Description: Basepack of plugins for gstreamer
      License:     GPL-2

<snip>


emerge --info:
Code:
sparcy / # emerge --info
Portage 2.0.54-r2 (default-linux/sparc/sparc64/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 sparc64)
=================================================================
System uname: 2.6.16-gentoo-r7 sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r6
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cli crypt cups dba dbus dlloader dri eds encode esd exif expat fam fbcon foomaticdb fortran gcc64 gd gdbm gif glut gnome gstreamer gtk2 gtkhtml hal imagemagick imlib isdnlog jpeg kde libwww mad mikmod mng motif mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis wmf xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS


Last edited by cac on Wed Jun 07, 2006 9:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Tue Jun 06, 2006 10:12 pm    Post subject: Reply with quote

Which liboil version are you currently using?
I'm usually the one working on gnome stuff for sparc and didn't have issues with it (current stable, 0.3.6, and with quite aggressive CFLAGS).
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
cac
n00b
n00b


Joined: 05 Jun 2006
Posts: 29
Location: Columbus, Ohio

PostPosted: Wed Jun 07, 2006 3:17 pm    Post subject: Reply with quote

I am using 0.3.8 as I have it keyworded. I used the the HOWTO Update to GNOME unstable wiki article's script:
Code:
ACCEPT_KEYWORDS="~x86" emerge -p =gnome-base/gnome-2.14* | grep \\[ebuild | awk '{ print $4 }' | sed -e 's/^/~/' -e 's/-r[0-9]{1,2}//' | uniq -u | sort >> /etc/portage/package.keywords

to generate the ebuilds I needed to list in package.keywords. Not sure what required 0.3.8; I'll have to see if I dig that up.
Back to top
View user's profile Send private message
cac
n00b
n00b


Joined: 05 Jun 2006
Posts: 29
Location: Columbus, Ohio

PostPosted: Wed Jun 07, 2006 3:35 pm    Post subject: Reply with quote

Running:

Code:
ACCEPT_KEYWORDS="~x86" emerge -pet =gnome-base/gnome-2.14*

relveals that gst-plugins-base-0.10.7 pulls in liboil-0.3.8.
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Wed Jun 07, 2006 3:51 pm    Post subject: Reply with quote

According to some tests we've done it seems 0.3.8 is bad, try with 0.3.6.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Wed Jun 07, 2006 4:38 pm    Post subject: Reply with quote

Just a quick dumb question, Are you on a SPARC? I see you have the ~x86 accept keyword which I believe is a bad idea on SPARCs :wink:

By the way, I am having the exact same issue on my SPARC Ultra 10 and also have liboil 0.3.8. How do I downgrade liboil to a lower version?

Rick
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Wed Jun 07, 2006 4:58 pm    Post subject: Reply with quote

Generally speaking doing blind ACCEPT_KEYWORDS is a bad idea.
man 5 portage -> search for package.keywords, package.mask and so on.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
cac
n00b
n00b


Joined: 05 Jun 2006
Posts: 29
Location: Columbus, Ohio

PostPosted: Wed Jun 07, 2006 9:20 pm    Post subject: Reply with quote

rsborn: Hmm, you know I might have used ~x86 to generate the list... This is most definitely a SPARC system (SB100) so using ~x86 would be bad! :oops: If you have 0.3.8 keyworded, then just remove it, and emerge -avu world should downgrade it. You could also emerge -C liboil, remove it from your package.keywords list, then emerge -av1 liboil.

gust4voz: I am not using ACCEPT_KEYWORDS for the whole system, just used the snippet on the wiki to generate the list of packages I needed for /etc/portage/packages.keywords. It seemed like this would be much easier than finding out what packages I needed to keyword one-by-one. Should I have not used that method? Of course it might help if the right arch was used...

I have unmerged liboil-0.3.8, removed it from my package.keywords, and now it will pull in liboil-0.3.6. So, I emerge liboil-0.3.6, re-emerged gst-plugins-base and now totem is busy compiling. Yay!

I'd like to try to nail down whether using the ACCEPT_KEYWORDS to generate the keywords list is a good way to go about it. But I am happy just to be back in business.

Thanks gust4vov!
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Sat Jun 10, 2006 4:14 pm    Post subject: Just FYI, I submitted a big for liboil 0.3.8 for this issue Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=136228

It seems it is a real enough issue to maybe remove the ~sparc keyword until it is fixed. I like to live dangerously and accept ~sparc and issues like this are a bit of a pain.

To fix my system, I downgraded liboil to 0.3.6 (Which isn't a trivial task if you have ~sparc as an accepted keyword). all seems OK now

Rick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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