bugGnash - The GNU Flash player - Bugs: bug #28928, [XPCOM] Failed to get the service...

 
 

bug #28928: [XPCOM] Failed to get the service manager

Submitted by:  Hicham HAOUARI <hichamhaouari>
Submitted on:  Thu 18 Feb 2010 04:13:44 PM UTC  
 
Category: buildSeverity: 2 - Minor
Release: NoneStatus: Works For Me
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Mon 22 Mar 2010 07:21:40 PM UTC, comment #6:

Thank you very much for warnings on --enable-xpcom. Removal has helped.

Petr Pisar <petrp>
Mon 15 Mar 2010 03:14:21 PM UTC, comment #5:

Oops, missed the --enable-xpcom in all the text, but drop this option and I bet your build will work. Not to be obnoxious, but we support many configuration options for portability reasons. Different platforms, and Gnash runs on a large pile of them, often require us to tailor the configuration for that platform. That's why Gnash has many config options. Examples are the --i810-lod-bias option, which was to work around a bug in Gentoo's DRI implementation for i810 GPU, where it doesn't release freed memory from the kernel, so it sucks up all your RAM. That option is only needed on i810 based GPUs, and I haven't even seen any for a few years, but they are still out there in embedded devices. (my stereo having a i810)

I've ranted before about Gentoo's build system before (Gnash was originally developed on Gentoo), but just supplying lots of configuration options will not achieve your goal of a working flash player. A default build with no configure options gives you this: NPAPU plugin, GTK and KDE4 guis, AGG renderer, Gstreamer for media handling, jemalloc, avm2. About the only things you'd potentially want that are optional are --enable-cygnal and --enable-=python.

I know all about slow build times, it takes over 6 hours on some of my build farm slaves.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Mon 15 Mar 2010 02:59:52 PM UTC, comment #4:

I don't see any controversial options to the call to configure. --enable-xpcom is most likely breaking the plugin, which is a bug.

Bastiaan Jacques <bjacques>
Project Member
Mon 15 Mar 2010 02:50:05 PM UTC, comment #3:

Excuse me, but what's reason for configure options if I can't use them? Reason why I supply all options is it's part of Gentoo package process---all features must be deterministic across different systems (to control compile-time and run-time dependencies).

If you think there are some contradicting options, (1) show me them and (2) configure script should cope with them (e.g. by configuration abort).

If you look carefully on my options you could see there are --enable-xpcom --enable-npapi.

I can try to build gnash with options provided by you, but it's little painful for me since it takes nearly 3 hours on my machine.

If I understand your advise correctly, the --enable-xpcom is not necessary for building netscape plug-in. I will try to disable it.

Petr Pisar <petrp>
Mon 15 Mar 2010 02:05:38 PM UTC, comment #2:

Ok, you can't just supplied all the options Gnash's configure supports, and expect anything to work. For one thing, the only option you did forget is --enable-xpcom, but you don't really need that ever. it's only used for package building of XPI. You have way too many options to configure, you'll have better luck if you let Gnash's configure "do the right thing", than by over-driving. Me, I'd configure like this:

--disable-dependency-tracking
--enable-python --disable-testsuite
-enable-gui=gtk,sdl
--with-npapi-plugindir=/opt/netscape/plugins
--enable-media=ffmpeg

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Mon 15 Mar 2010 09:43:20 AM UTC, comment #1:

The same problem against net-libs/xulrunner-1.9.2-r2 from Gentoo.

$ LANG=en_US gnash -V
Gnash 0.8.7

Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Gnash comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Gnash under the terms of the GNU General
Public License. For more information, see the file named COPYING.

Build options 0.8.7
Target:
Renderer: agg - GUI: GTK - Media handler: ffmpeg
Configured with: --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--disable-dependency-tracking --disable-kparts3 --enable-avm2 --disable-cygnal
--disable-cgibins --disable-docbook --disable-ghelp --enable-xpcom
--enable-npapi --disable-kparts4 --disable-lirc --enable-nls --enable-npapi
--enable-python --disable-ssh --enable-ssl --disable-testsuite
--disable-i810-lod-bias --enable-gui=gtk,sdl --enable-extensions=gtk
--with-npapi-plugindir=/opt/netscape/plugins --enable-renderer=agg
--enable-media=ffmpeg --enable-sound=sdl
CXXFLAGS: -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -W
-Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type
-Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden
Version: .:
Built against ffmpeg version: Lavc52.42.0

Petr Pisar <petrp>
Thu 18 Feb 2010 04:13:44 PM UTC, original submission:

After installing gnash-0.8.7 against xulrunner-1.9.2 and trying to play a video in firefox, that is what i get :

[XPCOM] Failed to get the service manager

Please let me know if you need any additional information

Hicham HAOUARI <hichamhaouari>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Updated the item)
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by rsavoye (Posted a comment)
  • -unavailable- added by petrp (Posted a comment)
  • -unavailable- added by hichamhaouari (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 22 Mar 2010 07:36:20 PM UTCstrkOpen/ClosedOpen=>Closed
    Mon 15 Mar 2010 02:05:38 PM UTCrsavoyeCategoryNone=>build
      Severity3 - Normal=>2 - Minor
      StatusNone=>Works For Me
      Assigned toNone=>rsavoye

    Back to the top


    Powered by Savane 3.1-cleanup1