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

 
 

bug #41587: Cannot build trunk with xulrunner 27.0

Submitter:  Frederic Bezies <fredbezies>
Submitted:  Fri 14 Feb 2014 11:14:49 AM UTC
   
 
Category:  build Severity:  3 - Normal
Release:  None Status:  Invalid
Privacy:  Public Assigned to:  gg0
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 Feb 2014 02:49:40 PM UTC, comment #3: 
Gabriele Giacone <gg0>
Group Member
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gg0 (Posted a comment)
  • -email is unavailable- added by fredbezies (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-15 gg0 StatusNone Invalid
        Assigned toNone gg0
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code