bugGnash - The GNU Flash player - Bugs: bug #41587, Cannot build trunk with xulrunner...

 
 

bug #41587: Cannot build trunk with xulrunner 27.0

Submitted by:  Frederic Bezies <fredbezies>
Submitted on:  Fri 14 Feb 2014 11:14:49 AM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Invalid
Privacy: PublicAssigned to: Gabriele Giacone <gg0>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 15 Feb 2014 02:49:40 PM UTC, comment #3:

https://bugzilla.mozilla.org/show_bug.cgi?id=784739#c281

Apply such patch to xulrunner.

Gabriele Giacone <gg0>
Project MemberIn charge of this item.
Fri 14 Feb 2014 11:19:37 AM UTC, comment #2:

Forgot to post make line :

make CXXFLAGS="$CXXFLAGS -Wc++0x-compat" CFLAGS="$CFLAGS -fPIC"

Sorry for bug spamming.

Frederic Bezies <fredbezies>
Fri 14 Feb 2014 11:17:32 AM UTC, comment #1:

Pressed enter to soon. Oops.

Someone reported a bug while trying to build gnash from trunk code on archlinux :

"GnashNPVariant.h: In constructor 'gnash::GnashNPVariant::GnashNPVariant()':
/usr/include/xulrunner-27.0/npruntime.h:146:30: error: 'nullptr' was not declared in this scope
(_v).value.objectValue = nullptr; \
^
GnashNPVariant.h:120:9: note: in expansion of macro 'NULL_TO_NPVARIANT'
NULL_TO_NPVARIANT(_variant);
^
plugin.cpp: In member function 'bool gnash::nsPluginInstance::processPlayerRequest()':
/usr/include/xulrunner-27.0/npruntime.h:140:30: error: 'nullptr' was not declared in this scope
(_v).value.objectValue = nullptr; \
^
plugin.cpp:930:9: note: in expansion of macro 'VOID_TO_NPVARIANT'
VOID_TO_NPVARIANT(result);
^
Makefile:873: recipe for target 'libgnashplugin_la-plugin.lo' failed
make[4]: *** [libgnashplugin_la-plugin.lo] Error 1
make[4]: Leaving directory '/mnt/tmp/taro-tmp/aur/gnash-trunk-git/src/gnash/plugin/npapi'
Makefile:962: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory '/mnt/tmp/taro-tmp/aur/gnash-trunk-git/src/gnash/plugin/npapi'
Makefile:667: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/mnt/tmp/taro-tmp/aur/gnash-trunk-git/src/gnash/plugin'
Makefile:1143: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/mnt/tmp/taro-tmp/aur/gnash-trunk-git/src/gnash'
Makefile:1442: recipe for target 'install' failed
make: *** [install] Error 2"

I tried to modify my build options, and even with this make line, it crashes :

"CXXLD gtk-gnash
/usr/bin/ld: gtk_gnash-gnash.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
gtk_gnash-gnash.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:1867: recipe for target 'gtk-gnash' failed
make[4]: *** [gtk-gnash] Error 1
make[4]: Leaving directory '/home/fred/gnash-trunk-git/src/gnash/gui'
Makefile:3582: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/fred/gnash-trunk-git/src/gnash/gui'
Makefile:1736: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/fred/gnash-trunk-git/src/gnash/gui'
Makefile:1143: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/fred/gnash-trunk-git/src/gnash'
Makefile:1050: recipe for target 'all' failed
make: *** [all] Error 2"

Bug appeared when archlinux upgrade xulrunner to version 27.0

Any idea on how to fix this bug ?

Frederic Bezies <fredbezies>
Fri 14 Feb 2014 11:14:49 AM UTC, original submission:
Frederic Bezies <fredbezies>

 

(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 gg0 (Posted a comment)
  • -unavailable- added by fredbezies (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Feb 2014 02:49:40 PM UTCgg0StatusNone=>Invalid
      Assigned toNone=>gg0
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1